 |
Doc: IGLib
2.1.0
The IGLib base library for development of numerical, technical and business applications.
|
static bool UserNameNotRetrieved
Whether user name has already been retrieved ans stored.
Definition: UtilSystem.cs:85
override bool Condition()
Returns true if the monitored directory exists, and false if not.
Definition: WaitConditionFile.cs:1491
const string ArgRecursiveDirectoryByLevels1
Specification of a directory for recursive search of input files, sorted by levels,...
Definition: UtilCryptoAux.cs:604
static bool CholeskyDecompose(IMatrix A, ref IMatrix result, double tol=1e-12)
Calculates Cholesky decomposition of a real symmetric square matrix.
Definition: MatrixBase.cs:6586
static IRandomGenerator _global
Definition: Random.cs:124
override double NormForbenius
Get Forbenius (or Euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2DClass.cs:538
double _a0
Definition: FunctionRealInterpolation.cs:987
VectorDtoBase ToleranceMax
Tolerance on maximal error of output over training points. Training will continue until error becomes...
Definition: SerializationDtoNeuralApproximator.cs:107
Registry of vector factories where factory for any type of vector can be registered.
Definition: VectorFactoryRegistry.cs:34
int Count
Gets the current number of objects.
Definition: UtilObjectStore.cs:80
static Matrix Random(int d1, int d2)
Generates a d1*d2 matrix with uniformly distributed random elements.
Definition: Matrix.cs:507
static void SetRandom(int length, int lowerBound, int upperBound, ref IndexList indices)
Creates a prescribed number of unique random indices in the specified range.
Definition: IndexList.cs:171
ExampleMathClass()
Definition: UtilMath.cs:29
string _message
Definition: LoggerMsg.cs:101
LogRecord(ReportType messagetype, string location, string message, Exception ex)
Definition: LoggerMsg.cs:24
CommandStackFrame GlobalFrame
Global frame where global variables are stored.
Definition: CommandlineApplicationInterpreterInterface.cs:43
A generic field of values of any type. Values must be allocated at once.
Definition: 00develop.cs:18
int _maxEpochs
Definition: NeuralTrainingParameters.cs:150
Key generation algorithm that uses a Rfc2898DeriveBytes object (PBKDF2 algorithm).
Definition: UtilCryptoAux.cs:950
Vector3d GetCopyThis()
Creates and returns a copy of the current 3D vector, which is of the same type as the current vector.
Definition: Vector3Dclass.cs:70
void SetGradient(int which, IVector value)
Sets the specified function gradient. If CopyReferences=true (false by default) then only the referen...
virtual double Value(IVector parameters, int which)
Calculates and returns the particular component of the vector function value.
Definition: FunctionVectorBaseGeneral.cs:212
virtual List< double > GetNodeList()
Returns a list containing 1D node positions. A copy of list of node positions is always created and r...
Definition: GridGenerator1dBase.cs:960
string _evaluationCommand
Definition: ExpressionEvaluatorCompiled.cs:339
SerializationDtoBase()
Definition: SerializationDtoBase.cs:466
XmlNode NextNode(string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2176
bool _TextWriterFlushing
Definition: ReporterMsg.cs:3972
bool IsPenaltyValueDefined(int which)
Returns true if the penalty function value can be calculated for the specified constraint,...
Definition: AnalysisResults.cs:2630
static bool IsPathResxResource(string resourcePath)
Returns a flag indicating whether the specified resource path represents a resource included through ...
Definition: UtilSystem.cs:3637
Base class for graphic line primitive.
Definition: GraphicalObjectsBase.cs:332
const string NeuralTrainingResultsFilename
Name of the file where sets of training complete results and limits are stored.
Definition: NeuralFileConst.cs:66
virtual void AppendCommandArgument(int value)
Appends an integer argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:569
static ObjectRegister< ExpressionEvaluatorJs > _register
Static object that providees object register and generates IDs for this class:
Definition: ExpressionEvaluatorJs.cs:458
int Dimension
Gets dimension of the bounding box space.
Definition: BoundingBox.cs:457
bool IsKeyOptimizationIndices(string str)
Whether the specified string is a keyword introducing variable optimization indices.
Definition: SampledDataCsv.cs:897
static string _defaultMsgTestSquare
Definition: IpcStreamClientServerBase.cs:491
Base class for named pipe servers and clients, contains common stuff for both.
Definition: IpcStreamClientServerBase2.cs:19
void GetOutputRelativeCoordinates(IVector coord, ref IVector relativeCoortinates)
Converts the specified OUTPUT coordinates to relative coordinates where compponents run from 0 to 1 i...
Definition: DistanceComparer.cs:455
int[] _numHiddenNeurons
Definition: NeuralTrainingParameters.cs:399
virtual TVectorField CreateVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh2dGeneric.cs:456
string[] CommandArguments
Arguments to the command.
Definition: CommandlineApplicationInterpreterBase.cs:162
List< char > _openBrackets
Definition: StringParser.cs:132
ParallelJobCallback _onFinished
Definition: ParallelJobContainerBase.cs:342
Matrix()
Creates a new matrix with dimensions 0.
Definition: Matrix.cs:32
int _referencedVariableStackLevel
Definition: CommandlineApplicationInterpreterBase.cs:535
virtual string VarNameConstraintsMom
Definition: InterfaceInv.cs:141
StructuredSurfaceMesh3D GenerateFrenet(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double hrel=1e-3, bool restrictToInterval=false)
Generates a tubular mesh from the specified parametric curve using the Frenet frame and numerically c...
Definition: TubularMeshGenerator.cs:178
bool StopTrainingCriteriaMet()
Returns true if the stopping criteria for training is met, with respect to current settings,...
virtual void SetParametersString(string parametersString)
Sets function parameter names through a string containing delimided parameters names.
Definition: ScalarFunctionScriptController.cs:168
PasswordAlgorithmRfc2898()
Definition: UtilCryptoAux.cs:887
INeuralApproximator TrainedNetwork
Traint artificial neural network.
Definition: INeuralModel.cs:21
double[][] Components
Matrix elements.
Definition: MatrixDto.cs:120
static bool operator==(xdouble a, xdouble b)
Definition: UtilMath.cs:1444
void CreateTrainingTable(List< NeuralTrainingParameters > trainingParameters)
Creates a table of training parameters.
Definition: NeuralTrainingParameters.cs:2057
static void GetAppSetting(string key, ref bool value, out bool assigned)
Reads a boolean value from the application configuration file and assigns it to the specified variabl...
Definition: ReporterMsg.cs:1905
virtual SampledDataElementDto[] Elements
Element of the sempled set (input/output pairs).
Definition: SampledDataDto.cs:137
static double IntegralSimpson(double[] tabx, double[] tabf)
Returns numerical integral of a function calculated by the Simpson's rule. Function is specified as a...
Definition: FunctionNumeric.cs:54
string[] GetDefaultIndependentVariableNames(int numParam)
Returns a table of default names of variables (within functions in the loadable scripts) that hold th...
Definition: ScalarFunctionScriptLoader.cs:416
virtual bool KeepBestGuess
Whether best results are kept or not.
Definition: Optimizer.cs:348
vec2 NormalizedInfinity()
Returns normalized this 2D vector in infinity norm.
Definition: Matrix2D.cs:160
virtual bool IsWithinArgumentBlock
The number of current argument.
Definition: InterfaceInterpreterBase.cs:268
double Tolerance
Gets or sets the main tolerance (its exact meaning depends on the algorithm in use).
Definition: OptimizationInputData.cs:58
List< IVector > _calculated
Definition: NeuralApproximatorBase.cs:2267
bool AddTextWriter(TextWriter writer)
Sets the text writer to which reporting is also performed.
Definition: ReporterMsg.cs:4180
int Read(string str, int startpos, bool skipspaces)
Reads in the value from a string, starting at a specified position. Returns the position of the first...
Definition: Scalar.cs:714
static JsonSerializerOptions DefaultOptions
Gets a singleton, lazy evaluated JsonSerializerOptions, read-only and thread safe object standard for...
Definition: JsonSerializationOptionsFactory.cs:39
bool _valueDefined
Definition: ScalarFunctionScriptBase.cs:98
void CapturedVarCreation_PropertiesShouldBeCorrect()
Definition: CapturedVarTests.cs:275
SerializationTestArrayMember SingleElement
Definition: SerializerBase.cs:646
virtual string RunAsync(CommandThread cmdThread, string[] args)
Runs a command asynchronously where the first argument is command name. Extracts command name and run...
Definition: CommandlineApplicationInterpreter.cs:2421
Parametric surface in 3D. Beside the Surface and (optional) SurfaceDerivative1(double,...
Definition: IParametricSurfaceWithBounds.cs:16
IFunc3d2d VectorFunction
A 3D vector function of two variables that is the base for component 2D scalar functions.
Definition: Function3d2d.cs:493
VectorFunctionScriptDtoBase()
Default constructor, sets IsNull to true.
Definition: VectorFunctionDto.cs:54
static bool Equals(IVector v1, IVector v2)
Returns true if the specified vectors are equal, false if not.
Definition: VectorBase.cs:2216
void Copy(IBoundingBox original, IBoundingBox copy)
Copies state of the specified bounding box to anotherv(target) bounding box.
Definition: BoundingBox.cs:1270
IndexListDto VerificationIndices
Definition: SerializationDtoNeuralApproximator.cs:62
bool CompareByTrainingMaxError
Whether Maximal absolute training errors from convergence tavble are compared.
Definition: NeuralTrainingParameters.cs:2954
virtual int NumObjects
Gets the total number of descendant objects.
Definition: GrObjects.cs:193
Definition: IResizableArrayAccessor.cs:9
List< TWClass > Loggers
Definition: ReporterMsg.cs:4803
void AddCommandFromCode(string commandName, string code, string className, string[] initializationArguments)
Adds a new command whose execution is perfomed by an instance of a class that is dynamically compiled...
Definition: LoadableScriptInterpreter.cs:132
static readonly PhysicalConstant MoonOrbitalPeriod
Moon orbital period, 27.321582 l = 27 l 7 h 43.1 min = 2.36058*10^6 result.
Definition: Constants.cs:1687
int NumBundles
Number of bundles where sorting of convergences stars. The default valeu is 0 which represent normal ...
Definition: NeuralTrainingParameters.cs:2924
volatile int _outputLevel
Output level for objects of this class.
Definition: ParallelJobServerBase.cs:69
static double Min(double a, double b, double c, double d, double e, double f)
Smallest of six numbers.
Definition: UtilMath.cs:938
WeightReciprocalPower(int power)
Definition: FunctionRealWeight.cs:264
ElementType[] _components
Definition: VectorBase.cs:85
Container class that contains a single vector point plus all the data that are necessary for searchin...
Definition: PointCloudConcrete.cs:74
Classes that evaluates penalty terms corresponding to a specific penalty function.
Definition: AnalysisResutlsInt.cs:587
int QuietBlockEntryLevel
Indicates the quiet entry/exit level of the current kind of block when commands are not executed.
Definition: CommandlineApplicationInterpreterBase.cs:1130
object Convert(object source)
Converts the value (object) source of type SourceType to a value (object) of type TargetType and ret...
static void DecryptPlain(byte[] data, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the specified byte array by a symmetric algorithm and writes decrypted data to the specified...
Definition: UtilCrypto.cs:2410
KleinBottle2(double a)
Definition: Function3d2d.cs:1604
static int TestExecutionTime(VoidDelegate work, out double averageExecutionTime, out double averageCpuTime, double targetedTime=0.1, int outpuLevel=0, int numInitialExecutions=1)
Definition: UtilTime.cs:477
override VectorFunctionResults CreateObject()
Creates and returns a new vector function evaluation request object.
Definition: VectorFunctionResultsDto.cs:60
override int Next(int maxValue)
Returns a nonnegative random number LESS THAN the specified maximum.
Definition: Random.cs:260
double[] GetIntervalLengthsTable()
Generates and returns a table of interval lengths between the generated nodes. The returned table is ...
void Delete(int startIndex, int length)
Removes the specified section of the buffer.
virtual void Connect(NamedPipeClientStream pipe, double timeOutSeconds=0)
Connects the specified pype with the server.
Definition: IpcPipes.cs:736
int GetCellIndex(double value)
Retuns index of the cell of the discrete color scale that corresponds to the specified value (in the ...
abstract void Init()
Initializes internal variables. Called at the beginning of all constructors.
static double Max(double a, double b, double c, double d, double e, double f)
Largest of six numbers.
Definition: UtilMath.cs:948
vec3 Cross(vec3 v)
Returns vector product of the current and the specified vector.
Definition: Matrix3D.cs:199
override StreamReader InputStream
Input stream of the server.
Definition: IpcPipes.cs:265
readonly FromStringTypeConverterViaJson fromJson
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:34
virtual string BaseDefinitions
A set of pre-defined definitions that can be used in the evaluated code.
Definition: ExpressionEvaluatorCompiled.cs:122
void SetConstraintsReference(List< double > reference)
Sets the list of constraint function values. Only the list reference is copied.
Interface for artificial neural network -based models that we can operate on.
Definition: INeuralModel.cs:16
static VectorBase operator/(VectorBase a, double b)
Vector subtraction.
Definition: VectorBase.cs:2886
virtual bool CalculatedValue
Indicates whether calculation of function value is/was requested.
Definition: FunctionScalarResults.cs:511
void AddParameters(bool canReplaceParameter, bool isInitializing, params(string Name, ModelParameterType Parameter)[] keysAndParameters)
Definition: ModelParameterSetFixedBase.cs:77
int NumPoints2
Definition: StructuredMesh3D_03.cs:19
Matrix3d GetNewThis(int rowCount, int ColumnCount)
Returns a copy of the current 3D matrix.
Definition: Matrix3DClass.cs:513
delegate string ResponseDelegate(string request)
Provides an answer string to the specified request string.
const string ArgAsymKeyName1
Specification of assymmetric key container name.
Definition: UtilCryptoAux.cs:360
static void SaveMath(this IAnalysisResults anres, string filePath, bool append)
Saves the current analysis results to a file. Extension method for IAnalysisResults.
Definition: AnalysisResults.cs:89
IVector _tolRmsRelative
Auxiliary properties for defining tolerances in a relative way:
Definition: NeuralTrainingParameters.cs:306
static color Scale(color col1, color col2, double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:486
string _keyDiscretizationSteps
Definition: SampledDataCsv.cs:800
static double tan(double a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:1185
override void Report(ReportType messagetype, string location, string message, Exception ex)
Basic reporting method (overloaded). Launches an error report, a warning report or other kind of repo...
Definition: ReporterMsg_Derived.cs:56
string KeyOptimizationIndices
A keyword string that introduces variable optimization indices in the CSV file containing sampled dat...
Definition: SampledDataCsv.cs:882
override string ToString()
Returns string representation of this sorted list.
Definition: SortedUniqueItemList.cs:349
SortedUniqueItemList(params Type[] items)
Creates a sorted list of items containing all items from the specified table.
Definition: SortedUniqueItemList.cs:34
List< int > _numParamsBeforeFrame
Definition: CommandlineApplicationInterpreterBase.cs:1988
virtual void InitTestObject(int d1, int d2, int dim3d1, int dim3d2, int dim3d3)
Initializes the test object.
Definition: SerializerBase.cs:894
IndexList(IList< int > items)
Creates an index table containing all indices from the specified list.
Definition: IndexList.cs:40
SortedList< string, IpcStreamClientBase > _pipeClients
Definition: CommandlineApplicationInterpreter.cs:5356
Interface with simulator of G. Kosec for convection problems in a cave with 3 obstacles.
Definition: SimKosecFileManager.cs:304
int _outputLevel
Default level of output for some of the interpreters' functionality (e.g. asynchronous command execut...
Definition: CommandlineApplicationInterpreterBase.cs:2060
SerializationTestArrayMember[][] JaggedArray2D
Definition: SerializerBase.cs:652
static xdouble sh(xdouble a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:1802
static ColorScale CreateBlueRed(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that ranges from dark blue to red.
Definition: ColorScale.cs:945
virtual double Objective
Value of the objective function.
Definition: AnalysisResults.cs:456
void IncreaseDepth()
Increases indentation level by 1.
static void TestClosestPoints(int numClosestPoints, bool printByComponents, bool printIndividualPointsComp, PointContainerType[] referencePoints, IDistanceComparer< PointContainerType, PointType > comparerInput, List< PointContainerType > trainingPoints)
For each point in the specified array, the training points are sorted according to the distance to th...
Definition: PointCloud.cs:797
TScalarField AddScalarField(string fieldName, string fieldDescription)
Creates a new scalar field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: StructuredMesh3dGeneric.cs:332
static bool TestMultiplyMatMatTransp(double tolerance, bool printReports)
Tests product A*B*C^T.
Definition: MatrixBase.cs:3694
string ToStringLong(string indentation=CollectionExtensions.CollectionExtensions.DefaultIndentationString)
Returns a detailed representation of the current object, including all the properties,...
override void InitializeThis(string[] arguments)
Inializes the current script object.
Definition: LoadableScriptOpt.cs:39
IEnumerable< object > FlattenRectangularArray(Array sourceArray)
Flattens a rectangular array to an IEnumerable of its elements.
Definition: CollectionTypeConverter.cs:507
const string ArgIvBase64Bytes1
Specification of initialization vector as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:496
object Lock
Definition: ILockable.cs:14
T ConvertToType< T >(object value)
Converts the specified value to the specified target type.
double MinX
Gets the lower bound in the first coordinate.
Definition: BoundingBox.cs:1872
const string ArgTime1
Prescribed or expected time of exection (e.g. in time measurements).
Definition: UtilCryptoAux.cs:322
double Momentum
Gets or sets momentum.
Definition: NeuralApproximatorBase.cs:870
bool _hasDeviate
Definition: RandomGaussian.cs:52
virtual string CmdTestFromTestModules(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for test command, which just prints its name and arguments. This is a replacement f...
Definition: CommandlineApplicationInterpreter.cs:5170
TIndexField ActiveIndexField
Gets active index field. Has protected setter.
Definition: UnstructuredMesh1dGeneric.cs:85
List< SampledDataElement > GetSortedElemetnList(IComparer< SampledDataElement > comparer)
Creates and returns a list of all sampled data elemets of the current object that are sorted accordin...
Definition: SampledData.cs:142
bool _appDataStructuresCommandsInitialized
Definition: ScriptAppBase.cs:5144
SortedList< string, ILoadableScript > _commands
Definition: LoadableScriptInterpreter.cs:80
virtual void ReCalculateBounds(bool recursive)
Recalculates the bounding box of the current graphic set.
Definition: GraphicalObjectsBase.cs:87
void Init(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate)
Initializes the error reporter by the specified auxiliary object and delegates used to perform error ...
Definition: ReporterMsg.cs:1414
override int GetHashCode()
void ReadElementNames()
Reads names of input and output data elements from the CSV, from the current position on (inclusively...
Definition: SampledDataCsv.cs:2661
bool _used
Definition: UtilTime.cs:121
virtual void SpecificTypeConverter_OneDirectionConversion_ImplicitlyfromderivedToDerivedObjectToBase_IsCorrect()
Definition: ReflectionTypeConverterTests.cs:60
static Assembly GetAssemblyByNameOrFileName(string assemblyName, bool caseSensitive=false, bool loadIfNecessary=true, bool byName=true, bool byFileName=true)
Finnds and returns assembly specified by name.
Definition: UtilSystem.cs:2218
TempFileStream()
Definition: UtilSystem.cs:36
double _funcArgLast
Definition: GridGenerator1dFunc.cs:92
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
Definition: MatrixDecompositions.cs:915
void RecalculateInputDataBounds()
Recalculates input data bounds by taking into account the training data set of the current object.
vec3 columny
Gets or sets the y-column of the 3D matrix.
Definition: Matrix3D.cs:557
static ThreadPriority _threadPriority
Definition: UtilSystem.cs:2001
override double f3(double x, double y)
Definition: Function3d2d.cs:877
bool IsAbsoluteDifferentiable
True if absolute value is differentiable, false otherwise. Differentiability of absolute value at 0 i...
Definition: FunctionRealPenalty.cs:25
object _mainLock
Definition: OptFileManager.cs:43
static void TestSpeed(long numiterations)
Compares calculation times of three ways of evaluations of exponential function: directly by Math....
Definition: FunctionReal.cs:1119
bool CompareMaxResidual
Whether maximal constraint residual is compared.
Definition: AnalysisComparer.cs:127
double _testDelayInSeconds
Definition: ParallelJobContainerBase.cs:275
ReporterConsole(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate, ReserveReportErrorDelegate reservereportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg_Derived.cs:250
string AsyncWait(int callId)
Waits for the specified asynchronous command (specified by command ID) to complete.
Definition: CommandlineApplicationInterpreter.cs:2568
bool _doSave
Definition: CommandlineApplicationInterpreterBase.cs:1263
int _otputLevel
Definition: IpcStreamClientServerBase.cs:90
const string CryptoCleanFiles
Definition: ScriptAppBase.cs:1610
XmlDocument NewXmlDocument(string RootName)
Definition: XmlUtilities.cs:2298
static int GetIndex(List< int > tableDimensions, params int[] indices)
Returns the index of the element in an onedimensional list that corresponds to the specified indices ...
Definition: Utils.cs:508
IEnumerable< CharType > SubString(int startIndex, int length)
Returns a substring of Parsable starting at startIndex and of length length
const string ArgHashValue1
Specification of hash value follows (only with -c, for a single input file).
Definition: UtilCryptoAux.cs:551
abstract double Integral(double x)
Returns integral from 0 to x of the function. Throws an exception if the integral is not defined.
double p
Number of times the knot winds around torus' axis of rotational symmetry.
Definition: TorusKnot3D.cs:41
static void GetAppSetting(string key, ref ReportLevel value, out bool assigned)
Reads an integer value from the application configuration file and assigns it to the specified variab...
Definition: ReporterMsg.cs:1989
LoadableScalarFunctionBase(IAffineTransformation transf)
Constructs a scalar function of vector argument defined by the user defined function and affine trans...
Definition: ScalarFunctionScriptBase.cs:69
int ElementIndex
Input or output element index within the data set (defines which input parameter or which output valu...
Definition: SampledDataCsv.cs:1154
void AddImage(string imageLink, string altText, string captionText, int width, int height, int originalWidth, int originalHeight, bool constrainRatio)
Adds a linked image to the HTML document with specified custom size different than the original size.
Definition: HtmlWriter.cs:769
static bool operator>=(xdouble a, xdouble b)
Definition: UtilMath.cs:1441
IVector _parameters
Definition: FunctionRealParametric.cs:106
static xdouble Cube(xdouble a)
Returns the square of a specified number.
Definition: UtilMath.cs:1814
virtual string CommandFileName
Gets or sets the command file name where interpreter commands will be written.
Definition: InterfaceInterpreterBase.cs:177
Vector3d GetNewThis(int length)
Creates and returns a new vector of the specified dimension in such a way that the type of the return...
Definition: Vector3Dclass.cs:89
double R0Square
Parameter that specifies square of the radius of the circle f(x,y) = 0 when positive,...
Definition: FunctionScalarExamples.cs:1030
abstract string GetSetting(string settingname)
Retrieves the specified setting from the current settings source.
MoebiusStrip(double aa=aaDefault, double ff=ffDefault)
Constructor - Möbius strip with radius aa and numberr of half-twists ff , which define the propertie...
Definition: MoebiusStrip.cs:26
List< string > AppFileHelpStrings
List of help strings corresponding to installed file commands.
Definition: ScriptAppBase.cs:727
static DateTime AnnDllTestLimit
Definition: App.cs:2254
static void Example(string scriptPath)
Example of use of the ScalarFunctionLoader class. Creates a function loader and uses it for dynamic d...
Definition: ScalarFunctionScriptLoader.cs:1098
TypeConverterTestsBase(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: TypeConverterTestsBase.cs:31
static ParallelJobServerGen< InputType, ResultType > CreateServer()
Creates and returns a new job server for the current job container type.
Definition: ParallelJobContainerGen.cs:371
double XX
XX component.
Definition: Matrix2DClass.cs:301
virtual string CmdPrintParallelCommands(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Prints data about commands executed in parallel threads.
Definition: CommandlineApplicationInterpreter.cs:4853
virtual IEnumerable< CharType > SubString(int startIndex, int length)
Returns a substring of Parsable starting at startIndex and of length length
Definition: ParsableBase.cs:35
virtual void SetConstraintGradients(List< IVector > values)
Sets constraint function gradients. If CopyReferences=true (false by default) then only the list refe...
Definition: AnalysisResults.cs:602
TTensorField _activeTensorField
Definition: UnstructuredMesh3dGeneric.cs:539
ReportLevel TracingLevel
Gets or sets trace level (for external trace systems).
Definition: ReporterMsg.cs:903
static void Swap(ref string a, ref string b)
Swaps values of the two specified variables of type string.
Definition: UtilMath.cs:124
object GetParameterFromTop(int whichPlaceFromTop=0)
Returns the stored parameter with the specified index from the top.
Definition: CommandlineApplicationInterpreterBase.cs:1978
delegate double DlgFunctionParametric(double x, Vector p)
Reprents parametric family of real functions of real variable.
double AlphaMax
Maximum limit for alpha value.
Definition: SerializationDtoNeural.cs:746
IVector ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: NeuralTrainingParameters.cs:1538
A curve wrapped around the paraboloid, which becomes a rosewhen projected to the XY plane.
Definition: ParabolicBasinCurve3D.cs:12
static xdouble operator*(xdouble a, xdouble b)
Definition: UtilMath.cs:1411
static bool operator!=(ImplicitlyConvertibleFromDerived lhs, ImplicitlyConvertibleFromDerived rhs)
string GetHashFunctionString()
Returns a string valued hash function of the current vector object.
virtual RealFunctionBase IntegralFunction
Returns a function object that represents a definite integral of this function from 0 to 1....
Definition: FunctionReal.cs:213
string _userDefinitions
Definition: ExpressionEvaluatorCompiled.cs:116
XmlNode NextOrCurrentElement(string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2259
static string CsvGetValue(string[][] values, int rowIndex, int columnIndex)
Returns the value of the specified cell of a 2D jagged array of string cell values (arranged in rows)...
Definition: UtilCsv.cs:65
void UpdateDataColumnDefinitions()
Updates index lists for data column definitions for inputs (InputColumnDefinitions) and outputs (Outp...
Definition: SampledDataCsv.cs:1301
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: RealFunctionScriptLoader.cs:41
static byte[] DecryptAsymShort(byte[] originalBytes, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None, AsymmetricAlgorithm algorithm=null, string containerName=null, string xmlString=null, CspProviderFlags flags=CspProviderFlags.NoFlags, bool useLargestKey=false)
Definition: UtilCrypto.cs:5136
static void MultiplyTranspTranspPlain(IMatrix a, IMatrix b, IMatrix result)
R=A^T*B^T. Multiplies transposed matrix by another transposed matrix, and stores the result in the sp...
Definition: MatrixBase.cs:2982
override ICommandLineApplicationInterpreter GetInterpreterBase()
Returns the commans-line interpreter to which the current command thread belongs.
Definition: CommandlineApplicationInterpreterBase.cs:1627
virtual double Parameter
Gets or sets the (only) parameter that defines the current function out of parametric family of funct...
Definition: FunctionScalarParametric.cs:211
double Distance(SampledDataElement el)
Returns distance in the output values space between the specified data element's output parameters ve...
Definition: SampledData.cs:1031
static void SaveRequestJson(AnalysisResults anResulsts, string filePath)
Saves (serializes) the specified analysis request to the specified JSON file. File is owerwritten if ...
Definition: AnalysisResults.cs:1905
static ColorRGBA GetColorFromT(double t, double tMin, double tMax)
Returns RGBA color for a normalized parameter t. Gradient: blue → green → red.
Definition: ExampesGraphics3D.cs:74
virtual void Transpose()
Transposes the current matrix. WARNING: this operation can only be done on square matrices!
Definition: MatrixBase.cs:696
override bool InverseDefined
Definition: FunctionRealWeight.cs:979
Interface from which all reporters inherit.
Definition: ReporterMsg.cs:759
static void KillFirstProcess(string processName, bool caseSensitive)
Kills the first running process found that has the specified process name.
Definition: UtilSystem.cs:807
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: PointLink.cs:71
IdProxy _idPproxy
Proxy object that implements the IIdentifiable interface for this object.
Definition: InterpreterCommandLine.cs:207
static IRandomGenerator CreateThreadSafe()
Creates and returns a new random generator initialized with a time dependent seed....
Definition: Random.cs:165
double DNum
Definition: SerializerBase.cs:643
static void SymmetricPartPlain(IMatrix a, IMatrix result)
Stores symmetric part of a square matrix operand in another matrix. Symmetrization is performed by av...
Definition: MatrixBase.cs:2068
static Vector _parAux
Auxiliary vector whose only function is to enable calling base constructors with parameters specified...
Definition: FunctionRealParametric.cs:135
virtual string CmdLoadScript(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Dynamically loads (compiles and instantiates) a loadable script class contained ...
Definition: CommandlineApplicationInterpreter.cs:6043
void Negate()
Changes the sign of the current vector.
Definition: VectorBase.cs:858
string _msgOptInputReadyFilename
Definition: OptFileManager.cs:154
double _tolMaxRelativeScalar
Definition: NeuralApproximatorBase.cs:1105
~ReporterBase()
Definition: ReporterMsg.cs:1473
override double f1(double u, double v)
Definition: Function3d2d.cs:1731
LinearBasis(int dimension)
Constructs a vector function containing linear basis for the specified dimension. Composed of n+1 fun...
Definition: ApproxBasis.cs:25
readonly char _selectionCharacter
Definition: SkipWhileNotInStringStrategy.cs:5
virtual string Name
Scalar function name.
Definition: VectorFunctionDto.cs:91
Contains a number of important constants used in Html.
Definition: HtmlWriter.cs:15
static string DefaultReportStringConsole(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage)
Auxiliary method that composes the complete message, including decoration, for reports launched in co...
Definition: ReporterMsg.cs:5902
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: LoadableScriptBase.cs:192
static void Copy(IVector a, Vector_MathNetNumerics result)
Copies components of a vector to another vector. WARNING: dimensions of the copied vector and result ...
Definition: VectorBase.cs:1265
override RealFunctionBase DerivativeFunction
Returns a function that represents a derivative of the current function.
Definition: FunctionReal.cs:725
virtual string RunAppAssembly(string[] args)
Runs a file assembly related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:4424
void ReserveReportError(ReportType messagetype, string location, string message, Exception ex, Exception ex1)
Used to report internal errors of the reporter. Designed to be bullet proof in order to ensure that i...
Definition: ReporterMsg.cs:3096
virtual void CopyFrom(Type obj)
Copies data to the current DTO from an object of type Type.
Definition: SerializationDtoBase.cs:567
static double Mean(IVector sample)
Returns mean value of the specified sample.
Definition: UtilMath.cs:69
int IntB
Gets or sets the blue RGB component as integer in the range 0 to 255. Getter clips the returned value...
Definition: Color.cs:164
static readonly PhysicalConstant GravitationalConstant
Gravitational constant (set by definition of meter).
Definition: Constants.cs:385
VectorDtoBase OutputRange
Range from actual outputs.
Definition: SerializationDtoNeural.cs:79
bool TryStore(T obj)
Stores the specified object if the object is eligible for storage in this store and if The maximal nu...
String ErrorString
Error string indicating what went wrong.
Definition: AnalysisResutlsInt.cs:377
static void OrthogonalProjectionPlain(IVector original, IVector onWhich, double onWhichProductSelf, IVector result, double tolerance=0.0)
Calculates orthogonal projection of the original vector on the specified vector, and stores the proje...
Definition: VectorBase.cs:1484
const string DefaultModuleName
Definition: App.cs:833
static Scalar PositiveInfinity()
Creates a scalar that represents positive infinity.
Definition: Scalar.cs:76
virtual void SpecificTypeConverter_RoundTripConversion_DoubleToStringObjectToString_IsCorrect()
Definition: BasicTypeConverterTests.cs:171
const string MachineId
Machine's ID
Definition: UtilSpeedTesting.cs:151
double OutputBoundsSafetyFactor
Definition: SerializationDtoNeuralApproximator.cs:124
LissajousKnot3D(int n1=3, int n2=4, int n3=7, double fi1=0.1, double fi2=0.7)
Constructor, initializes additional parameters that define the specific knot out of a family and phas...
Definition: LissajousKnot3D.cs:31
override void HessianPlain(IVector x, IMatrix hessian)
Returns the second derivative (Hessian) of this function at the specified arameter.
Definition: FunctionScalarBase.cs:127
double Determinant
Gets matrix determinant.
Definition: Matrix3DClass.cs:650
override double EndParameter
Definition: CylindricalBilliardKnot.cs:123
static string ToHexString(byte[] bytes, bool upperCase, string separator=null)
Returns a hexadecimal string representation of the specified byte array.
Definition: Utils.cs:2488
static xdouble cube(xdouble a)
Returns the square of a specified number.
Definition: UtilMath.cs:1818
bool _isNull
Definition: SerializationDtoBase.cs:471
Vector store.
Definition: VectorBase.cs:3197
ReportMessageDelegate ReportMessageDlgTextLogger
Delegate that assembles the message string for reporting via text writer.
Definition: ReporterMsg.cs:5499
const string ConstInteractive
Selecting constant for interactive run.
Definition: ApplicationCommandLineBase.cs:39
void Append(List< char > chList)
Inserts the specified list of characters at the end of the buffer.
Definition: StringParserBuffer.cs:188
PointContainer(PointType point)
Definition: PointContainer.cs:124
override bool DerivativeDefined
Definition: FunctionRealPenalty.cs:264
ComponentType[,] ToArray()
Creates and returns a rectangular 2D array that contains a component-wise copy of the matrix.
TScalarField AddScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current 1D structur...
Definition: UnstructuredMesh1dGeneric.cs:319
Contains Parameters that define neural network architecture limits and trainig parameter limits.
Definition: NeuralTrainingParameters.cs:1217
const double TestSpeedLongReferenceTime
Reference execution time for speed test for numerical operations.
Definition: CommandlineApplicationInterpreter.cs:6532
IVector InitialGuess
Gets or sets initial guess used in optimization.
Definition: OptimizationInputData.cs:52
static new void TestStaticMethodSpecific()
A test method, just prints some output.
Definition: Matrix.cs:1293
const string CommentLineString
Comment introduction string (for 1 line comments).
Definition: SimKosecConst.cs:33
bool _nameCorrection
Definition: Loader.cs:629
override NeuralApproximatorAforgeFake CreateObject()
Definition: SerializationDtoNeuralApproximator.cs:585
virtual string AppNumerics(string[] arguments)
Runs one of the numerics - related embedded applications.
Definition: ScriptAppBase.cs:689
double GetConstraint(int which)
Returns the specified constraint function value.
static void CopyDirectory(string sourceDirectoryPath, string targetDirectoryPath)
Recursively copies contents of the source directory to the target directory.
Definition: UtilSystem.cs:5153
Parametric equation of a horizontal toroid surface in form of 3D vector function of 2 variables.
Definition: Function3d2d.cs:1353
string ActiveFieldName
Gets or sets name of the active field.
Definition: FieldCollectionGeneric.cs:184
int _numHiddenNeuronsSecondMin
Definition: NeuralTrainingParameters.cs:1743
string ConvertToString(object source, string format)
Definition: Vartypes.cs:70
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:1292
OutputElementDefinitionDto()
Definition: SampledDataDto.cs:352
double TrainingTime
Time spent for training.
Definition: NeuralTrainingParameters.cs:572
virtual List< IVector > Gradients
Function gradients. If CopyReferences=true (false by default) then only the list reference is copied ...
Definition: FunctonVectorResults.cs:333
override double f2(double u, double v)
Definition: Function3d2d.cs:1182
void CalculateGrid()
Performs grid generation according to current settings. The generated grid is stored in internal stru...
IVector _outputScalingLengths
Definition: NeuralTrainingParameters.cs:2876
void RestoreData(bool resetPosition)
Restores sampled data from the data table, starting from the current position, i.e....
Definition: SampledDataCsv.cs:3166
bool Equals(ResolutionIdentity id)
Definition: UtilSystem.cs:2712
void Inverse(ref IMatrix inv)
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the s...
Definition: MatrixDecompositions.cs:953
static readonly PhysicalConstant P
peta- (P), SI prefix for 10^15.
Definition: Constants.cs:686
UnstructuredMesh3d()
Constructs a new empty 3D (unconnected) unstructured grid (no elements contained) with no name and no...
Definition: UnstructuredMesh3d.cs:26
string _languageName
Definition: Loader.cs:631
bool _gradientDefined
Definition: Function3d.cs:150
override void SendDummyRequest()
Sends a dummy request in order for the serving function to stop blocking
Definition: IpcPipes.cs:334
void IncrementNumAbortedJobs()
Increments by one the number of aborted jobs (of those handled by the current dispatcher) up to this ...
Definition: ParallerJobDispatcherBase.cs:1211
virtual List< IVector > ConstraintGradients
Constraint function gradients. If CopyReferences=true (false by default) then only the list reference...
Definition: AnalysisResults.cs:575
Classes that contain unique application-level ID. This helps identify objects passed around in tests.
Definition: IGlooballyIdentifiable.cs:11
static ParallelJobServerGen< InputType, ResultType > CreateServer(int sleeptimeMs)
Creates and returns a new job server for the current job container type.
Definition: ParallelJobContainerGen.cs:378
virtual TTensorField CreateTensorField(string fieldName, string fieldDescription)
Creates and returns a new tensor field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh1dGeneric.cs:613
void Init(double value, double relativeerror, SI[] numerator, SI[] denominator, string symbol, string name, string description)
Auxiliary function for constructors.
Definition: Constants.cs:79
virtual bool IsObjectPrepared
Whether an instance of the object is prepared to be used.
Definition: Loader.cs:976
TrefoilKnot3D_MathCurve3(double epsilon)
Constructor. Initializes additional parrameters.
Definition: TrefoilKnot3D_MathCurve3.cs:25
static void PrepareSymmetricAllgorithmBasic(byte[] passwordBytes, byte[] passwordSalt, ref byte[] key, ref byte[] IV, SymmetricAlgorithmType algorithmType, ref SymmetricAlgorithm algorithm, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Prepares the symmetric algorithm, initialization vector, and key before encryption or decryption take...
Definition: UtilCrypto.cs:1970
void Example01_ExportTrefoilKnot3DTube(int numLongitudinal, int numTransverse, double radius)
Creeates a tubular surface mesh from a trefoil knot parameterization, TrefoilKnot3D,...
Definition: TubularSurfaceExportExamplesTests.cs:128
virtual void WarnAboutPlainEncryption()
Writes a notification informing that a cryptographic task has been delegated to the CryptoParameters ...
Definition: UilCryptoAux1.cs:71
void SetServersOutputLevel(int outputLevel)
Sets output level on all servers assigned to the current parallel job dispatcher.
Definition: ParallerJobDispatcherBase.cs:180
string _integralDefinitionString
Definition: RealFunctionScriptLoader.cs:173
static DataMapperIdentity _aux
Definition: NeuralFileManager.cs:876
void IEnumerableElementTypeIsRetrievedCorrectlyForGenericCollections()
Definition: IGLibCoreReflectionTests.cs:59
static void GenerateCoordinates(StructuredField3d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates coordinates of unstructured grid based on a 3D regular grid with grid directions parallel t...
Definition: StructuredField3dGeneric.cs:416
static readonly PhysicalConstant deg2
Square degree, non-SI unit of solid angle, deg2 = (Ï€/180) sr.
Definition: Constants.cs:1130
string ValueTypeName
Definition: CapturedVar.cs:132
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function's derivative.
Definition: ApproxBasis.cs:448
List< FrameType > _stackFrames
Definition: CommandlineApplicationInterpreterBase.cs:1658
string _name
Definition: VectorFunctionScriptController.cs:59
Counter(Counter v)
Definition: Scalar.cs:408
virtual void MapFromNeuralInput(IVector values, ref IVector mappedValues)
Inverse maps (scales and shifts) vector of neural input values back to the vector of actual inputs.
Definition: NeuralApproximatorBase.cs:1879
bool UseTextWriter
Specifies whether or not TextWriter(s) are used by the Reporter to log messages.
Definition: ReporterMsg.cs:169
static string AsymmetricAlgorithmTypeToString(AsymmetricAlgorithmType algorithmType)
Returns standard string representation of the specified asymmetric encryption algorithm type.
Definition: UtilCrypto.cs:3818
bool _calcValue
Definition: FunctionScalarResults.cs:77
static xdouble floor(xdouble a)
Returns the largest integer less than or equal to the specified number.
Definition: UtilMath.cs:1702
string GetPositionString(int rowNum, int columnNum)
Returns the string indicating the specified position position in the form (row, column),...
Definition: SampledDataCsv.cs:1122
double f(double x)
Method in which comfortable mathematic functions form the base class M are used.
Definition: UtilMath.cs:1534
bool TransformX
Whether or not reference function is stretched/shifted in x direction.
Definition: FunctionReal.cs:826
virtual bool ExpandEnvironmentVariables
Definition: SettingsRreader.cs:45
const bool InitialIsValueDefined
Default initial value of the property IModelParameter.IsValueDefined, such that default initializatio...
Definition: ModelParameter.cs:114
override void CloseOutput()
Closes the outut stream.
Definition: ClientServerStreamBase2_Copy.cs:503
void GenerateCoordinates(int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Generates coordinates of an (unconnected) unstructured grid of points based on coordinates of a struc...
Definition: UnstructuredMesh1d3d.cs:147
Vector3d ColumnX
Gets or sets the x-column of the 3D matrix.
Definition: Matrix3DClass.cs:474
IVector OutputLengthScales
Sets the vector of OUTPUT vector's length scales that are used for calculation of distances and relat...
Definition: DistanceComparer.cs:88
List< IVector > ConvergenceErrorsVerificationMaxList
Convergence List of Maximum errors calculated on verification data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:214
static int ReadNumber(ref double number, string str, int startpos)
Reads a number from a string, starting at a specified position and skipping eventual leading spaces....
Definition: StringParser0.cs:150
static void ToByteArray(sbyte val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1399
static readonly PhysicalConstant EarthOrbitExcentricity
Earth orbit excentricity 0.016710219.
Definition: Constants.cs:1532
static void NegatePlain(IVector a, IVector result)
Stores a negative vector of the specified vector to another vector. This is a plain version of the me...
Definition: VectorBase.cs:1307
static string _TypeName
Definition: Vartypes.cs:132
static double min(double a, double b, double c, double d, double e, double f)
Smallest of six numbers.
Definition: UtilMath.cs:223
virtual IModelParameter UpdateTitle(string newTitle)
Updates the title of the current parameter (property Title).
Definition: ModelParameter.cs:242
Additional mathematical utilities. Needs cleanup (instead of methods acting on IVector,...
Definition: UtilMath.cs:62
static void LuSolve(IMatrix luMatrix, int[] perm, IVector b, ref IVector auxVec, ref IVector x)
Solves a system of equations with the specified right-hand sides and the specified LU decomposition o...
Definition: MatrixBase.cs:5402
PenaltyPower(double length, double height, int power)
Creates a new penalty function consisting of sticked together constant zero-valued function and a pow...
Definition: FunctionRealPenalty.cs:141
double MinX
Gets the lower bound in the first coordinate.
Definition: BoundingBox.cs:1724
void SaveNetwork(string filePath)
Saves the state of the neural network to the specified file. If the file already exists,...
bool AreEqual(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:47
override string ToString()
Returns string representation of the 3D vector.
Definition: Vector3Dclass.cs:556
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:1156
static string GetMacAddressFastest()
Returns the MAC address of the network interface card with maximal speed.
Definition: UtilSystem.cs:187
virtual void ServeInCurrentThread()
Enters the serving loop.
Definition: IpcStreamServerBase.cs:323
static PenaltyPower GetPenaltyPower(double barrierLength, double barrierHeght, double zeroEnd, int power)
Creates and returns a new power penalty function consisting of sticked together constant zero-valued ...
Definition: FunctionRealPenalty.cs:108
BoundingBoxBase(IVector coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:335
int _length
Definition: SampledDataDto.cs:114
ComparerOutputDistance(IVector referencePoint, DistanceDelegate distanceFunction)
Constructs a new comparer according to output distance to a reference poiont (type IVector).
Definition: SampledData.cs:915
string _valueDefinitionString
Definition: RealFunctionScriptBase.cs:99
MatrixStore(int rowCount, int columnCount, bool constrainDimensions)
Constructs a new matrix store for matrices with the specified dimensions.
Definition: MatrixBase.cs:7732
override int GetHashCode()
int _numParameters
Definition: AnalysisResults.cs:185
int _learningRateNum
Definition: NeuralTrainingParameters.cs:1324
ApplicationCommandDelegate SingleThreadedApplication
The original single threaded command delegate that we want to install to execute commands.
Definition: CommandlineApplicationInterpreterBase.cs:270
virtual void Copy(IAnalysisResults results)
Copies data from another analysis results.
Definition: AnalysisResults.cs:1269
string _multilineCommand
Definition: ExpressionEvaluatorCompiled.cs:343
static new xdouble zero
Zero (value 0.0).
Definition: UtilMath.cs:1583
string AssemblyName
Definition: UtilSystem.cs:2708
void Zero()
Sets components of the vector to 0.0.
Definition: Matrix3D.cs:419
virtual string CmdPipeClientInfo(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints and returns inormation on the installed named pipe clients. Optional command argument...
Definition: CommandlineApplicationInterpreter.cs:5845
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: ParallelJobContainerBase.cs:59
void CreateNetwork()
Creates the neural network anew. If the network already exists on the current object,...
void SetObjective(double value)
Sets the value of the objective function.
static GridGenerator1d CreateUniform(double from, double to, int numNodes)
Creates and returns a 1D grid generator for uniform grid (equidistant intervals).
Definition: GridGenerator1dBase.cs:173
static void SaveJson(IVector vec, string filePath, bool append)
Saves (serializes) the specified vector to the specified JSON file. If the file already exists,...
Definition: VectorBase.cs:2990
static string CreateRandomPassword(int PasswordLength, string allowedChars=null)
Creates and returns a random password consisting of only allowed characters from the specified string...
Definition: UtilCrypto.cs:261
static RealFunction GetWeightPol7()
Creates and returns a new real polynomial weighting function object based on 7th order polynomial....
Definition: FunctionRealWeight.cs:1027
double[][] Numbers
Definition: SerializerBase.cs:591
virtual void WriteAnalysisInputMath(string filePath, AnalysisResults anpt)
Stores analysis input data to the specified file in the standard format (Mathematica-like,...
Definition: OptFileManager.cs:997
2D structured mesh.
Definition: test_to_delete.cs:15
Class for testing of Comparers for NeuralTrainingParameters.
Definition: NeuralTrainingParameters.cs:3329
virtual void ResolveAsymParameters()
Resolves asymmetric algorithm parameters from the information that has been previously obtained throu...
Definition: UilCryptoAux1.cs:3377
static Matrix Create(double[,] A)
Constructs a matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix.cs:327
double _momentum
Definition: NeuralTrainingParameters.cs:92
List< string > BlockExitCommands
A list of commands that can exit the type of the current code block.
Definition: CommandlineApplicationInterpreterBase.cs:959
static void ArrayAdd(IVector a, double scal, IVector result)
Addition of a scalar to all components of a vector. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1626
static string DefaultReportStringMessageBox(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage)
Auxiliary method that composes the complete message, including decoration, for reports launched in a ...
Definition: ReporterMsg.cs:5862
Data Transfer Object (DTO) for matrixs of type IG.Num.Matrix. Used to store, transfer,...
Definition: MatrixDto.cs:277
virtual string CryptoFunctionConvert_OLD_TO_DELETE(string appName, string[] args)
Executes embedded application - symmetric encryption of files, strings, or byte fields.
Definition: ScriptAppBase.cs:3375
void AllocateConstraintGradient(int which)
Allocates space for the specified constraint function gradient.
static void ExampleList()
Definition: Utils.cs:3062
Base class for scalar functions of 2 variables (base for implementation of IFunc2d interface).
Definition: Function2d.cs:119
string InvOptCommandPath
File path of the optimization command file for program Inverse (Inverse interface)....
Definition: OptFileManager.cs:568
double _tolRmsRelativeScalar
Definition: NeuralApproximatorBase.cs:1006
virtual string AppCustom(string[] arguments)
Runs one of the custom embedded applications.
Definition: ScriptAppBase.cs:245
GraphicObject _parent
Definition: GrObjects.cs:295
ConditionDelegateBase _conditionDelegate
Definition: WaitCondition.cs:217
static void AppendRequestFlagsMath(StringBuilder sb, IAnalysisResults anres)
Definition: AnalysisResults.cs:1601
string GetParametersPlainListString()
Returns a string representation of the list of independent variables, separated by commas but not emb...
Definition: ScalarFunctionScriptLoader.cs:828
bool IsTestMode
Whether the current job data conntainer is in test mode. In this mode, delays specified by internal v...
Definition: ParallelJobContainerBase.cs:221
void GenerateCoordinates(int dimx, double minxRef, double maxxRef)
Generates an (unconnected) unstructured grid of nodes based on a 1D regular grid with grid directions...
Definition: UnstructuredMesh1d3d.cs:123
static void Resize(ref IVector vec, IVector template)
Resizes, if necessary, the specified vector according to the dimension of the specified template vect...
Definition: VectorBase.cs:1119
bool IsInputFormatHex
Whether input is in form of hexadecimal encoded byte array.
Definition: UilCryptoAux1.cs:475
static string GetCommandLine(string CommandName, string[] CommandArguments)
Assembles and returns the commandline string that corresponds to the specified command name and argum...
Definition: UtilString.cs:185
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: SingleQuoteStrategy.cs:5
StructuredField2d(int dim1, int dim2)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:83
void AppendIndents(StringBuilder sb, int numIndent)
Appends to the apecified string builder the specified level of indentation.
Definition: RealFunctionScriptLoader.cs:366
void AddCharacterStrategy(ICharacterStrategy strategy)
Definition: JsonPPStrategyContext.cs:141
static double FourthDerivative7Point(DlgFunctionValue f, double x, double h)
Calculates the fourth order derivative of a function with a 5 point formula. Error is O(h^4).
Definition: FunctionNumeric.cs:316
void ReadElementDefaultValues()
Reads default values of input and output data elements from the CSV, from the current position on (in...
Definition: SampledDataCsv.cs:2822
object Convert(object source, Type targetType)
Definition: FromStringTypeConverterViaJson.cs:33
vec3 AreaSize
Size of the light source (only for Area lights).
Definition: LightingDefinition_05.cs:44
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: ParallelJobServerBase.cs:52
virtual void InitAppProcess()
Initializes commands for process - related utilities (embedded applications).
Definition: ScriptAppBase.cs:5002
bool IsDefined(int rowNumber, int columnNumber)
Returns a flag telling whether the specified element is defined (it exists in the data table) or not.
Definition: StringTable.cs:281
double _minX
Definition: Function3d2d.cs:724
Non-SI units whose use is not encouraged or not allowed
Definition: Constants.cs:1207
string _requestEnd
String (line) that ends a request (only when multiline requests are allowed).
Definition: ClientServerStreamBase2_Copy.cs:99
ScalarFunctionParametricBase(IVector parameters, IAffineTransformation transformation)
Cobnstructor. Creates a new parametric scalar function with the specified parameters and transformati...
Definition: FunctionScalarParametric.cs:299
virtual string LibraryFilename
Definition: Loader.cs:851
Complex(double realNumber)
Creates a complex number from a real number. Real numbers are subset of complex numbers that don't ha...
Definition: Complex.cs:47
static xdouble Pow(xdouble a, xdouble b)
Returns a specified number raised to the specified power.
Definition: UtilMath.cs:1766
CodeBlockType BlockType
Type of the code block represented by the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:1203
override void SetDefaultReportLocationDlg()
Sets the error location assembling delegate to the default value. This default delegate does not util...
Definition: ReporterMsg_Derived.cs:314
double _alphaMax
Definition: NeuralTrainingParameters.cs:1373
abstract void Connect(double timeOutSeconds=0)
Connects with the server.
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: SkipWhileNotInStringStrategy.cs:12
static readonly PhysicalConstant EarthSurfaceAreaLand
Earth surface area of land, 148,940,000 km^2.
Definition: Constants.cs:1424
static void TestType< T >(T obj)
Writes the type of the object passed as parameter in two ways: by using tpye parameter of the generic...
Definition: SerializerBase.cs:512
List< PointContainerType > _points
Definition: PointCloud.cs:107
VectorElementEnumerator(ElementType[] elementCollection)
Definition: VectorBase.cs:162
static RandomGaussian _global
Definition: RandomGaussian.cs:33
@ RC2
Specifies the RC2 symmetric encryption algorithm.
static readonly PhysicalConstant SunDensity
Sun averge density, 1408 kg/numrows^3.
Definition: Constants.cs:1731
override IComparable GetSecondStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the second level of comparison from the argument.
Definition: Utils.cs:3300
bool IsStringInput
Flag indicating that input are strings or encoded byte arrays, rather than files.
Definition: UilCryptoAux1.cs:284
int NumVersionDigits
Number of digits that are output in version strings.
Definition: App.cs:1248
int[] NumHiddenNeuronsSecondValues
Values for number of hidden neurons in the second hidden layer.
Definition: SerializationDtoNeural.cs:845
string[] _initializationArguments
Definition: LoadableScriptBase.cs:227
bool IsImmutable
Whether the current object is immutable or not.
Definition: SampledData.cs:926
double Determinant
Returns the determinant.
Definition: MatrixDecompositions.cs:446
int ColumnIndex
Index of the data colum.
Definition: SampledDataCsv.cs:1137
override double f2(double u, double v)
Definition: Function3d2d.cs:1367
override bool ValueDefined
Definition: FunctionRealWeight.cs:91
static bool DefaultIsMultilineRequest
Default pipe name.
Definition: IpcStreamClientServerBase.cs:739
List< IVector > GetGradients()
Returns a list of function gradients.
string _functionsSeparator
Definition: ScalarFunctionScriptController.cs:572
double AlphaMin
Minimum limit for alpha value.
Definition: SerializationDtoNeural.cs:744
virtual double GetSumPenaltyTerms(IPenaltyEvaluator evaluator)
Returns sum of the penalty terms corresponding to all constraint, calculated by the specified penalty...
Definition: AnalysisResults.cs:1557
virtual int OriginalElementIndex
Specifies the original index of the element described by the mapped definition, within the data vexto...
Definition: NeuralMapData.cs:344
IVector ErrorsVerificationMeanAbs
Maximal errors calculated on training data.
Definition: NeuralTrainingParameters.cs:534
virtual string AssemblyFunctionResources(string appName, string[] args)
Executes embedded application - writing to the console information about the specified assembly's res...
Definition: ScriptAppBase.cs:4034
void SetFunctionOutputReady()
Sets the falg that indicates that the reduced approximation output data is ready.
Definition: NeuralFileManager.cs:1110
override void GetBytesInternal(int numBytes, ref byte[] outputBytes)
Returns the next generated key of the specified length.
Definition: UtilCryptoAux.cs:1000
PasswordAlgorithmNone()
Definition: UtilCryptoAux.cs:1016
static string XmlToString(string xmlString, string indentCahrs=" ", string newlineChars=null)
Returns a reformatted XML string, eventually in a more human readable form.
Definition: Utils.cs:3020
static int ReadInteger(ref int number, string str, int startpos, bool skipspaces)
Reads an integer from a string, starting at a specified position and skipping eventual leading spaces...
Definition: StringParser0.cs:98
virtual bool IsViolated(int which)
Returns true if the specified constraint is violated according to the current analysis results,...
Definition: AnalysisResults.cs:1353
bool _calculated
Definition: OptimizationResults.cs:107
void NotifyServerAboutJob()
Definition: ParallelJobServerBase.cs:484
override string ToString()
Returns a string representation of the current job dispatcher, which contains relevent data about the...
Definition: ParallelJobContainerBase.cs:509
void Add(SampledDataSet addedSet)
Adds elements of another sampled data ser to the current sampled data. Only references are copied.
Definition: SampledData.cs:297
string _description
Definition: Constants.cs:111
string[] VariableValueStrings
Gets names of all variables that are defined on the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:1331
void ResetMax(int componentIndex)
Resets the specified maximal coordinate value to BoundingBoxBase.UndefinedMax.
void Log(ReportType messagetype, string location, string message, Exception ex)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:611
virtual IRealFunctionPenalty CreatePenaltyFunction(double barrierLength, double barrierHeight)
Creates a new penalty function with the specified characteristic length and height....
Definition: AnalysisResults.cs:2415
virtual string CryptoFunctionAddCertificate(string appName, string[] args)
Executes embedded application - adding the specified certificate to the specified certificate store.
Definition: ScriptAppBase.cs:1538
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:711
SI[] _unitsbelow
Definition: Constants.cs:110
virtual string NewUserDefinitions
New user definitions that are added temporarily for testing.
Definition: ExpressionEvaluatorCompiled.cs:145
virtual void ReportWarning(string errorString)
Used in the current class to launch a warning message.
Definition: UilCryptoAux1.cs:45
XmlNode Current
The current node on which all queries are performed.
Definition: XmlUtilities.cs:1247
const string KeyTextLoggerIndentInitial
Definition: ReporterMsg.cs:2333
Definition: OptimizationResults.cs:185
static double Cos(double a)
Returns the cosine of the specified angle.
Definition: UtilMath.cs:1177
IVector GetGradient()
Returns the function gradient.
static void LoadJson(string filePath, ref NeuralTrainingTable trainingResultsRestored)
Restores (deserializes) a training results object from the specified file in JSON format.
Definition: NeuralTrainingParameters.cs:2833
string[] _IGHomeEnvList
Definition: App.cs:642
string _keyElementTypes
Definition: SampledDataCsv.cs:651
virtual Matrix2d GetNewMatrixThis(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
Definition: Vector2Dclass.cs:122
static void GenerateCoordinates1dPlain(Field< vec3 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Generates coordinates of a 1D unstructured grid of a parametric curve according to functions specifyi...
Definition: FieldGeneric.cs:1154
IVector ToleranceRms
Tolerances on RMS errors of outputs over training points. Training will continue until error becomes ...
Definition: NeuralApproximatorBase.cs:908
NamedPipeServerBase(string pipeName, string requestEnd, string responseEnd, string errorBegin, bool startImmediately=true)
Constructs a new named pipe server with the specified pipe name and other paramters.
Definition: IpcNamedPipes.cs:54
static void GenerateCoordinates1dPlain(Field< vec2 > field, int dimx, double minxRef, double maxxRef)
Generates coordinates of a 1D unstructured grid embedded in 2D space from a regular grid with grid di...
Definition: FieldGeneric.cs:1205
static SampledDataSet CreateExampleQuadratic(int inputLength, int outputLength, int numElements, IBoundingBox region)
Craates and returns a sample data set object where input parameters are calculated randomly in the sp...
Definition: SampledData.cs:2579
byte[] LastGeneratedBytes
Last value of the generated bytes.
Definition: UtilCryptoAux.cs:768
static void LoadJson(string filePath, ref ScalarFunctionScriptController controllerRestored, ref InputOutputDataDefiniton dataDef)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: ScalarFunctionScriptController.cs:990
virtual bool KeepCurrentGuess
Whether current guess is kept or not.
Definition: OptimizationResults.cs:143
string[] TypeNames
Definition: Vartypes.cs:156
const string ArgIvLength
Specification of length of the initialization vector follows.
Definition: UtilCryptoAux.cs:479
ParallelJobDispatcherBase< JobContainerType > Dispatcher
Definition: ParallelJobServerBase.cs:151
Base class for real functions of real variable.
Definition: FunctionReal.cs:161
static bool IsApplicationRunning(string processName, bool caseSensitive)
Returns true if at least one application with the specified process name is running,...
Definition: UtilSystem.cs:1170
static string DefaultKeyTargetValues
Default key for introduction of target values of input and output data elements.
Definition: SampledDataCsv.cs:307
void SetNumValues(int num)
Sets number of values of the vector function to the specified value.
static ILoadableScript GetLoadableScriptC(ILoadableScript scriptObject)
Returns the loadable script object if the script object is actually loadable, or null if it is not me...
Definition: Loader.cs:154
Gaussian random number generator.
Definition: RandomGaussian.cs:17
static Matrix Zeros(int d1, int d2)
Creates a d1*d2 matrix filled with 0.
Definition: Matrix.cs:409
double Determinant
Gets matrix determinant.
Definition: Matrix3D.cs:698
override MatrixBase GetNewBase(int rowCount, int columnCount)
Creates and returns a new 2D matrix with the specified dimensions, and of the same type as the curren...
Definition: Matrix2DClass.cs:449
Bounding box, defines lower and upper bounds on vector quantities such as coordinates of geometrix ob...
Definition: BoundingBox.cs:1413
bool AddTextWriter(TextWriter writer, bool writeintro)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4196
Matrix2d(double[][] A)
Initializes a 2D matrix with elements of a jagged array.
Definition: Matrix2DClass.cs:99
Class that represents a scalar function of 2 variables that is the third component of the specified 3...
Definition: Function3d2d.cs:590
double fi2
Definition: LissajousKnot3D.cs:50
StreamWriter _outputStream
Definition: NamedPipes_Copy.cs:279
virtual void WriteCssPath()
Definition: HtmlWriter.cs:316
const double ConstPI
Double constant Pi, the ratio of circumference and diameter of the circle (the same as Math....
Definition: Complex.cs:398
bool _cmpMaxResidual
Definition: AnalysisComparer.cs:108
bool IsScriptLoaderInitialized
Whether the current script loader is initialized or not.
Definition: Loader.cs:77
static void SaveCsv(IVector vec, string filePath)
Saves the specified vector to a CSV file. It the specified file already exists then it is overwritten...
Definition: VectorBase.cs:3014
IIdentifiable _idProxy
Proxy object that implements the IIdentifiable interface for this object.
Definition: UtilIdRegistration.cs:266
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
Definition: MatrixDecompositions.cs:1568
PortScanner2(string host, int portStart, int portStop, int timeout)
Definition: PortScanner.cs:32
static new void Example()
Example for this class, just runs examples form the LinearBasis class.
Definition: ApproxBasis.cs:679
StructuredSurfaceGridPrimitive(vec3 origin, vec3 basevector1, vec3 basevector2, int num1, int num2)
Construct a structured surface grid primitive in 3 dimensions. Complete is constructed by translation...
Definition: GrObjects.cs:514
static TubularMeshGenerator_06 Global
Global lazy-initialized instance of the mesh generator.
Definition: TubularMeshGenerator_06.cs:19
string TypeString
Readable name of the declared type of the captured entity, the Type, produced by Type....
Definition: ICapturedVar.cs:42
string MsgResponseEnd
Message that ends any multiline response (only when multiline responses are allowed).
Definition: IpcStreamClientServerBase.cs:540
double[] Params2
Definition: StructuredMesh3D_04.cs:21
void Hessian3(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the third component of the current function and returns its component through t...
virtual string UserDefinitions
A set of definitions inserted by users.
Definition: ExpressionEvaluatorCompiled.cs:138
override bool IsConnected()
Returns true if server pipe is connected, .
Definition: IpcPipes.cs:199
static string _SoftwareRoot
Definition: App.cs:632
XmlNode GetNextOrCurrentElement(string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1622
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
IVector GetNew()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
string InvAnCommandFilePath
File path of the analysis command file for program Inverse (Inverse interface). Setter takes only pur...
Definition: OptFileManager.cs:594
virtual string Script_DefaultInitialize(string[] arguments)
Default initialization method for scripts.
Definition: LoadableScriptBase.cs:308
void RestoreDefinition(bool resetPosition)
Restores data definition from the data table.
Definition: SampledDataCsv.cs:3036
NumberType DivideNumbers(NumberType a, NumberType b)
Calculates and returns quotient of parameters a and b .
void ReadOnlyPropertiesWithConstructor_ShouldRoundTrip()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:88
static string[] _bitmapExtensionsDotNetDefault
Definition: UtilSystem.cs:4175
virtual void StopServer()
Definition: ClientServerStreamBase2_Copy.cs:546
FieldCollection2d< TTensorField, TTensor > TensorFields
Gets the collection of tensor fields of the current mesh.
Definition: StructuredMesh2dGeneric.cs:540
abstract override void Evaluate(IVectorFunctionResults evaluationData)
Performs evaluation of requwester function results and writes them to the provided data structure.
ResponseDelegate _responseMethod
Definition: IpcStreamServerBase.cs:104
LogRecord Create(ReportType messagetype, Exception ex)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:166
double CpuTime
Returns the elapsed CPU time measured by the timer in the last round. If the timer is running then th...
Definition: UtilTime.cs:379
abstract double ToReference(double actualValue)
Transforms the specified value from actual domain to reference domain (interval [0,...
double _dnum
Definition: SerializerBase.cs:737
static int[][] IntJaggedArray2x3
Sample 2D jagged array of int (type int[][]), for use in tests. Array's shape corresponds to a 2D rec...
Definition: SampleCollections.cs:91
virtual bool TryConvertTyped< TTarget >(TSource source, out TTarget target)
Definition: SingleSourceTypeConverterBaseGeneric.cs:30
virtual bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: Optimizer.cs:196
File manager for neural network approximation file client and server.
Definition: NeuralFileManager.cs:21
virtual List< IVector > GetConstraintGradients()
Returns a list of constraint function gradients.
Definition: AnalysisResults.cs:596
void AddIndexField(TIndexField field)
Adds the specified index field to the collection of index fields.
Definition: UnstructuredMesh1dGeneric.cs:187
virtual string SystemFunctionUserName(string appName, string[] args)
Executes embedded application - writing to the console and returning the current user name.
Definition: ScriptAppBase.cs:3705
int NumPoints2
Definition: StructuredMesh3D_04.cs:19
static vec3 operator-(vec3 a, vec3 b)
const string ArgDeleteEncrypted
Specifies that encrypted files (i.e., files with the FileExtensionEncrypted extension) are deleted.
Definition: UtilCryptoAux.cs:637
virtual bool IsValueDefined
Whether function value is defined for the represented function.
Definition: ScalarFunctionDto.cs:91
virtual ElementType MultiplyLeft(IVector< ElementType > b)
Definition: VectorBase.cs:332
virtual VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:164
static string ToStringMath(this IMatrix mat, string elementFormat)
Returns string representation of the current matrix in the standard IGLib form, with the specified ...
Definition: MatrixBase.cs:279
vec3 EmissionColor
Emission color (Ke) - Defines how much the material glows.
Definition: MaterialProperties.cs:53
bool IsActive
Definition: ParallelJobServerBase.cs:170
static RealFunction GetConstant(double constantValue, double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real constant function object.
Definition: FunctionRealBasic.cs:493
virtual void InitAppCrypto()
Initializes commands for cryptography related utilities (embedded applications).
Definition: ScriptAppBase.cs:1660
static HashType CheckStringHashSupportedTypesHex(string stringToCheck, string hashValue)
Chechs all supported types of hash value of a string.
Definition: UtilCrypto.cs:1040
virtual void SetConstant(double elementValue)
Sets all components of the current vector to the specified value.
Definition: VectorBase.cs:371
virtual IVector GetParameters()
Returns vector of optimization parameters.
Definition: AnalysisResults.cs:410
bool GetNull()
Returns a flag indicating whether the object represented by the current DTO is null.
static Vector2d Create(IVector vec)
Constructs a 2D vector as a copy of another IVector object.
Definition: Vector2Dclass.cs:279
bool IsServerRunning
Flag telling whether the server is currently running.
Definition: ClientServerStreamBase2_Copy.cs:537
static void Negate(mat3 m, ref mat3 res)
Negates the specified 3D matrix and stores its copy in the resulting matrix.
Definition: Matrix3D.cs:854
static int AnnMM
Definition: App.cs:2247
const string ProcessKillProcesses
Definition: ScriptAppBase.cs:4812
Quadratic(double a2, double a1, double a0)
Creates a quadratic function, coefficients are specified in the descending order.
Definition: FunctionRealInterpolation.cs:355
RealFunction(DlgFunctionValue valueDelegate, DlgFunctionValue derivativeDelegate, DlgFunctionValue secondDerivativeDelegate, DlgFunctionValue integralDelegate, DlgFunctionValue inverseDelegate)
Constructs a new function where delegates are provided for calculation of function value,...
Definition: FunctionReal.cs:630
TextWriter _writer
Definition: HtmlWriter.cs:263
Structured mesh geometry in 3 dimensions.
Definition: StructuredField3dGeneric.cs:15
virtual int NumEqualityConstraints
Number of equality constraints.
Definition: AnalysisResults.cs:315
Parametric ellipsoid surface, usual parameterization via longitude and latitude.
Definition: Ellipsoid.cs:14
A generic field of values of any type. Values must be allocated at once.
Definition: FieldGeneric.cs:14
virtual double MapFromNeuralOutput(int componentIndex, double value)
Inverse maps (scales and shifts) and returns specific output value back from the neural output to the...
Definition: NeuralApproximatorBase.cs:1919
ParaboloidSymmetric2D(double r0Square)
Creates a new symmetric paraboloid function.
Definition: FunctionScalarExamples.cs:1018
override IVector CreateVector(int dim)
Creates and returns a new vector that is consistent with the definition of bounding box.
Definition: BoundingBox.cs:1787
Parallel job dispatcher for job containers that inherit from ParallelJobContainerGen<InputType,...
Definition: ParallelJobContainerGen.cs:654
static double Dot(vec3 a, vec3 b)
double _creationcCpuTime
Definition: UtilTime.cs:104
static int _maxStringLength
Definition: UtilString.cs:26
virtual string ExitRepeatBlock(CommandThread cmdThread)
Exits the current repetition code block.
Definition: CommandlineApplicationInterpreter.cs:850
Definition: ISingleSourceTypeConverter.cs:6
static void SaveJson(List< NeuralTrainingParameters > trainingParameters, string filePath, bool append)
Saves (serializes) the specified list of training parameters objects to the specified JSON file.
Definition: NeuralTrainingParameters.cs:976
string _independentVariableBaseName
Definition: ScalarFunctionScriptLoader.cs:147
StreamReader _inputStream
Definition: IpcNamedPipes.cs:564
string ConstAttributeStyle
The style attribute. Specifies an inline CSS style for an element.
Definition: HtmlWriter.cs:89
static Scalar MinValue()
Creates a scalar that contains minimal representable value.
Definition: Scalar.cs:82
override void Connect(double timeOutSeconds=0)
Connects with the server.
Definition: IpcNamedPipes.cs:668
Complex Pow(int power)
Definition: Complex.cs:746
string _msgNeuralOutputReadyFilename
Definition: NeuralFileManager.cs:156
void StartJob(JobContainerType jobData)
Starts the current job in the way specified by internal flags.
Definition: ParallelJobServerBase.cs:761
IScalarFunction F0
The first component of the current vector function.
Definition: FunctionVectorExamples.cs:53
vec3 columnx
Gets or sets the x-column of the 3D matrix.
Definition: Matrix3D.cs:550
void LoadTrainingDataJson_To_Delete(string filePath)
Restores training data from the specified file in JSON format.
Definition: NeuralApproximatorBase.cs:2996
void LoadScript(string newCommandName, string scriptFilePath, string[] initArgs)
Dynamically loads (compiles and instantiates) a loadable script class contained in the specified file...
bool CanSetBarrierLength
Whether the gap can be set.
Definition: FunctionRealPenalty.cs:203
static string DefaultErrorBegin
Default string that begins an error report.
Definition: IpcStreamClientServerBase2.cs:59
Torus(double R=RDefault, double r=rDefault)
Constructor - torus with larger radius R and smaller radius r , centered at coordinate origin.
Definition: Torus.cs:22
void SetHessians(List< IMatrix > values)
Sets functios' Hessians. If CopyReferences=true (false by default) then only the list reference is co...
virtual string ClassNamespace
Namespace in which the compiled class is defined.
Definition: Loader.cs:734
void CloseCurrentScope()
Definition: JsonPPStrategyContext.cs:121
static void Example()
Writes results of some example operations where type xdouble is inbolved.
Definition: UtilMath.cs:1453
double Norm
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:42
static char RandomCharSmallLetter(IRandomGenerator rndgen=null)
Returns a random character that is a small letter (a-z)
Definition: UtilString.cs:377
double ZZ
ZZ component.
Definition: Matrix3DClass.cs:358
static List< MissingAssembly > _missingAssemblyList
Definition: UtilSystem.cs:2547
Data transfer object for holding arrays of objects of the same type.
Definition: ArrayDto.cs:25
void ReadElementTypes()
Reads types of elements from the CSV-like string table, from the current position on (inclusively).
Definition: SampledDataCsv.cs:2234
double Zero
Returns the first zero of the current cubic function. Throws InvalidOperationException if the functio...
Definition: FunctionRealInterpolation.cs:1156
virtual vec3 GetCoordinate(int which)
Returns the specified co-ordinates of the graphic primitive.
Definition: GraphicalObjectsBase.cs:146
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: NamedPipes_Copy.cs:312
Module(string moduleName, string codeName, int version, int subVersion, string release)
Definition: App.cs:594
const string ArgStringInputFormat
String input format is used.
Definition: UtilCryptoAux.cs:524
static string GetHashMd5Hex(byte[] bytesToHash)
Computes and returns the MD5 hash string of the specified array of bytes.
Definition: UtilCrypto.cs:681
SandboxTypeconversionTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: SandboxTypeConversionTest.cs:29
virtual double NextDoubleInclusive(double maxValue)
A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than the spe...
Definition: Random.cs:371
bool ValueDefined
Whether calculation of function value is defined.
Definition: Function3d2d.cs:21
virtual vec2 Gradient3(vec2 parameters)
Calculates and returns gradient of the third component of the current function.
Definition: Function3d2d.cs:365
Approximator of response by using neural networks. $A Igor Mar11;
Definition: NeuralApproximatorBase.cs:18
virtual void WriteMetaContent()
Adds a contenbt meta tag.
Definition: HtmlWriter.cs:364
static void MultiplyTranspTransp(IMatrix a, IMatrix b, IMatrix result)
R=A^T*B^T. Multiplies transposed matrix by another transposed matrix, and stores the result in the sp...
Definition: MatrixBase.cs:3005
double StartParameter
Typical starting value of the parameter of the parametric curve that represents the knot....
Definition: LissajousCurve3D.cs:89
VectorBase(int dim)
Definition: VectorBase.cs:33
int IvLength
Length of the initialization vector.
Definition: UilCryptoAux1.cs:315
static string FormatTraceMsgDefault(int depth, int initialindent, int indentincrement, char indentchar, ReportType type, string location, string message, ReportSource source)
Formats a one-line message for tracing output.
Definition: ReporterMsg.cs:5708
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:951
string CommandName
Gets the command name under which command is registered in a specific interpreter.
Definition: Interpreter.cs:87
virtual string CmdRunLoadedScript(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Runs a command based on dynamically loaded loadable script class....
Definition: CommandlineApplicationInterpreter.cs:6100
string ConstAttributeTabIndex
The tab index attribute. Specifies the tabbing order of an element.
Definition: HtmlWriter.cs:107
static string GetWorkspaceProjectsPath(string relativePath)
Returns a complete path of a file or directory specified by a relative path to the workspace projects...
Definition: UtilSystem.cs:4514
void ReportWarning(string location, string message, Exception ex)
Basic warning reporting method (overloaded). Supplemental data (such as objects necessary to launch v...
static Complex Sin(Complex x)
Definition: Complex.cs:674
static void Save(string str, string filePath, bool append)
Saves the specified string to a specified file. If the specified file does not exists then it is crea...
Definition: UtilString.cs:835
void StopServer()
Sends to the server thread command that it has to stop.
Definition: ParallerJobDispatcherBase.cs:516
Matrix(double[,] elementTable)
Constructs a matrix from a 2-D array by deep-copying the provided array to the internal data structur...
Definition: Matrix.cs:206
virtual void AddEnterExitCommands_Else(CommandStackFrame frame)
Adds block enter/exit commands for the "ElseIf" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:713
static int _outputLevel
Definition: UtilCrypto.cs:44
void AddTensorField(TTensorField field, string name)
Adds the specified tensor field to the collection of tensor fields under the specified name.
Definition: StructuredMesh3dGeneric.cs:656
static Int64[] factorials64
Array of all factorials that do not produce overflow.
Definition: UtilMath.cs:541
override string ToString()
Definition: SerializerBase.cs:596
NumberType Sqrt(NumberType a)
Returns square root of a .Square root of a .
const string ArgAsymKeyName
Specification of assymmetric key container name.
Definition: UtilCryptoAux.cs:358
static Matrix2d Copy(Matrix2d m)
Returns a copy of the specified 2D matrix.
Definition: Matrix2DClass.cs:646
static readonly PhysicalConstant Pa
Pascal, the SI derived unit of pressure or stress. Pa = N/numrows^2 = kg/numrows result^2.
Definition: Constants.cs:924
virtual void AppendCommandArgument(bool value)
Appends a boolean argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:596
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:781
virtual void AddEnterExitCommands_BeginRepeat(CommandStackFrame frame)
Adds block enter/exit commands for the "BeginRepeat" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:671
double ConvertComponent(int component)
Definition: Color.cs:256
static double Min(double a, double b)
Smallest of two numbers.
Definition: UtilMath.cs:884
static void SetRandom(IMatrix mat, IRandomGenerator rnd=null)
Sets the current matrix such that it contains random elements on the interval (0,1].
Definition: MatrixBase.cs:923
int NumEqualityConstraints
Number of equality constraints.
Definition: Optimizer.cs:230
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray2DToStringArray2DObjectToIntArray2D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:419
static void ExampleMathNetNumericsLU()
Example of how to use LU decomposition from Math.NET numerics.
Definition: TestSpeed.cs:904
char _thousandSeparator
Definition: StringParser.cs:144
void Dispose()
Definition: TestBase.cs:119
virtual void NullifyAll()
Sets all objects (parameters and result objects) to null. If the references are not assigned elsewher...
Definition: FunctionScalarResults.cs:367
static double Rand()
Returns a uniformly distributed random number greater than or equal to 0.0, and less or equal than 1....
Definition: UtilMath.cs:1108
double PenaltyValue(int which, double constraintValue)
Returns value of the penalty function for the specified constraint at the specified value of the corr...
TTensorField GetTensorField(string name)
Returns tensor field with the specified name.
Definition: UnstructuredMesh3dGeneric.cs:578
bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results or au...
Definition: Optimizer.cs:32
Single objective optimization analysis results. Used to transfer parameters input (e....
Definition: AnalysisResutlsInt.cs:25
int EpochsInBundle
Number of epochs in a single training bundle. This number of epochs is performed at once when trainin...
Definition: NeuralApproximatorBase.cs:894
override void CopyToPlain(ref IVector vec)
Copies data from the current DTO to a vector object.
Definition: VectorDto.cs:172
object _mainLock
Definition: MatrixDecompositions.cs:111
double c
Definition: Function3d2d.cs:875
double Value
Value of the scalar.
Definition: Scalar.cs:28
static int DefaultNumHiddenNeuronsFirstMin
Default value for number of hidden neurons in first hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1268
double MaxValue
Gets the upper bound in the first coordinate.
Definition: BoundingBox.cs:1882
InterpreterPipeClient(string pipeName)
Constructs a new named pipe client with the specified pipe name, default server address (NamedPipeCli...
Definition: CommandlineApplicationInterpreter.cs:5224
override void CopyToPlain(ref ElementType[] obj)
Copies data from the current DTO to the specified array objects.
Definition: ArrayDto.cs:99
void AddIndexField(TIndexField field)
Adds the specified index field to the collection of index fields.
Definition: StructuredMesh2dGeneric.cs:195
bool _hessianDefined
Definition: Function3d.cs:160
double AbsoluteValue
Gets absolute value (or magnitude) of the current complex number.
Definition: Complex.cs:184
const string AssemblyHelpInfoLoad1
Definition: ScriptAppBase.cs:4310
ReportMessageDelegate ReportMessageDlgTextWriter
Delegate that assembles the message string for reporting via text writer.
Definition: ReporterMsg.cs:4674
ThreadPriority ThreadPriority
Priority of the server thread.
Definition: IpcStreamServerBase.cs:395
static bool SetValue(XmlNode basenode, string xpath, string value)
Definition: XmlUtilities.cs:734
IMatrix GetHessian()
Returns the function's Hessian.
virtual double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
Definition: FunctonVectorResults.cs:256
void SaveCode(string filePath)
Saves the generated script code to the specified file. File is overwritten if it already exists.
Definition: RealFunctionScriptLoader.cs:357
static bool _isLinuxOs
Definition: UtilSystem.cs:273
virtual void Append(string str)
Appends a literal string to the contents of the command file plus a newline character.
Definition: InterfaceInterpreterBase.cs:345
static void ExampleCommandLine()
Launches command-line JavaScript interpreter.
Definition: ExpressionEvaluatorJs.cs:519
virtual bool IsAt(int position, IEnumerable< CharType > str)
Definition: ParsableBase.cs:100
UnStructuredMesh2d(int dim1, int dim2, string fieldName, string fieldDescription)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: test_to_delete.cs:55
static int DefaultOutputLength
Default number of output neurons.
Definition: NeuralTrainingParameters.cs:70
Vector2d RowY
Gets or sets the y-row of the 2D matrix.
Definition: Matrix2DClass.cs:397
GrPrimitiveSettings _settings
Definition: GrObjects.cs:297
Definition: TypeConversionWithoutReflectionTests.cs:12
int GetNumInputDuplicates()
Returns number of elements of the current sampled data set with duplicated input parameters.
Definition: SampledData.cs:651
virtual string[] ParameterNames
Names of function parameters.
Definition: VectorFunctionScriptController.cs:350
double LearningRate
Gets or sets learning rate.
Definition: NeuralApproximatorBase.cs:863
virtual void SetNull(bool isNull)
Sets a flag indicating whether the object represented by the current DTO is null.
Definition: SerializationDtoBase.cs:491
static string _defaultKeyTitles
Definition: SampledDataCsv.cs:156
override MatrixType CreateObject()
Creates and returns a new matrix of the specified type and dimension.
Definition: MatrixDto.cs:153
bool IsResizable
Whether the underlying array structure can be reallocated (resized), i.e., whether a reference to the...
Definition: IReadonlyArrayAccessor.cs:37
OutputMappingDefinitionElement(string name, string title, string description)
Constructor. Element index is unknown.
Definition: NeuralMapData.cs:540
double OutputBoundSafetyFactor
Definition: SerializationDtoNeural.cs:46
IBoundingBox _outputDataBounds
Definition: NeuralApproximatorBase.cs:1422
bool _commandArgumentsInNewLines
Definition: InterfaceInterpreterBase.cs:100
SerializationTestArrayMember()
Definition: SerializerBase.cs:665
override Type BindToType(string assemblyName, string typeName)
Defines a single mapping from the original assembly and type name to the target type....
Definition: SerializationBinderSimple.cs:66
static RealFunction GetWeightGauss()
Creates and returns a new real polynomial weighting function object based on Gaussian function (exp(-...
Definition: FunctionRealWeight.cs:57
void ReportWarning(Exception ex, string location)
Launches a warning report.
Definition: ReporterMsg.cs:3346
bool TextLoggerWriteIntro
Specifies whether introduction text is written before logging of messages begins or not.
Definition: ReporterMsg.cs:487
vec3 NumericalDerivative(Func< double, vec3 > curve, double t, double tMin, double tMax, double h, bool restrictToInterval)
Numerically computes the derivative of a curve using central differences.
Definition: TubularMeshGenerator.cs:25
int OutputLevel
Level of output for some of the interpreter's functionality (e.g. asynchronous command execution).
Definition: CommandlineApplicationInterpreter.cs:363
static string GetRelativePath(string fromPath, string toPath)
Calculates and returns relativa path from one path to another. WARNING: First path (with respect to t...
Definition: UtilSystem.cs:4653
string _keyTitles
Definition: SampledDataCsv.cs:601
void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
object Lock
ILockable.Lock, gets a public lock for the current object.
Definition: SettingsRreader.cs:37
void SetTrainingAndVerificationData(SampledDataSet trainingData, SampledDataSet verificationData)
Auxiliary function, sets training and verification data for training the network.
virtual IBoundingBox InputDataBounds
Bounds on input data, used for scaling from actual input to input used by neural network....
Definition: NeuralApproximatorBase.cs:1603
virtual void SetGradientComponentDefiniton(int whichComponent, string gradientComponentDefinition)
Sets a definition of the specified gradient components.
Definition: ScalarFunctionScriptController.cs:282
string _asymKeyFileXml
Definition: UilCryptoAux1.cs:229
AsymmetricAlgorithm AsymAlgorithm
Asymmetric algorithm, equipped with keys, that will perform asymmetric cryptographic tasks.
Definition: UilCryptoAux1.cs:189
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealBasic.cs:309
ParallelJobDispatcherGen< CommandLineJobContainer, CommandLineJobContainer > _parallelDispatcher
Definition: CommandlineApplicationInterpreter.cs:2149
const int DefaultVersion
Definition: App.cs:840
string _neuralNetworkFilename
Definition: NeuralFileManager.cs:128
virtual string ProcessFunctionKillApplicationsByWindow(string appName, string[] args)
Embedded application. Kills all running applications sarisfyin specified conditions.
Definition: ScriptAppBase.cs:4950
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
Definition: Ellipsoid.cs:49
static bool QrDecompose(IMatrix A, ref IMatrix resQ, ref IMatrix resR, double tol=1e-12)
Calculates QR decomposition of a real invertible matrix.
Definition: MatrixBase.cs:7275
static double FourthDerivative5Point(DlgFunctionValue f, double x, double h)
Calculates the fourth order derivative of a function with a 5 point formula. Error is O(h^2).
Definition: FunctionNumeric.cs:304
bool _appAssemblyCommandsInitialized
Definition: ScriptAppBase.cs:4384
static readonly PhysicalConstant SunEquatorialGravity
Sun equatorial surface gravity acceleration, 274.0 numrows/result^2.
Definition: Constants.cs:1739
int MomentumNum
Number of momentums.
Definition: NeuralTrainingParameters.cs:1358
int NumY
Number of nodes in Y direction.
Definition: SimKosecFileManager.cs:91
Definition: SingleQuoteStrategy.cs:3
override double StartParameter
Definition: CylindricalBilliardKnot.cs:68
bool ReqConstraintHessians
Indicates whether calculation of constraint functions Hessian is/was requested.
Definition: AnalysisResutlsInt.cs:363
void AppendSetVariable(StringBuilder sb, string varName, object value, int numIndents)
Appends to the apecified string builder the C# statements that sets the specified variable to the spe...
Definition: ScalarFunctionScriptLoader.cs:579
virtual void InitDynamic()
Initialization of variables that are used by dynamic loading mechanisim.
Definition: RealFunctionScriptBase.cs:117
virtual void SendRequest(string requestString)
Send specified request to server through a named pipe.
Definition: ClientServerStreamBase2_Copy.cs:1003
virtual Type Type
Definition: ModelParameter.cs:20
bool CalculatedConstraints
Indicates whether calculation of constraint functions is/was requested.
Definition: AnalysisResutlsInt.cs:398
static bool operator!=(DerivedClass lhs, DerivedClass rhs)
FieldCollection< TTensorField, TTensor > _tensorFields
Definition: UnstructuredMesh3dGeneric.cs:524
ScalarFunctionLoader()
Constructor.
Definition: ScalarFunctionScriptLoader.cs:29
static readonly PhysicalConstant K
Kelvin, the basic SI unit of temperature.
Definition: Constants.cs:842
Vector function results. Used to transfer parameters input (e.g. vector of parameters,...
Definition: FunctionVectorResultsInt.cs:24
double Value
Gets or sets
Definition: Vartypes.cs:128
double StartParameter
Definition: SquareKnot3D.cs:52
static ColorScale CreateRainbow(double minValue, double maxValue)
Creates and returns a continuous color scale that runs from violet till red color and passes rainbow ...
Definition: ColorScale.cs:705
ParallelJobState State
State of the parallel job whose data is contained in the current object.
Definition: ParallelJobContainerBase.cs:69
MobiusStrip()
Definition: Function3d2d.cs:1462
readonly string Command_EndRepeat
Definition: CommandlineApplicationInterpreter.cs:630
bool _reqConstraintHessians
Definition: FunctionScalarResults.cs:105
void InvalidateTrainingDataDependencies()
Invalidates all data that must be re-calculated after training data changes. This method is called af...
bool _reqConstraintGradients
Definition: AnalysisResults.cs:218
virtual List< String > Notice()
Returns a list of text lines introducing the module or application in.
Definition: App.cs:1878
virtual string Path
Path of the file or directory on which the particular event is waited for. Can be specified as relati...
Definition: WaitConditionFile.cs:855
static readonly PhysicalConstant CoulombConstant
CoulombConstant. 1/(4*Pi*Epsilon0)
Definition: Constants.cs:425
color _color
Definition: GrProperties.cs:114
Matrix3d GetNewMatrixThis()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector3Dclass.cs:144
@ While
While block (entered via While command).
static char DefaultMessageFalseSeparator
Definition: IpcStreamClientServerBase.cs:157
VectorDto()
Creates a DTO for storing state of a vector object of any vector type
Definition: VectorDto.cs:257
const string DataStructuresHelpTestCsvReadDefinitionAndData
Definition: ScriptAppBase1.cs:264
static bool TestMultiplyTranspTranspTransp(double tolerance, bool printReports)
Tests product A^T*B^T*C^T.
Definition: MatrixBase.cs:4002
override VectorBase GetNewVectorBase(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: Matrix3DClass.cs:565
virtual void SetGradientReference(int which, IVector reference)
Sets the specified function gradient. Only the reference is copied.
Definition: FunctonVectorResults.cs:400
static readonly PhysicalConstant WeakMixingAngle
Weak mixing angle.
Definition: Constants.cs:586
virtual void AddEnterExitCommands_If(CommandStackFrame frame)
Adds block enter/exit commands for the "If" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:691
static Matrix Zeros(int d)
creates a square d*d matrix filled with 0.
Definition: Matrix.cs:416
SnailShell1()
Definition: Function3d2d.cs:1691
bool IsRegular
Definition: StructuredMesh3D_03.cs:23
virtual double NumericalIntegral(double from, double to, int numintervals)
Calculates numerical integral of this function. Simpson's formula is used.
Definition: FunctionReal.cs:358
bool _printNotes
Definition: WaitConditionFile.cs:163
string Label
Definition: UtilTime.cs:311
static string DefaultKeyMinimalValues
Default key for introduction of minimal values of input and output data elements.
Definition: SampledDataCsv.cs:221
override string Name
Returns a short name of the function.
Definition: FunctionScalarRadial.cs:88
const string ArgSaltHexBytes1
Specification of password as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:471
override double CalculateOutput(IVector input, int whichElement)
Calculates and returns the specified output by using the neural network.
Definition: NeuralApproximatorBase.cs:2814
SerializerJsonBase()
Creates a JSON serialization class.
Definition: SerializerJson.cs:116
void AddDefaultInputValues(params InputFieldDefinition[] definitions)
Adds a set of default input values to the list DefaultInputValues of default values....
Definition: SimKosecFileManagerBase.cs:711
const string FileHelpStandardPath
Definition: ScriptAppBase.cs:895
readonly FromStringTypeConverterViaJson fromJson
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:32
void SpeedTestInfo_WorksCorrectlyUnderNormalConditions()
Tests the 2 parameter constructor and majority of properties of the \ SpeedTestInfo class (which inhe...
Definition: UtilSpeedTestingTests.cs:94
string _msgOptBusyFilename
Definition: OptFileManager.cs:152
int _nextJobId
Definition: ParallerJobDispatcherBase.cs:1101
IMatrix HessianMatrix
Twice the matrix of quadratic coefficients (Hessian matrix).
Definition: FunctionScalarExamples.cs:454
PipeServerBase()
Prevent default constructor.
Definition: IpcPipes.cs:40
static bool IsProcessRunning(string processName)
Returns true if at least one process with the specified name is running, false otherwise.
Definition: UtilSystem.cs:694
void ReportError(string message, Exception ex)
Launches an error report.
Definition: ReporterMsg.cs:3275
const int MaxIntComponent
Maximal integer component of the standard System.Drawing.Color struct.
Definition: Color.cs:101
AnalysisResults(int numParameters)
Specified number of parameters, 1 objective, no constraints. No gradients required.
Definition: AnalysisResults.cs:139
string TextWriterIntroText
Gets or sets the introduction string that is written before logging to a TextWriter begins....
Definition: ReporterMsg.cs:3994
bool CalculatedObjectiveHessian
Indicates whether calculation of objective function Hessian is/was requested.
Definition: AnalysisResutlsInt.cs:395
bool IsOutputFormatString
Whether output format is ordinary string. Returns true if there is no binary format specified,...
Definition: UilCryptoAux1.cs:480
virtual bool ReqObjectiveGradient
Indicates whether calculation of objective function gradient is/was requested.
Definition: AnalysisResults.cs:982
static color ScaleBlueRedYellow(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:717
static bool _isMacOs
Definition: UtilSystem.cs:275
bool SetWriter(TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:3621
ReportType _type
Definition: LoggerMsg.cs:93
StructuredSurfaceMesh3D(vec3 origin, vec3 basevector1, vec3 basevector2, int num1, int num2)
Construct a structured surface mesh in 3 dimensions. Complete is constructed by translations of the o...
Definition: Mesh.cs:201
override int NumValues
Returns number of values, i.e. dimension of function codomain.
Definition: FunctionVectorFromScalar.cs:49
void PrepareNetwork()
Prepares neural network for use. If networks have not yet been created according to internal data,...
Definition: MeshExportExtensions_05.cs:15
override string ToString()
Returns string representation of the current command container object.
Definition: CommandlineApplicationInterpreterBase.cs:223
double R
Gets the modulus (or magnitude, or absolute value) of the current complex number. This is the radius ...
Definition: Complex.cs:191
static string _userName
Definition: UtilSystem.cs:79
ScriptLoaderIGLib()
Creates a new ScriptLoaderIGLib.
Definition: Loader.cs:27
FieldCollection< TVectorField, TVector > _vectorFields
Definition: UnstructuredMesh3dGeneric.cs:371
double Det
Gets matrix determinant.
Definition: Matrix3D.cs:708
vec3[][] VertexNormals
Contains node normals of the mesh.
Definition: StructuredSurfaceMesh3D.cs:19
virtual void SetCalculateGradConstraints(bool flagValue)
Sets the flag for calculation of constraint function gradients.
Definition: InterfaceInv.cs:396
double c
Height of the curve bounding box.
Definition: LissajousCurve3D.cs:63
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: ScalarFunctionScriptExample.cs:97
static SymmetricAlgorithmType[] GetSymmetricAlgorithmTypes()
Returns all symmetric encryption algorithm types contained in the enumeration SymmetricAlgorithmType
Definition: UtilCrypto.cs:1515
virtual IBoundingBox OutputNeuronsRange
Gets the range of the data output from output neurons, used for scaling from actual output to output ...
Definition: NeuralApproximatorBase.cs:1690
bool IsAttributesDefined(string[] attributeNameValuePairs)
Returns true if the specified array of attribute name-value pairs defines any attributes,...
Definition: HtmlWriter.cs:577
static void Examples()
Definition: UtilConsole.cs:809
bool dispLocked
Definition: ReporterMsg.cs:1478
bool _appCryptoCommandsInitialized
Definition: ScriptAppBase.cs:1657
XmlNode GoToMark()
Restores the parser state to the state contained in the last mark. The current node after operation i...
Definition: XmlUtilities.cs:1773
const double ConstOne
Double constant 1.0.
Definition: Complex.cs:393
Base class for classes of type CommandThread<InterpreterType, FrameType, ThreadType>....
Definition: CommandlineApplicationInterpreterBase.cs:1730
void Example11_4_ExportConicalSpiralHyperbolic3DTube(int numLongitudinal, int numTransverse, double radius, double alpha=1.5, double a=1.0)
Creeates a tubular surface mesh from a helix parameterization, HelixCurve3D.
Definition: TubularSurfaceExportExamplesTests.cs:919
InputOutputDataDefiniton _dataDefinition
Definition: SampledDataCsv.cs:908
FieldCollection< TScalarField, TScalar > ScalarFields
Gets the collection of scalar fields of the current mesh.
Definition: UnstructuredMesh3dGeneric.cs:224
double a
Definition: Function3d2d.cs:1664
int[] NumHidenNeurons
Numbers of neurons in each hidden layer.
Definition: SerializationDtoNeural.cs:126
bool _wasBlockExitCommand
Definition: CommandlineApplicationInterpreterBase.cs:1857
int _mappedElementIndex
Definition: NeuralMapData.cs:323
virtual double GetCellValue(int cellIndex)
Returns the value corresponding to the specified cell in the discrete color map. This value is used t...
Definition: ColorScale.cs:542
static int numErrInitialIndent
Definition: ReporterMsg.cs:2510
static void TestBinomialCoefficients(int nMax)
Writes binomial coefficients up to the specified number to the console.
Definition: UtilMath.cs:647
Base class for scalar functions of 2 variables (implementations of the IFunc2d interface)....
Definition: Function2d.cs:73
bool _compareByTrainingMaxError
Definition: NeuralTrainingParameters.cs:2950
static bool IsAsciiString(char[] str)
Returns true if the string corresponding to the specified array of characters is an ASCII string (i....
Definition: UtilString.cs:640
virtual IVector Max
Gets or sets the vector of maximal co-ordinates of the bounding box.
Definition: BoundingBox.cs:539
override double CurveDerivativePolar(double t)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
Definition: ConicalSpiralFermats3D.cs:48
ThreadPriority _threadPriority
Definition: ParallerJobDispatcherBase.cs:649
static void MapCoordinatesToScalarsPlain(Field< vec3 > referenceField, Field< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 3D unstructured set fo points from the specified field of grid coordina...
Definition: FieldGeneric.cs:440
string[] GetFieldNames()
Returns names of all the fields contained in the current field collection.
Definition: FieldCollectionGeneric.cs:221
virtual GrPrimitiveSettings Settings
Gets the primitive's internal graphic properties (such as color, etc.)
Definition: GrObjects.cs:341
static Matrix Diagonal(IVector< double > diagonalVector)
Creates a new square diagonal matrix based on the diagonal vector.
Definition: Matrix.cs:467
string Run(string[] arguments)
Performs the action of this object. Override this in derived classes!
Definition: LoadableScriptBase.cs:216
FrameType AddFrame(CodeBlockType blockType)
Adds a new stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:1687
static Dictionary< string, Assembly > _dependentAssemblyList
Definition: UtilSystem.cs:2546
double LearningRateMax
Maximum limit for learning rate.
Definition: SerializationDtoNeural.cs:732
static double Sum(IEnumerable< double > sample)
Calculates and returns sum of elemennts the specified sample.
Definition: UtilMath.cs:681
static Matrix3d operator*(Matrix3d a, Matrix3d b)
Matrix multiplication in 3D.
Definition: Matrix3DClass.cs:800
static void ExampleIdGenerator()
Example use of the IdGenerator class and its Proxy subclass to implement the IIdentifiable interface.
Definition: UtilIdRegistration.cs:283
bool IsServerRunning
Flag telling whether the server is currently running.
Definition: IpcStreamServerBase.cs:72
vec3 Direction
Direction of the light (for Directional and Spot lights).
Definition: LightingDefinition_05.cs:38
string[] GetRegisteredTypeNames()
Definition: VectorFactoryRegistry.cs:78
static void ArraySubtract(IVector a, double scal, ref IVector result)
Subtraction of a scalar to all components of a vector. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1697
bool SetTextLogger(TextWriter writer)
Sets the text writer to which reporting is also performed.
double Tolerance
Gets or sets the main tolerance (its exact meaning depends on the algorithm in use).
Definition: Optimizer.cs:68
void Copy(long l)
Copies double to the current counter.
Definition: Scalar.cs:425
double xx0
Definition: FunctionRealPenalty.cs:171
static string DefaultKeyScalingLengths
Default key for introduction of scaling lengths of input and output data elements.
Definition: SampledDataCsv.cs:265
const string CryptoHelpEncryptBasicPart
Definition: ScriptAppBase.cs:1209
static double SetRandomPositiveDefiniteSymmetric(IMatrix mat, IRandomGenerator rnd=null)
Sets the specified QUADRATIC matrix such that it is has random elements and is a symmetric positive d...
Definition: MatrixBase.cs:1279
static string FindNamespace(string code)
Finds and returns the name of the first namespace that is defined in the specified C# code block....
Definition: Loader.cs:582
List< Type > _list
Definition: SortedUniqueItemList.cs:89
bool _isCompiled
Definition: Loader.cs:923
virtual InputOutputDataDefiniton GetDataDefinitionObject(bool setBoundsAndDefaults=false, IBoundingBox inputBounds=null, IBoundingBox outputBounds=null)
Creates and returns a data definition object for input parametera and output values of the current fu...
Definition: ScalarFunctionScriptController.cs:795
virtual void RunCommandFile()
Runs the interpreter command file.
Definition: InterfaceInterpreterBase.cs:692
void Init(object obj, ReportDelegate reportdelegate, ReserveReportErrorDelegate reservereportdelegate)
Initializes the error reporter by the specified auxiliary object and delegates used to perform error ...
Definition: ReporterMsg.cs:1449
ReportSource
Definition: ReporterMsg.cs:86
void PrintArguments(string[] args)
Definition: LoadableScriptExamnple.cs:24
string Title
Title when introducing the parameter, for example as title in documentation, as label in user interfa...
Definition: IModelParameter.cs:56
static void ArrayAdd(IVector a, double scal, ref IVector result)
Addition of a scalar to all components of a vector. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1646
static int GetNumConstants()
Returns the number of scalar constants that specify the current function.
Definition: Function3d.cs:492
A fixed set of model parameters of the specified type, where parameters cannot be added,...
Definition: IModelParameterSetBase.cs:76
override double NextDouble(double minValue, double maxValue)
A double-precision floating point number greater than or equal to the specified minimum,...
Definition: Random.cs:227
static bool _isOsDetected
Definition: UtilSystem.cs:269
virtual bool SecondDerivativeDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionVectorBaseGeneral.cs:144
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:1115
LoadableScalarFunctionBase()
Constructs reference scalar function of vector variable defined by the user (witout any transfomratio...
Definition: ScalarFunctionScriptBase.cs:60
char _expressionStart
Definition: CommandlineApplicationInterpreter.cs:296
StreamWriter _outputStream
Definition: IpcPipes.cs:294
int NumExecutingJobs
Gets number of currently executing jobs.
Definition: ParallerJobDispatcherBase.cs:254
double NormInfinity
Get the infinity norm of the matrix - maximum over rows of sum of absolute values of components.
Definition: Matrix2D.cs:574
override VectorBase GetCopyBase()
Creates and returns a copy of the current vector, which is of the same type as the current vector.
Definition: Vector3Dclass.cs:80
const string ProcessKillApplicationsByWindow
Definition: ScriptAppBase.cs:4938
Matrix3d(mat3 m)
Initializes components of a 3D matrix with components of the specified matrix.
Definition: Matrix3DClass.cs:69
bool _useSubSubVersion
Definition: App.cs:707
static Matrix3d CreateFromRows(IList< Vector > rowVectors)
Construct a complex matrix from a set of real row vectors.
Definition: Matrix3DClass.cs:187
XmlNode GetNextElement(string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1589
static double TestComputationalTimesCholesky_IGLib(int numEq, int outLevel, bool testProduct=false)
Test of Cholesky decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:379
UnstructuredMesh1d2d(int length)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d2d.cs:36
void LoadScript(string newCommandName, string scriptFilePath, string[] initArgs)
Dynamically loads (compiles and instantiates) a loadable script class contained in the specified file...
Definition: CommandlineApplicationInterpreter.cs:2923
List< DataColumnDefinition > _dataColumnDefinitions
Definition: SampledDataCsv.cs:1214
InputType Input
Input for the current job.
Definition: ParallelJobContainerGen.cs:100
XmlNode NextElement()
Moves the current node to the first sibling element after the current node.
Definition: XmlUtilities.cs:2249
static bool CsvIsEmptyRow(string[][] values, int rowIndex)
Returns true if the specified line in a 2D jagged array of string cell values (arranged in rows) is e...
Definition: UtilCsv.cs:38
static bool TestGramSchmidtOrthogonalization(int dim, int numRepetitions=1, double tol=1e-8, int outputLevel=0, IRandomGenerator randomGenerator=null, bool normalize=false, bool modifiedGrammSchmidt=true, bool nonRobust=false)
Performs a test of Gramm-Schmidt orthogonalization on a set of random vectors.
Definition: VectorBase.cs:2677
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:1488
static Vector2d operator+(Vector2d v)
Unary plus, returns the operand.
Definition: Vector2Dclass.cs:485
XmlNode StepIn()
Moves the current node to its first child node and returns the node.
Definition: XmlUtilities.cs:2013
virtual List< IMatrix > GetHessians()
Returns the list of functions' Hessians.
Definition: FunctonVectorResults.cs:444
readonly string Command_EndCalc
Definition: CommandlineApplicationInterpreter.cs:634
string EvaluateJs(string[] args)
Evaluates a JavaScript expression obtained by merging elements of the array parameter args ....
Definition: CommandlineApplicationInterpreter.cs:1558
bool IsRegular
True if the mesh is regular, i.e., 2D parameters of the mesh are arranged in a 2D array with equal sp...
Definition: StructuredSurfaceMesh3D.cs:41
int _length
Definition: FieldGeneric.cs:82
IVector Max
Gets or sets the vector of maximal co-ordinates of the bounding box.
Definition: BoundingBox.cs:66
vec3[] _gridCoordinates
Definition: Mesh.cs:226
void PopulateJaggedArrayWithConversion(object target, object source, Type leafTargetType)
Recursively converts and assigns values from source jagged array to target jagged array.
Definition: CollectionTypeConverter.cs:155
float A
Definition: ColorRGBA.cs:9
bool IsReadOnly
Whether or not data table is read only.
Definition: StringTable.cs:95
const int DefaultMaxNestingLevels
The default maximum nesting levels of the JSON serialization (the property of .NET JSON serialization...
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:54
const string ArgAsymKeyXmlFile
Specification of assymmetric key xml file.
Definition: UtilCryptoAux.cs:363
static void LdltSolve(IMatrix decomposed, IVector b, ref IVector x)
Solves a system of eauations with the specified LDLT decomposition of a real symmetric square matrix.
Definition: MatrixBase.cs:6111
const string KeyTextLoggerIntroText
Definition: ReporterMsg.cs:2332
ComplexVector(int dim)
Definition: ComplexVector.cs:26
PasswordAlgorithmType _passwordAlgorithmType
Definition: UilCryptoAux1.cs:132
bool _calcConstraintGradients
Definition: FunctionScalarResults.cs:109
static void CreateParameterNamesArray(string namesString, string separator, ref string[] namesArray, bool trimSpaces=true)
Parses a string that contains delimited parameter names, extract an array of individual parameter nam...
Definition: ScalarFunctionScriptController.cs:409
static void SetRandomPermutation(IRandomGenerator rand, int length, ref IndexList indices)
Creates a random permutation of the specified length by using the specified random generator
Definition: IndexList.cs:87
static mat2 operator/(mat2 a, double b)
Division of a 2D matrix by a scalar.
Definition: Matrix2D.cs:859
double BarrierLength
Gap - characteristic length of transition area on which penalty function grows for about (or sometime...
Definition: FunctionRealPenalty.cs:47
IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: FunctionScalarResultsInt.cs:48
static int SizeOf(ulong val)
Returns size of a value of type ulong, in bytes.
Definition: Utils.cs:1201
IVector Min
Sets the vector of minimal values for point coordinates. Needed for calculation of relative coordinat...
Definition: DistanceComparer.cs:53
static void GetApplicationsByWindowTitle(string mainWindowTitle, ref List< Process > processList)
Gets all applications with the specified main window title, and puts them to the specified list.
Definition: UtilSystem.cs:1498
static string GetAssemblyCopyrightInfo(Assembly assembly)
Returns copyright information of the specified assembly.
Definition: UtilSystem.cs:3110
IVector _minAux
Definition: BoundingBox.cs:399
static xdouble acos(xdouble a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:1606
static object lockGlobal
Global application data lock.
Definition: App.cs:369
Definition: IModelParameter.cs:4
override void Gradient(double x, double y, double z, out double gradx, out double grady, out double gradz)
Calculates gradient of the current 3D scalar function and returns its components through the specifie...
Definition: Function3d.cs:670
Carries command execution data, results, and other data such as identification number,...
Definition: CommandlineApplicationInterpreterBase.cs:38
virtual string GetResponse(string request)
Returns response string for given request string.
Definition: IpcStreamServerBase.cs:118
static bool TryParseRobust(string s, out Complex result)
Parses a complex number (of type Complex) from the string s , stores the result in result ,...
Definition: Complex.cs:1247
bool TryConvert(object source, out object target)
Definition: ToStringTypeConverterViaParseReflection.cs:58
virtual string CmdWrite(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints concatenated argument with spaces between them.
Definition: CommandlineApplicationInterpreter.cs:4128
Complex SubtractNumbers(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:23
virtual void ReadAnalysisOutputJson(string filePath, ref AnalysisResults anpt)
Reads analysis output data (request) from the specified file in the JSON format, and stores the data ...
Definition: OptFileManager.cs:1103
Physical constants including units and standard uncertainty.
Definition: Constants.cs:368
override bool ValueDefined
Whether calculation of value is implemented for the current function.
Definition: RealFunctionScriptBase.cs:173
XmlNode Parent
Parent of Current. If Current = null then Parent can still return something, which happens in particu...
Definition: XmlUtilities.cs:1295
double a
Radius of the helix.
Definition: HelixCurve3D.cs:36
int NumLogs(ReportType type)
Returns number of logs of the specified type that logger contains.
Definition: LoggerMsg.cs:412
List< ScalarFunctionControllerType > Elements
List of vector function elements, i.e. scalar functions that calculate individual elements of the ret...
Definition: VectorFunctionScriptController.cs:133
static string ToString(X509Certificate2 cert)
Returns a readable string representation of the specified certificate.
Definition: UtilCrypto.cs:4135
static Matrix3d Create(double[][] A)
Constructs a matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix3DClass.cs:156
abstract void Dispose()
Clean up after the reference is not used any more.
WeightPol3()
Definition: FunctionRealWeight.cs:468
void SaveTrainingDataJson_To_delete(string filePath)
Saves network's training data to the specified JSON file. File is owerwritten if it exists.
Definition: NeuralApproximatorBase.cs:2983
void LogWarning(Exception ex, string location)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:740
Matrix in a 3 dimensional space.
Definition: Matrix3DClass.cs:23
virtual IVectorFunctionResults GetCopy()
Returns an exact deep copy of the current object.
Definition: FunctonVectorResults.cs:767
mat2(vec2 xrow, vec2 yrow)
Initializes 2D matrix structure with the specified rows.
Definition: Matrix2D.cs:381
const string DefaultFunctionArgumentParametersName
Default name of vector of parameters in function arguments in script functions.
Definition: ScalarFunctionScriptLoader.cs:69
bool _iscompiled
Definition: RealFunctionScriptLoader.cs:556
string[] _TypeNames
Definition: Vartypes.cs:101
static List< ResolutionIdentity > _failedResolves
Definition: UtilSystem.cs:2721
override bool Condition()
Condition that unblocks Wait() when it becomes true. The condition is true if the specified directory...
Definition: WaitConditionFile.cs:808
int MaxCount
Gets or sets the maximal number of objects that can be stored by this object store.
Definition: UtilObjectStore.cs:22
static byte[] DecryptPlain(byte[] data, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the specified byte array by a symmetric algorithm and returns decrypted data.
Definition: UtilCrypto.cs:2545
int NumConstraints
Number of constraints.
Definition: OptimizationInputData.cs:30
virtual IVector Min
Gets or sets the vector of minimal co-ordinates of the bounding box.
Definition: BoundingBox.cs:507
object internallock
Definition: WaitCondition.cs:55
virtual void PrepareResultStorage()
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
Definition: AnalysisResults.cs:1130
string _pipeName
Definition: IpcPipes.cs:97
static int _nextId
Definition: IGlooballyIdentifiable.cs:21
override VectorBase GetNewVectorBase(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: Matrix.cs:861
int Length
Gets the number of rows.
Definition: VectorBase.cs:26
static void Multiply(IMatrix a, IVector b, IVector result)
R=A*b. Multiplies a matrix with a vector and stores the result in the specified result vector....
Definition: MatrixBase.cs:4061
const string TestSpeedReferenceSystem
Description of reference configuration.
Definition: CommandlineApplicationInterpreter.cs:6520
LogRecord(ReportType messagetype, string message)
Launches a report.
Definition: LoggerMsg.cs:84
double[] _constraints
Definition: AnalysisResultsDto.cs:223
Vector or point in a 3 dimensional space.
Definition: Vector3Dclass.cs:25
static string MultiCharacter(char ch, int num)
Returns a string containing the specified number of specified (equal) characters.
Definition: App.cs:1957
Parametric sphere surface, usual parameterization via longitude and latitude.
Definition: Sphere.cs:13
static Complex Root(Complex x, int n)
Returns the root with index n of a complex number x .
Definition: Complex.cs:656
Queue< JobContainerType > _jobQueue
Queue of jobs that could not be immediately served, scheduled for later execution.
Definition: ParallerJobDispatcherBase.cs:274
virtual void ClearLogger()
Clears the logger.
Definition: Loader.cs:464
Ajgor's HP laptop, acquired in 2024.
Definition: UtilSpeedTesting.cs:147
static xdouble arctan2(xdouble a, xdouble b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1650
virtual bool IsSymmetric()
Returns true if the current matrix is symmetric, and false if not. If the matrix is not a square matr...
Definition: MatrixBase.cs:653
override string ToString()
Returns a string representation of a physical constant.
Definition: Constants.cs:264
Defines properties of a light source used in rendering.
Definition: LightingDefinition_05.cs:23
string _command
Temporary storage of command name for execution in a new thread.
Definition: InterpreterCommandLine.cs:145
void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
override void CopyToPlain(ref NeuralTrainingLimits trainingLimits)
Copies contents of the current DTO to the specified training limits object.
Definition: SerializationDtoNeural.cs:969
List< CommandMethod > AppAssemblyMethods
List of methods used to perform assembly related commmands.
Definition: ScriptAppBase.cs:3896
Type SourceType
Definition: FromStringTypeConverterViaParseReflection.cs:14
static object LoadBinary(Stream stream)
Load network from specified file.
Definition: UtilSystem.cs:5641
string _msgRequestEnd
Message that ends any multiline request (only when multiline requests are allowed).
Definition: IpcStreamClientServerBase.cs:518
void Dispose()
Definition: TestBase.cs:88
double MinX
Minimal value of the first parameter.
Definition: Function3d2d.cs:729
void RegisterSystemPriorityUpdating()
Registers the UpdateThreadPriorityFromSystem method as "event handler" for system priority changes....
Definition: CommandlineApplicationInterpreter.cs:2211
TWClass(ReporterBase R)
Public constructor, requires the Reporter object on which this object is installed.
Definition: ReporterMsg.cs:3589
static string GetHashFunctionString(IMatrix mat)
Returns a string valued hash function of the specified matrix object.
Definition: MatrixBase.cs:4829
static new xdouble Zero
Zero (value 0.0).
Definition: UtilMath.cs:1579
Matrix3d Inv
Gets inverse of the current matrix.
Definition: Matrix3DClass.cs:669
static mat3 operator+(mat3 m)
Unary plus for 3D matrices, returns the operand.
Definition: Matrix3D.cs:973
virtual int OutputLength
Returns number of output values of the current sampled data element.
Definition: SampledData.cs:64
ICommandLineApplicationInterpreter Interpreter
Command-line interpreter that executes the command.
Definition: CommandlineApplicationInterpreterBase.cs:156
override TTarget ConvertTyped(TSource source)
Converts the parameter source to the target type (TTarget , or equivalently, TargetType),...
Definition: SingleTypeConverterFromDelegate.cs:23
FieldCollection< TIndexField, TIndex > _indexFields
Definition: UnstructuredMesh2dGeneric.cs:65
bool _reqHessians
Definition: FunctonVectorResults.cs:112
void LoadFile(string filePath, string className)
Loads loadable script code form the specified file.
Definition: Loader.cs:1661
static HashType CheckHashSupportedTypesHex(byte[] bytesToCheck, string hashValue)
Checks all supported types of hash value of a string.
Definition: UtilCrypto.cs:742
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
int ReferencedVariableLevelsBelow
Gets the number of stack levels for which the referenced variable is defined below the current variab...
Definition: CommandlineApplicationInterpreterBase.cs:608
static Complex Cos(Complex x)
Definition: Complex.cs:682
Base class for easy definition of surfaces defined through a function of 2 variables.
Definition: Function3d2d.cs:803
static double pow4(double x)
4th power.
Definition: UtilMath.cs:349
void Init(object obj, ReportDelegate reportdelegate)
Initializes the error reporter by the specified auxiliary object and the delegate to perform error re...
Definition: ReporterMsg.cs:1430
Base class for scalar functions of 3 variables (implementations of the IFunc3d interface)....
Definition: Function3d.cs:82
IVector GetPointOutputVector()
Gets the vector of output values of the point containet in the current container. <pra>This method mu...
string _functionsString
Definition: VectorFunctionScriptController.cs:408
override bool Condition()
Returns true if the monitored file exists, and false if not.
Definition: WaitConditionFile.cs:1445
TScalarField _activeScalarField
Definition: UnstructuredMesh3dGeneric.cs:233
TTensorField _activeTensorField
Definition: StructuredMesh2dGeneric.cs:549
int _inputSafetyFactorNum
Definition: NeuralTrainingParameters.cs:1410
Base class for graphic primitives.
Definition: GraphicalObjectsBase.cs:113
void SetPenaltyFunction(int which, IRealFunctionPenalty function)
Sets the penalty function used for evaluation of the specified penalty term.
double b
Definition: Function3d2d.cs:1175
static void ArrayMapPlain(IMatrix a, Converter< double, double > mapping, IMatrix result)
Element-by-element mapping of an arbitrary function. This operation can be performed in place....
Definition: MatrixBase.cs:2595
static int[,] IntArray2x3
Sample 2D rectangular array of int (type int[,]), for use in tests. Dimensions of the array are 2*3.
Definition: SampleCollections.cs:35
IVector ObjectiveGradient
Objective function gradient. If CopyReferences=true (false by default) then only the reference is cop...
Definition: AnalysisResutlsInt.cs:112
static string GetIglibCopyrightInfo()
Returns copyright information of the IGLib assembly.
Definition: UtilSystem.cs:3304
abstract void GetPointCoordinates(PointType pt, ref IVector coord)
Gets vector of coordinates of the specified point and stores it in the specified variable.
static int EigenSystem2d(mat3 a, ref mat3 eigenvec, ref vec3 eigenval)
Calculates eigenvectors and eigenvalues of a 2x2 matrix a and stores eigenvectors to lines of eigenve...
Definition: Matrix3D.cs:875
static void Run(string[] args)
Definition: PortScannerSimple.cs:80
int OutputLevel
Level of information that is output to the console by some methods.
Definition: SerializationDtoNeuralApproximator.cs:186
IVector Parameters
Parameters that define the specific function out of parametric familiy of scalar functions.
Definition: FunctionScalarParametric.cs:28
static RealFunction GetWeightGauss(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object based on Gaussian function (exp(-...
Definition: FunctionRealWeight.cs:37
virtual string CmdSuppressInteractiveFrame(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints and returns or sets and returns value of the flag that specifies whether interactive ...
Definition: CommandlineApplicationInterpreter.cs:3391
bool IsDefined< ElementType >(int rowNumber, int columnNumber)
Returns a flag indicating whether the specified position contains a valid string representation of a ...
Definition: StringTable.cs:269
AnalysisResults(int numParameters, bool reqGradients)
Specified number of parameters, 1 objective, no constraints. No gradients required.
Definition: AnalysisResults.cs:148
string Description
Description of the field.
Definition: FieldGeneric.cs:61
ThreadType InterpreterThread
Interpretation thread that contains the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:878
VectorDto(int length)
Creates a DTO for storing a vector object of any vector type, with specified dimension.
Definition: VectorDto.cs:263
static void TestStaticMethodCommon()
A test method, just prints some output.
Definition: MatrixBase.cs:7636
WaitFileEventBaseByProxy()
Definition: WaitConditionFile.cs:907
static void TestFunction(IFunc3d f)
Demonstrates use of a 3D function by printing to the console 5 values and gradients of the function o...
Definition: Function3d.cs:299
override int GetHashCode()
ParserBase(IParsable< CharType > parsable, IParserState paserState)
Definition: ParserBase.cs:14
void AddScalarField(TScalarField field, string name)
Adds the specified scalar field to the collection of scalar fields under the specified name.
Definition: StructuredMesh2dGeneric.cs:338
A RealFunction class representing a reciprocal power function.
Definition: FunctionRealBasic.cs:216
const string CryptoDecryptBasic
Definition: ScriptAppBase.cs:1193
StructuredSurfaceGridPrimitive()
Definition: GrObjects.cs:494
Definition: PortScanner.cs:405
bool _gradientDefined
Definition: Function3d2d.cs:256
DTO (data transfer object) for neural data output element mapping definition.
Definition: NeuralMapData.cs:125
ParallelJobCallbackGen< InputType, ResultType > OnStartedGeneric
Delegate that is executed on started event.
Definition: ParallelJobContainerGen.cs:137
string _typeFullName
Definition: SerializationDtoBase.cs:758
virtual bool IsAt(int position, Func< CharType, bool > characterMatcher)
Definition: ParsableBase.cs:85
static int _numNotifyPlainEncryption
Definition: UilCryptoAux1.cs:67
void AddCommandFromFile(string commandName, string filePath, string[] initializationArguments)
Adds a new command whose execution is perfomed by an instance of a class that is dynamically compiled...
Definition: LoadableScriptInterpreter.cs:173
abstract INumberOperations< ElementType > NumberOperations
Object that performs numerical operations on elements of the object (such as summation,...
Definition: NumberArrayLikeClass.cs:21
bool _anFormatMath
Definition: OptFileManager.cs:627
bool AsyncIsCompleted(int id)
Returns true if the asynchronous command execution identified by id has completed,...
string ConstAttributeTextDirection
The text direction attribute. Specifies text direction for the content in an element.
Definition: HtmlWriter.cs:95
void ReportError(string location, string message, Exception ex)
Basic error reporting method (overloaded). Supplemental data (such as objects necessary to launch vis...
Definition: ReporterMsg.cs:3264
virtual string VariableReferenceBegin
String that begins a code block in interpreted files.
Definition: InterfaceInterpreterBase.cs:289
virtual bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: AnalysisResults.cs:1033
double GetMax(int componentIndex)
Returns the upper bound on the specified co-ordinate component of the bounding box.
Definition: BoundingBox.cs:1016
int Id
Unique ID of the current point container (important also for testing and debugging).
Definition: PointContainer.cs:222
const string FileRelativePath
Definition: ScriptAppBase.cs:852
string _anOutJsonPath
Definition: OptFileManager.cs:139
override bool GradientDefined
Whether calculation of functio ngradient is defined. Default is false.
Definition: Function2d.cs:144
string RequestString
The last request string that was read from the pipe.
Definition: IpcStreamClientServerBase2.cs:133
static string GetExecutableDirectory()
Returns the directory containing the executable that started the current application.
Definition: UtilSystem.cs:3198
const string ArgSkipDelete
If files are to be deleted, this is automatically wasSkipped without asking whether to delete.
Definition: UtilCryptoAux.cs:581
double a0
Returns the constant term coefficient of the linear function.
Definition: FunctionRealInterpolation.cs:115
void Example50_ExportTorusKnot(int numLongitudinal, int numTransverse, double radius, int p, int q)
Creates the first test of tubular surface generation and export.
Definition: TubularSurfaceExportExamplesTests.cs:1001
IVector OutputMax
Sets the vector of maximal values point OUTPUT values. Needed for calculation of relative coordinate ...
Definition: DistanceComparer.cs:429
Distance comparer for point clouds where point type is SampledDataElement.
Definition: PointCloudSampledDataElement.cs:127
bool AddTW(ref List< TWClass > lwriters, TextWriter writer, bool writeintro, bool disposewriter)
Adds another TextWriter to which reporting will also be performed.
Definition: ReporterMsg.cs:3719
static readonly PhysicalConstant EarthRadius
Earth mean radius, 6371.0 km.
Definition: Constants.cs:1383
double EndParameter2
Definition: KleinBottle.cs:88
string _variableReferenceBegin
Definition: InterfaceInterpreterBase.cs:105
override IComparable GetSecondStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the second level of comparison from the argument.
Definition: Utils.cs:3283
Matrix_MathNetNumerics GetCopyMathNetNumerics()
Creates and returns a newly allocated MathNet.Numerics representation of the current matrix.
Definition: Matrix.cs:772
bool UseEscapeSeuences
Whether or not escape characters are used. Evaluates to true only if the appropriate flag is set and ...
Definition: StringParser.cs:175
void NotifyJobFinished()
Notifies all interested objects that the job has finished.
Definition: ParallelJobServerBase.cs:228
void UpdateDefaultInputValues()
Updates the input field values for which default values are defined on the list DefaultInputValues.
Definition: SimKosecFileManagerBase.cs:749
virtual bool CalculatedHessian
Indicates whether calculation of function Hessian is/was requested.
Definition: FunctionScalarResults.cs:519
static bool _initializedGlobal
Definition: App.cs:391
IVector _output
Definition: NeuralApproximatorBase.cs:2809
~HtmlWriter()
Definition: HtmlWriter.cs:859
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareValueKeyStrict
Comparison of values and then keys (if keys are equal) and finally the (possibly unique) ordering par...
Definition: Utils.cs:3180
Text Settings.
Definition: GrProperties.cs:63
virtual void CopyVector(IVector< ElementType > result)
Definition: VectorBase.cs:374
static byte[] DecryptAsymShort(byte[] originalBytes, AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None)
Definition: UtilCrypto.cs:5081
MatrixStore()
Constructs a new matrix store of unspecified dimensions.
Definition: MatrixBase.cs:7715
void AllocateGradient()
Allocate space for function gradient.
override ICommandLineApplicationInterpreter GetInterpreterBase()
Returns the commans-line interpreter to which the current command thread belongs.
Definition: CommandlineApplicationInterpreterBase.cs:862
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:962
TargetType Converted
Performs test of conversion via ITypeConverter from a value of type OriginalType to a value of the t...
Definition: TypeConverterTestsBase.cs:64
virtual void SetZero()
Sets all components of the current vector to 0.
Definition: VectorBase.cs:362
const string ArgDeleteEncrypted1
Specifies that encrypted files (i.e., files with the FileExtensionEncrypted extension) are deleted.
Definition: UtilCryptoAux.cs:641
void ReportInfo(Exception ex)
Launches an info.
Definition: ReporterMsg.cs:3384
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealBasic.cs:411
string Value
Returns the value of the current node. If the current node is an element then the value of its first ...
Definition: XmlUtilities.cs:1351
static string GetResxResourceName(string resourcePath)
Returns name of the resource with the specified path that was compiled to assembly throuwh a ....
Definition: UtilSystem.cs:3700
StructuredMesh3d(int dim1, int dim2, int dim3, string fieldName)
Constructs a new 3D (unconnected) unstructured grid with the specified dimensions,...
Definition: StructuredMesh3d.cs:46
VectorFunctionScriptDto(int dimension)
Creates a DTO for storing a scalar function object of any vector type, with specified dimension.
Definition: VectorFunctionDto.cs:277
void ReportError(string location, string message)
Launches an error report.
Definition: ReporterMsg.cs:3301
override void HessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian matrix) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:527
int _outputLevel
Default level of output for some of the interpreters' functionality (e.g. asynchronous command execut...
Definition: CommandlineApplicationInterpreter.cs:359
override object ConvertToType(object value, Type targetType)
Converts a value to the specified target type, supporting collections. Conversion is bsed on the actu...
Definition: ReflectionTypeConverter.cs:70
const string ArgLargestKey
True or false follows, a flag specifying whether the largest key for an algorithm is used.
Definition: UtilCryptoAux.cs:339
int[] NumHidenNeurons
Numbers of neurons in each hidden layer.
Definition: NeuralTrainingParameters.cs:403
string _IGHomeEnv
Definition: App.cs:636
virtual void InvalidateNumValues()
Invalidates dimension of function domain. All dependent data is invalidated.
Definition: VectorFunctionScriptController.cs:470
int Length
Vector dimension.
Definition: VectorDto.cs:85
virtual double NextDoubleInclusive(double minValue, double maxValue)
A double-precision floating point number greater than or equal to the specified minimum,...
Definition: Random.cs:383
Base class for classes that can be dynamically loadeded from scripts and run, which provides function...
Definition: LoadableScriptBase.cs:147
override double f2(double u, double v)
Definition: Function3d2d.cs:1397
void AppendSpace()
Definition: JsonPPStrategyContext.cs:131
FieldCollection3d< TIndexField, TIndex > _indexFields
Definition: StructuredMesh3dGeneric.cs:74
void CapturedVarCreation_WorksCorrectlyWithoutStatingVariableTye()
Definition: CapturedVarTests.cs:243
override string ToString()
Returns a stirng containing the server data.
Definition: NamedPipes_Copy.cs:341
static Complex Ln(Complex x)
Returns natural (base e) logarithm of the complex number x .
Definition: Complex.cs:611
void PrepareNumHiddenNeuronsValuesArray(int numLayers, int minNumNeurons, int maxNumNeurons, int numValues, double intervalGrowthFactor)
Prepares values of numbers of neurons in individual layers according to parameters in such a way that...
Definition: NeuralTrainingParameters.cs:2013
virtual bool ReqObjectiveHessian
Indicates whether calculation of objective function Hessian is/was requested.
Definition: AnalysisResults.cs:986
void CircularReference_ShouldSerializeWithReferenceHandler()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:52
NeuraApproximationFileManager(string directoryPath)
Nonstruct a new file manager for neural approximation file client/server that operates in the specifi...
Definition: NeuralFileManager.cs:32
static volatile JsonSerializerOptions _default
Definition: JsonSerializationOptionsFactory.cs:28
const string ArraySeparator
Array element separator used in the string representation of array-like objects.
Definition: CollectionExtensions.cs:45
int _clientJobId
Definition: ParallelJobContainerBase.cs:142
virtual void NlpSimplexBoundConstr(int numConstraints, IVector initialGuess, IVector stepSizes, int maxIt, IVector tolX, double tolF, double tolConstr, IVector lowerBounds, IVector upperBounds, double bigNumber, int printLevel)
Runs the constraint nonlinear (modified Nelder-Mead) simplex minimization algorithm.
Definition: InterfaceInv.cs:784
string _keyScalingLengths
Definition: SampledDataCsv.cs:751
override string ToString()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:124
OptFileManager FileManager
Optimization client/server file manager used by the current analysis server.
Definition: OptFileAnalysisClient.cs:73
const string ProcessHelpListApplications
Definition: ScriptAppBase.cs:4631
string Name
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:59
DTO (Data Transfer Objects) for storing contents of vector function evaluation request.
Definition: VectorFunctionResultsDto.cs:24
double StartParameter
Typical starting value of the parameter of the parametric curve that represents the curve....
Definition: ICurve3DParameterizationWithBounds.cs:42
static Vector BasisVector(int n, int i)
Generates an d2-dimensional unit vector for i-th coordinate.
Definition: Vector.cs:238
SortedDictionary< string, CommandLine > Commands
Definition: InterpreterCommandLine.cs:241
void PushParameter(object param)
Stores a new parameter at the end of the parameter store.
Definition: CommandlineApplicationInterpreterBase.cs:1938
NamedPipeClientBase(string pipeName, string serverAddress, string requestEnd, string responseEnd, string errorBegin)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: NamedPipes_Copy.cs:410
color Color
Definition: GrProperties.cs:20
static List< string > _assemblyResolutionPaths
Definition: UtilSystem.cs:2733
void Derivative(IVector parameters, ref List< IVector > gradients)
Returns the first derivative of this function at the specified parameter.
Definition: FunctionVectorBaseGeneral.cs:285
void CalculateOutput(IVector input, ref IVector output)
Calculates and returns the approximated outputs corresponding to the specified inputs,...
virtual int MinSleepMs
Minimal sleeping time, in milliseconds, between successive condition checks. If less than 0 then mini...
Definition: WaitCondition.cs:254
double ScaleY
Gets or sets the scaling factor for function value.
Definition: FunctionReal.cs:854
Parallel job server for job containers that inherit from ParallelJobContainerGen<IT,...
Definition: ParallelJobContainerGen.cs:606
virtual string GetParametersString()
Returns function parameter names in form of delimited string that contains all function parameter nam...
Definition: ScalarFunctionScriptController.cs:157
bool Equals(ImplicitlyConvertibleFromDerived compared)
Definition: SampleClasses.cs:288
const string ArgDeleteOriginal
Specifies that original files are deleted after being encrypted or decrypted.
Definition: UtilCryptoAux.cs:620
static void GenerateCoordinates1d(Field< vec3 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Generates coordinates of a 1D unstructured grid of a parametric curve according to functions specifyi...
Definition: FieldGeneric.cs:1181
Paraboloid(double a, double c)
Constructs a rotationally symmetric paraboloid.
Definition: Function3d2d.cs:866
vec3 GetQuadrilateral(int i, int j)
Definition: StructuredMesh3D_04.cs:41
StructuredSurfaceMesh3D GenerateMesh(Func< double, double, vec3 > surface, Func< double, double, vec3 > tangent1, Func< double, double, vec3 > tangent2, double tStart1, double tEnd1, double tStart2, double tEnd2, int numPoints1, int numPoints2)
Generates a tubular mesh using the Parallel Transport Frame (PTF) and analytical tangent vectors.
Definition: ParametricSurfaceMeshGenerator.cs:194
static Matrix2d Identity()
Creates a d1*d2 identity matrix.
Definition: Matrix2DClass.cs:211
Point Settings.
Definition: GrProperties.cs:85
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray3DToStringIListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:298
string _msgOptBusyPath
Definition: OptFileManager.cs:153
double[][] _numbers
Definition: SerializerBase.cs:585
bool IsIdle
Gets a flag indicating whether the current job runner is idle.
Definition: ParallelJobServerBase.cs:167
override object EvalToObject(string code)
Evaluates JavaScript code and returns result as object.
Definition: ExpressionEvaluatorJint.cs:144
static vec3 Copy(vec3 v)
Returns a copy of the specified 3D vector.
Definition: Matrix3D.cs:250
override bool HigherDerivativeDefined(int order)
Return a flag indicating whether calculation of specific higher order derivatives.
Definition: RealFunctionScriptBase.cs:210
WaitFileCreation(string filePath)
Definition: WaitConditionFile.cs:653
static int SizeOf(Type t)
Returns size of a value of some specific value type, in bytes.
Definition: Utils.cs:1153
JsonSerializerOptions Create()
Returns the static JsonSerializerOptions object that is locked for modification, obtained via the Def...
Definition: JsonSerializationOptionsFactory.cs:87
Definition: MeshExportExtensions.cs:13
override double f1(double t, double r)
Definition: Function3d2d.cs:1466
virtual bool ValueDefined
Whether calculation of function value is defined. Defaulet is true.
Definition: Function2d.cs:662
DTO (data transfer object) for vector interface (IVector).
Definition: VectorFunctionDto.cs:265
int SaltLength
Length of salt.
Definition: UilCryptoAux1.cs:302
static byte[] GetFileHashBytes(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash (in form of byte array) of specified type of the specified stream.
Definition: UtilCrypto.cs:1136
static IList< string > GetAssemblyResxResources(Assembly assembly, IList< string > resourceNames=null, bool clearBefore=true)
Returns names of the resources included in the specified assemnly through a .resx file and stores the...
Definition: UtilSystem.cs:3955
void FindClosestPointsDummy(IDistanceComparer< PointContainerType, PointType > comparer, int numClosestPoints)
Finds the specified number fo closest points to each point contained in the current cloud,...
Definition: PointCloud.cs:1259
const string ArgKeyBase64Bytes1
Specification that key as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:431
Definition: PointCloudConcrete.cs:100
bool GradientDefined
Whether calculation of function ngradient is defined.
Definition: Function3d2d.cs:24
virtual string CommandIntroduction
String that introduces a new command (and is written before the command name in the command file)....
Definition: InterfaceInterpreterBase.cs:224
void Reset()
Resets the state.
Definition: UtilCryptoAux.cs:164
static readonly PhysicalConstant MagneticConstant
Magnetic constant μ0, vacuum permeability.
Definition: Constants.cs:408
static void Swap(ref double a, ref double b)
Swaps values of the two specified variables of type double.
Definition: UtilMath.cs:104
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: StringParser.cs:83
bool GradientDefined
Whether calculation of function ngradient is defined.
Definition: Function2d.cs:24
static void LoadDefinitionDataCSV(string filePath, int inputLenght, int outputLenght, ref InputOutputDataDefiniton definitionData)
Loads definition data from CSV file.
Definition: SampledData.cs:1603
const string AnOutXmlFilename
Default file name of analysis output file in XML format.
Definition: OptFileConst.cs:43
override string Name
Client name. The same as pipe name.
Definition: IpcNamedPipes.cs:438
Type TargetType
Definition: ToStringTypeConverterViaJson.cs:13
ModelParameter(string name, ValueType defaultValue, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=DefaultIsDefaultWhenValueNotDefined)
Constructor, with value undefined (sets IsValueDefined to false and ValueObject to null) but with def...
Definition: ModelParameterTyped.cs:76
int Count
Number of parameters contained in the set.
Definition: IModelParameterSetBase.cs:95
string GetServerResponse(string requestString)
Sends a request to the server and returns its response.
Definition: ClientServerStreamBase2_Copy.cs:1157
Linear (Affine) function of 2 variables.
Definition: Function2d.cs:427
virtual vec3 Curve(double t)
vec3 Multiply(vec3 b)
Right-multiplies the current 3D matrix with the specified 3D vector and returns the product.
Definition: Matrix3D.cs:818
const string ArgPasswordBase64Bytes
Specification of password as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:454
TIndexField _activeIndexField
Definition: StructuredMesh2dGeneric.cs:85
string Code
Generated script code.
Definition: RealFunctionScriptLoader.cs:337
override T Deserialize< T >(Stream deserializationStream)
Deserializes an object from the specified stream containing JSON representation of the object....
Definition: SerializerJson.cs:209
virtual void InitWaitCondition(int minSleepMs, double maxRelativeLatency)
Initializes blocking parameters to the specified values (or to default values for those parameters th...
Definition: WaitCondition.cs:173
const string KeyUseConsole
Definition: ReporterMsg_Derived.cs:437
Data transfer object for holding data from lists of objects of the same type.
Definition: ArrayDto.cs:175
static double DefaultMomentum
Default value of momentum for neural networks.
Definition: NeuralTrainingParameters.cs:32
override string ToString()
Exports the light definition as a readable string (useful for debugging).
Definition: LightSource.cs:77
virtual void WriteAnalysisOutputMath(string filePath, AnalysisResults anpt)
Stores analysis results to the specified file in the standard format (Mathematica-like,...
Definition: OptFileManager.cs:1061
virtual void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionScalarParametric.cs:370
virtual int OutputLevel
Level of output generated by operatins.
Definition: IpcStreamClientServerBase.cs:94
bool CanAddParameters
Definition: ModelParameterSetFixedBase.cs:168
abstract override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function derivative.
const string AssemblyInfo1
Definition: ScriptAppBase.cs:3917
override void Hessian1(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the first component, just throws the NotImplementedException exce...
Definition: Function3d2d.cs:216
static void AntisymmetricPartPlain(IMatrix a, IMatrix result)
Stores antisymmetric part of a square matrix operand in another matrix. Antisymmetrization is perform...
Definition: MatrixBase.cs:2165
vec3 CrossProduct(vec3 v)
Returns vector product of the current and the specified vector.
Definition: Matrix3D.cs:195
double _distanceFromPoint
Definition: PointLink.cs:88
void Gradient2(double x, double y, out double gradx, out double grady)
Calculates gradient of the second component of the current function and returns its components throug...
virtual void Run(CommandThread cmdThread, List< string > commandLines)
Runs a set of command by the current interpreter.
Definition: CommandlineApplicationInterpreter.cs:1793
int InputLength
Definition: NeuralMapData.cs:165
Definition: ToStringTypeConverterViaParseReflectionTests.cs:11
bool _TextWriterWriteIntro
Definition: ReporterMsg.cs:3989
static readonly PhysicalConstant EarthEscapeVelocity
Earth escape velocity, 11.186e3 numrows/result. Speed where the kinetic energy of an object is equal ...
Definition: Constants.cs:1474
char Separator
Definition: InterpreterCommandLine.cs:339
Definition: FunctionVectorFromScalar.cs:10
static double One
One (value 1.0).
Definition: UtilMath.cs:832
double XX
XX component.
Definition: Matrix3DClass.cs:302
override string ToString()
Returns string representation of the current matrix in the standard IGLib form. Rows and elements are...
Definition: MatrixBase.cs:5099
vec3 _v
Definition: Vector3Dclass.cs:33
static readonly PhysicalConstant S
Siements, the SI derived unit of electrical conductance. S = 1/Ω = result^3 A^2/(numrows^2 kg)
Definition: Constants.cs:988
override void CopyToPlain(ref InputOutputElementDefinition obj)
Definition: SampledDataDto.cs:376
color(color color)
Creates a new color that corresponds to the specified known (system) color enumerated by the System....
Definition: Color.cs:79
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray3DToIntArray3DObjectToIntArray3D()
Definition: CollectionTypeConverterTests .cs:450
override void CopyFromPlain(MappingDefinitionElement obj)
Definition: NeuralMapData.cs:56
void SetGradientDefinitionSingleString(string definitionsString)
Sets definitions of components of function gradients by specifying a string that contains these defin...
Definition: ScalarFunctionScriptController.cs:230
static int GetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm)
Returns the largest possible key size, in bits, for the spcified symmetric encryption algorithm.
Definition: UtilCrypto.cs:3871
ScalarFunctionLinear(IVector gradient0, double scalarTerm)
Creation of a linear scalar function. WARNING: Matrix argument is interpreted as Hessian,...
Definition: FunctionScalarExamples.cs:165
bool _restoreInternalState
Definition: SerializationDtoNeuralApproximator.cs:217
bool ReqValues
Indicates whether calculation of functions is/was requested.
Definition: VectorFunctionResultsDto.cs:44
FileSystemWatcher EventWatcher
Component that responds to file system events.
Definition: WaitConditionFile.cs:188
ExampleClassScalarField(int numElements, string fieldName)
Definition: FieldGeneric.cs:1316
int MappedOutputLength
Gets number of output values.
Definition: NeuralMapData.cs:586
double FromReference(double referenceValue)
Transforms the specified value from reference domain (interval [0,1]) to actual domain.
abstract void NullifyServerPipeLine()
Closes connection of the server pype.
override bool Condition()
Condition that unblocks Wait() when it becomes true. The condition is true if the observed file exist...
Definition: WaitConditionFile.cs:673
StringTable()
Constructs a new string table, a data structure compatible with CSV file format.
Definition: StringTable.cs:50
static int DefaultNumHiddenNeuronsThirdMax
Default value for number of hidden neurons in third hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1284
bool IsLargestKey
Whether the largest available key size for the algorithm in use is taken.
Definition: UilCryptoAux1.cs:338
List< IVector > _constraintGradients
Definition: FunctionScalarResults.cs:95
int GetNumNeuronsInHiddenLayer(int whichLayer)
Returns the number of neurons in the specified hidden layer. Hidden layers are those not containing i...
void PrintNeighborDistanceStatistics(int numClosestPoints, bool calculateDeviations, IDistanceComparer< PointContainerType, PointType > distanceComparer)
Calculates and prints a number of statistics on the distances of the first specified number of closes...
Definition: PointCloud.cs:707
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:761
const string DefaultName
Default interpreter name.
Definition: CommandlineApplicationInterpreter.cs:281
static double StandardSpeedTestGeometricSeries_HpLaptop24(out SpeedTestInfo info, bool writeToConsole=DefaultWriteToConsole_StandardTests)
Performs the standard speed test - calculation of a finite geometric series with specific parameters,...
Definition: UtilSpeedTesting.cs:267
double Value(double x)
Returns the value of this function at the specified parameter.
object _mainLock
Definition: SortedUniqueItemList.cs:78
int NumGraphicSets
Gets number of child graphic sets directly contained in the current graphic set.
Definition: GraphicalObjectsBase.cs:36
static Matrix3d Create(double[,] A)
Constructs a 3D matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix3DClass.cs:163
virtual void TextWriterPrintIntro(TextWriter tw)
Writes to a textwriter the introduction text that is usually printed before logging starts.
Definition: ReporterMsg.cs:4005
const string SystemHelpSystemInfo
Definition: ScriptAppBase.cs:3724
virtual void InvalidateParameterNames()
Invalidates names of parameters. This also means that function value definition and function gradient...
Definition: ScalarFunctionScriptController.cs:324
double EndParameter
Typical end value of the parameter of the parametric curve that represents the knot....
Definition: ParabolicBasinCurve3D.cs:65
const ReportLevel DefaultTracingLevel
Definition: ReporterMsg.cs:2613
string _keyData
Definition: SampledDataCsv.cs:426
Function(IAffineTransformation transf)
Definition: ScalarFunctionScriptExample.cs:46
Represents 3D vector functions of 2 variables.
Definition: Function3d2d.cs:17
void GenerateRandomCloud(int numPoints, int spaceDimension, double minCoordinateValues, double maxCoordinateValues)
Generates a specified number of random points with random co-ordinates that fall within the specified...
Definition: PointCloud.cs:419
static double DefaultOutputBoundSafetyFactor
Default number of output safety factor.
Definition: NeuralTrainingParameters.cs:76
RecursiveNode Child
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:37
void LogWarning(string location, string message, Exception ex)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:724
string _outputBaseDirpath
Definition: SimKosecFileManagerBase.cs:272
bool CompareMinError
Whether the min error in convergence table is used for comparison when errors are compared....
Definition: NeuralTrainingParameters.cs:2898
virtual void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
Definition: FunctonVectorResults.cs:245
static bool IsMaxOs
Returns true if the operating system is a MacOs variant, false otherwise.
Definition: UtilSystem.cs:324
static bool ReadPwdBasic(ref string value, string printchar, bool printrandom, bool repeat=true)
Reads a password from console, masking the input as specified.
Definition: UtilConsole.cs:595
Definition: ReflectionTypeConverterTests.cs:199
bool SetTextWriter(string filename)
Creates a TextWriter upon a file and sets it as the basic TextWriter to which reporting is also perfo...
Definition: ReporterMsg.cs:4110
static double zero
Zero (value 0.0).
Definition: UtilMath.cs:90
ScalarFunctionParametricBase(IVector parameters)
Constructor. Does not define affine transformation of the function.
Definition: FunctionScalarParametric.cs:289
const string ArgDeleteDecrypted1
Specifies that decrypted files (i.e., files with the FileExtensionDecrypted extension) are deleted.
Definition: UtilCryptoAux.cs:633
virtual void AddOrReplace(params(string Key, ModelParameterType Parameter)[] keysAndParameters)
Adds the specified parameter objects to the currrent parameter set at the specified keys....
Definition: ModelParameterSetBase.cs:79
void ClearMessages()
Clears messages from the working directory.
Definition: OptFileManager.cs:961
NamedPipeClientBase(string pipeName)
Constructs a new named pipe client with the specified pipe name, default server address (DefaultServe...
Definition: IpcNamedPipes.cs:389
virtual string CmdAsyncWaitResults(CommandThread cmdThread, string cmdName, string[] args)
Command. Wait until asynchronously invoked command with the specified ID (first argument,...
Definition: CommandlineApplicationInterpreter.cs:4923
static void MultiplyInverseDiagonal(IMatrix a, IVector diag, IMatrix result)
Right-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified r...
Definition: MatrixBase.cs:4695
PointType CreateRandomPoint(int spaceDimension)
Creates and returns a new point with random co-ordinates that fall between 0 and 1 (inclusively).
Definition: PointCloud.cs:356
BoundingBoxBase(double[] min, double[] max)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:381
int ObjectId
Definition: IGlooballyIdentifiable.cs:13
bool EnableRangeTolerance
Flag for enabling toelrance that represent a percentage of the output range.
Definition: NeuralTrainingParameters.cs:1490
virtual void SpecificTypeConverter_RoundTripConversion_OwerflowDoubleToIntObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:88
override double Norm1
Gets an 1 norm of the current 2D vector - sum of absolute values of components.
Definition: Vector2Dclass.cs:403
double Momentum
Definition: SerializationDtoNeuralApproximator.cs:56
string StopRequest
Request that causes the server stop listening and closing the pipe.
Definition: IpcStreamClientServerBase.cs:613
int PasswordLength
Length of the (generated) password.
Definition: UilCryptoAux1.cs:289
Base class for interfaces with interpreters.
Definition: InterfaceInterpreterBase.cs:20
Definition: UtilSpeedTestingTests.cs:29
int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: AnalysisResutlsInt.cs:374
static readonly PhysicalConstant MoonOrbitExcentricity
Moon orbit excentricity, 0.0549.
Definition: Constants.cs:1679
const string SystemHelpUserName
Definition: ScriptAppBase.cs:3699
double Degrees
Definition: ReflectionTypeConverterTests.cs:163
StructuredMesh3d()
Constructs a new empty 3D (unconnected) unstructured grid (no elements contained) with no name and no...
Definition: StructuredMesh3d.cs:25
virtual void ClientTestCalculateApproximation(string inputFilePath, string outputFilePath)
Performs client-side test calculation of neural network based approximation where input parameters ar...
Definition: NeuralFileManager.cs:728
virtual string VersionDirectory
Gets or sets the program'result specific version directory. Setting of this directory should normally...
Definition: App.cs:1428
override double f2(double u, double v)
Definition: Function3d2d.cs:965
int _inputLenght
Definition: NeuralTrainingParameters.cs:1466
ModuleTest(string name, int version, int subversion)
Definition: App.cs:30
int n
The number of oscillations in y direction per full revolution.
Definition: LissajousCurve3D.cs:43
static new xdouble One
One (value 1.0).
Definition: UtilMath.cs:1587
void TrainNetwork(int numEpochs)
Trains neural network wiht the specified data, performing the specified number of epochs.
Definition: NeuralApproximatorBase.cs:2487
ReportLocationDelegate ReportLocationDlgTextLogger
Delegate that assembles the location string for reporting via text logger.
Definition: ReporterMsg.cs:5496
static void SaveJson(AnalysisResults anResulsts, string filePath)
Saves (serializes) the specified analysis results to the specified JSON file. File is owerwritten if ...
Definition: AnalysisResults.cs:1940
virtual Matrix3d GetNewMatrixThis(int rowCount, int columnCount)
Creates and returns a new 3D matrix with the specified dimensona, and of a type that is consistent wi...
Definition: Vector3Dclass.cs:125
virtual string AssemblyFunctionResources(string appName, string[] args, bool includeEmbedded, bool includeResx)
Executes embedded application - writing to the console information about the specified assembly's res...
Definition: ScriptAppBase.cs:4047
void CapturedVar_StaticCaptureVar_WorksCorrectlyWithCastValueNull()
Definition: CapturedVarTests.cs:211
List< IVector > _errorsTrainingRmsList
Definition: NeuralTrainingParameters.cs:458
Definition: ScriptAppBase1.cs:13
static void MultiplyTranspVec(IMatrix a, IVector b, ref IVector result)
R=A^T*b. Multiplies transposed matrix by scalar and stores the result in the specified result matrix....
Definition: MatrixBase.cs:4184
static int Compare(IVector v1, IVector v2)
Compares two vectors and returns -1 if the first vector is smaller than the second one,...
Definition: VectorBase.cs:1021
bool ContainsKey(string key)
Returns true if the current parameter set contains the specified key.
Definition: ModelParameterSetFixedBase.cs:140
static xdouble sgn(xdouble a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:1782
bool StopServe
Whether the pipe should be closed.
Definition: IpcStreamServerBase.cs:65
string TypeFullName
Definition: SerializationDtoBase.cs:742
virtual string Description
Scalar function description.
Definition: ScalarFunctionScriptController.cs:83
DistanceComparer()
Definition: DistanceComparer.cs:239
double EndParameter
Typical end value of the parameter of the parametric curve that represents the knot....
Definition: ICurveParameterization2D.cs:46
virtual bool KeepBestGuess
Whether best results are kept or not.
Definition: OptimizationResults.cs:162
static void ArrayMultiply(IMatrix a, IMatrix b, IMatrix result)
Element-by-element multiplication. WARNING: dimensions of matrices must match, otherwise an exception...
Definition: MatrixBase.cs:2419
static bool _GlobalInitialized
Definition: ReporterMsg_Derived.cs:376
virtual double InputBoundSafetyFactor
Gets or sets input safety factor.
Definition: NeuralTrainingParameters.cs:133
void Copy(IAnalysisResults results)
Copies data from another analysis results.
mat3 Inverse
Gets inverse of the current matrix.
Definition: Matrix3D.cs:735
string DefaultNameSpacePrefix
Definition: XmlUtilities.cs:874
SortedList< string, string > Script_CommandHelpStrings
Contains help strings associated with script commands installed on interpreter.
Definition: LoadableScriptBase.cs:542
static void LoadJson(string filePath, ref VectorFunctionScriptController controllerRestored, ref InputOutputDataDefiniton dataDef)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: VectorFunctionScriptController.cs:722
Data Transfer Object (DTO) for vectors of type IG.Num.Vector. Used to store, transfer,...
Definition: VectorDto.cs:251
override void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
Definition: Function3d2d.cs:581
void LoadDefinition(string filePath)
Loads data definition form the specified CSV file.
Definition: SampledDataCsv.cs:3357
static void ToByteArray(double val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1764
string GetReport(ReportLevel level)
Returns a stirng that contains reports for all logs contained in the logger. Decorations are printed ...
Definition: LoggerMsg.cs:518
StringParser(StringBuilder sb)
Definition: StringParser.cs:58
override double f3(double u, double v)
Definition: Function3d2d.cs:1509
FieldCollection< TScalarField, TScalar > _scalarFields
Definition: UnstructuredMesh1dGeneric.cs:218
int Count
Definition: ArrayAccessors.cs:49
static string GetExecutableAssemblyName()
Returns assembly name of the current executable.
Definition: UtilSystem.cs:3207
System.Numerics.Complex[] EigenValues
Returns the eigen values as a an array of complex numbers.
Definition: MatrixDecompositions.cs:1181
static double sinh(double a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:497
bool IsStart
Definition: JsonPPStrategyContext.cs:65
static string _defaultKeySclaingLengths
Definition: SampledDataCsv.cs:261
int _numIterations
Definition: UtilCryptoAux.cs:757
BoundingBox2d(double[] min, double[] max)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1715
override SampledDataElement CreatePointFromCoordinates(IVector coordinates)
Creates and returns a new point with specified coordinates.
Definition: PointCloudSampledDataElement.cs:41
static int[][] IntJaggedArrayNonrectangular2x3
Sample 2D jagged array of int (type int[][]), for use in tests. The array does not correspond to a re...
Definition: SampleCollections.cs:110
bool StopServe
Whether the pipe should be closed.
Definition: ClientServerStreamBase2_Copy.cs:530
NamedPipeServerStream _serverPipe
Definition: IpcNamedPipes.cs:113
static string DecorationFrameAsterisk(List< string > lines, int indent, int padLeft, int padRight, int padTop, int padBottom)
Returns a string containing the specified text lines in a single frame made of asterisks.
Definition: App.cs:1974
TVectorField ActiveVectorField
Gets active vector field. Has protected setter.
Definition: StructuredMesh2dGeneric.cs:399
delegate string ReportLocationDelegate(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Assembles the error location desctiption.
override double StartParameter
Definition: ConicalSpiralHyperbolic3D.cs:46
string AsyncWait(int callId)
Waits for the specified asynchronous command (specified by command ID) to complete.
bool IsKeyElementTypeOutput(string str)
Whether the specified string is a keyword that marks the output data type.
Definition: SampledDataCsv.cs:495
override double CurvePolar(double t)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
double n
Definition: Function3d2d.cs:1664
SphereParametric()
Constructs parametric definition of a unit sphere
Definition: Function3d2d.cs:984
bool _transfX
Definition: FunctionReal.cs:809
abstract void Optimize()
Performs optimization. This method should be overridden in derived classes.
const string CryptoHelpCheckSum
Definition: ScriptAppBase.cs:1155
VectorDtoBase ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: SerializationDtoNeural.cs:785
virtual void UserSaveCompleteCode(bool append)
Saves or appends the complete code evaluated up to now to a file specified by the user....
Definition: ExpressionEvaluatorCompiled.cs:448
const string ArgAsymKeyFlag
Specification that assymmetric CSP (crypto service provider) flag follows.
Definition: UtilCryptoAux.cs:368
const string DefaultScriptClassName
Default name of the class used in loadable scripts containing user definitions of real function class...
Definition: RealFunctionScriptLoader.cs:49
IVector _Gradient
Definition: FunctionScalarResults.cs:65
void Stop()
Stops the timer and adds the time and CPU time difference measured in the last round to the total tim...
Definition: UtilTime.cs:187
double a
Definition: Function3d2d.cs:1572
void SetLabel(string label)
Definition: UtilTime.cs:234
const string ArgSkipDelete1
If files are to be deleted, this is automatically wasSkipped without asking whether to delete.
Definition: UtilCryptoAux.cs:583
virtual VectorDtoBase OutputValues
Vector of input parameters of a single data element.
Definition: SampledDataDto.cs:43
const string CryptoCertInfo
Definition: ScriptAppBase.cs:1501
VectorFunctionResults(int numParameters, int numFunctions)
Specified number of parameters and functions. No gradients required.
Definition: FunctonVectorResults.cs:65
Sampled data consisting of elements of which each contains vector of input parameters and output valu...
Definition: SampledData.cs:94
static void Copy(VectorBase_MathNetNumerics a, ref IVector result)
Copies components of a vectr to another vector. Resulting vector is allocated or reallocated if neces...
Definition: VectorBase.cs:1231
static xdouble log(xdouble a, xdouble logBase)
Returns the logarithm of a specified number in a specified base.
Definition: UtilMath.cs:1746
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian),...
Definition: ApproxBasis.cs:231
SimKosecFileManagerConvBase(string dataDirectory, double thickness)
Constructor.
Definition: SimKosecFileManager.cs:44
WeightPol4(double Kx, double Sx)
Definition: FunctionRealWeight.cs:662
bool HasDerivative
Definition: ParabolicBasinCurve3D.cs:55
const string ArgCheck1
Verification (check) is performed rather than calculation (although this may also include calculation...
Definition: UtilCryptoAux.cs:304
void SetNames(string returnedValueName, string functionArgumentName, string independentVariableName)
Sets names used in generated script code.
Definition: RealFunctionScriptLoader.cs:193
static double NormPlain(IVector a)
Returns Euclidean norm of the specified vector.
Definition: VectorBase.cs:494
int TextWriterWriteLine(string str)
Similar to TextWriterWrite(), except that a newline is added at the end of the string.
Definition: ReporterMsg.cs:4656
const string NeuralVerificationDataFilename
Verification data.
Definition: NeuralFileConst.cs:52
bool _enableRangeTolerance
Definition: NeuralTrainingParameters.cs:1486
double _inputBoundsSafetyFactor
Definition: NeuralApproximatorBase.cs:1429
virtual Type Type
Definition: ModelParameter.cs:120
string _responseEnd
String (line) that ends a response (only when multiline responses are allowed).
Definition: ClientServerStreamBase2_Copy.cs:118
static string DefaultReportStringConsoleBas(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage, bool timestamp)
Base method for DefaultReportStringConsole and DefaultReportStringConsoleTimeStamp.
Definition: ReporterMsg.cs:5930
void RoundTripConversion_ShouldWorkForDoubleArray()
Definition: ToStringTypeConverterViaJsonTests.cs:61
static bool TestCholeskyDecomposition(int dim, int numRepetitions=1, double tol=1e-6, int outputLevel=0, IRandomGenerator randomGenerator=null, IMatrix A=null, IVector b=null)
Performs test of calculatons performed via Cholesky decomposition of a matrix. Calculation times and ...
Definition: MatrixBase.cs:6878
VectorFunctionScriptDtoBase(int spaceDimension)
Constructor, prepares the current DTO for storing a scalar function of the specified dimension.
Definition: VectorFunctionDto.cs:60
void SaveDefinitionAndData(string filePath)
Saves data definitions AND sampled data to the specified file.
Definition: SampledDataCsv.cs:1984
static string DefaultReportMessage_TextWriter(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Delegate for assembling a report message for this kind of report.
Definition: ReporterMsg.cs:4718
override IRealFunction Function
Gets or sets a real-valued function of one variable that defines the current radial function....
Definition: FunctionScalarRadial.cs:459
double Norm1
1-norm (Manhattan norm or Taxicab norm), sum of absolute values of components.
Definition: VectorBase.cs:67
virtual TScalarField CreateScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh1dGeneric.cs:303
TextWriter Logger
Definition: ReporterMsg.cs:4800
override void CopyFromPlain(IndexList list)
Copies data to the current DTO from an index list object.
Definition: IndexListDto.cs:58
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: CommandlineApplicationInterpreterBase.cs:1777
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArrayToIntIListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:226
const string CryptoRemoveCertificate
Definition: ScriptAppBase.cs:1552
NamedPipeServerStream _serverPipe
Definition: IpcPipes.cs:122
static double max(double a, double b, double c, double d)
Largest of four numbers.
Definition: UtilMath.cs:197
void AllocateParameters()
Allocates space for parameters.
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: OptimizationInputData.cs:105
void GetIntervalLengths(ref IVector intervals)
Gets the interval lengths for co-ordinates of the current bounding box (i.e. differences) and stores ...
Definition: BoundingBox.cs:1098
void Dispose()
Definition: TestBase.cs:85
int AlphaNum
Number of alpha value.
Definition: NeuralTrainingParameters.cs:1386
Type Type
The declared type of the captured entity (variable, property, field, or expression / value of a known...
Definition: ICapturedVar.cs:30
int NumEqualityConstraints
Number of equality constraints.
Definition: Analysis.cs:41
double _learningRateMin
Definition: NeuralTrainingParameters.cs:1306
UnStructuredMesh2d(int dim1, int dim2)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: test_to_delete.cs:34
const string CryptoHelpAsymKeyInfo
Definition: ScriptAppBase.cs:1451
Vector3d VectorProduct(Vector3d v)
Returns vector product of the current and the specified vector.
Definition: Vector3Dclass.cs:441
void Update(vec2 coordinates)
Updates the bounding box in such a way that the specified co-ordinates fit in it.
Definition: BoundingBox.cs:1741
virtual string CmdRunInternalScriptClass(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Dynamically creates and runs an internal script object, i.e. an object of the cl...
Definition: CommandlineApplicationInterpreter.cs:5943
ComparerBase(bool twoStage, bool strict)
Definition: Utils.cs:3188
string _definitionsMark
Definition: ExpressionEvaluatorCompiled.cs:330
string ActiveIndexFieldName
Gets or sets name of the currently active index field. This determines the currently active index fie...
Definition: StructuredMesh2dGeneric.cs:113
double ScalarTerm
Scalar additive constant.
Definition: FunctionScalarExamples.cs:217
Parameterized real-valued functions of single variable.
Definition: FunctionRealParametric.cs:20
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: SerializationDtoNeural.cs:112
Definition: CloseSquareBracketStrategy.cs:3
void AddElement(SampledDataElement element)
Adda a new element to sampled data.
Definition: SampledData.cs:276
const double bDefault
Default valur of b.
Definition: Ellipsoid.cs:32
static IRandomGenerator CreateThreadSafe(int seed)
Creates and returns a new random generator initialized with a specified seed.
Definition: Random.cs:170
int Zeros(out double x1, out double x2, out double x3)
Calculates and returns real zeros of the function. Also returns the number of real zeros (0,...
Definition: FunctionRealInterpolation.cs:1044
void LoadCode(string code, string classFullName)
Loads code form a string.
Definition: Loader.cs:1528
bool AllowSingleFunction
Whether a single function can be used for evaluating penalty terms corresponding to different constra...
Definition: AnalysisResults.cs:2398
string _msgAnBusyFileName
Definition: OptFileManager.cs:145
void TriggerPulsing()
Triggers pulsing performed by this object's thread.
Definition: WaitConditionFile.cs:83
string GetPath(string relativePath)
Returns full path of the file or directory with the specified relative path within the data and messa...
Definition: OptFileManager.cs:112
void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
virtual int NumParameters
Gets number of parameters that define the current function out of parametric family of scalar functio...
Definition: FunctionScalarRadial.cs:484
Definition: ISerializationBinder.cs:11
double MaxZero
Maximal value for which penalty function is zero.
Definition: FunctionRealPenalty.cs:211
virtual bool IsModuleLoaded(string moduleName)
Returns true if the specified module has been loaded on the interpreter, false if not.
Definition: CommandlineApplicationInterpreter.cs:2845
TraceSwitch _TracingSwitch
Definition: ReporterMsg.cs:2962
KleinBottle()
Definition: Function3d2d.cs:1523
override int OutputLength
Gets or sets the number of output neurons.
Definition: NeuralApproximatorBase.cs:664
NamedPipeClientBase(string pipeName, string serverAddress)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: IpcNamedPipes.cs:397
object DefaultValueObject
Default value of the parameter, stored as object.
Definition: IModelParameter.cs:66
void GetAbsoluteCoordinates(IVector relativeCoordinates, ref IVector absoluteCoordinates)
Calculates absolute (physical) coordinates, with respect to the current bounding box,...
bool _isTesting
Definition: IpcNamedPipes.cs:117
void ReadElementDescriptions()
Reads descriptions of input and output data elements from the CSV, from the current position on (incl...
Definition: SampledDataCsv.cs:2701
Interface for classes whose type information can be stored in the corresponding data transfer objects...
Definition: SerializationDtoBase.cs:732
PointContainerType Point
Gets or sets the point that is contained in the current container.
Definition: PointLink.cs:79
void CheckAndCorrectNames()
Corrects the ClassName (if the current class name has already been used) and namespace and class name...
Definition: Loader.cs:656
static bool IsAnnDllTestMode
Whether dynamic testing of software is on (helps in agile software development).
Definition: App.cs:2271
CustomList(IEnumerable< T > items)
Definition: SampleClasses.cs:440
static void MultiplyMatTranspPlain(IMatrix a, IMatrix b, IMatrix result)
R=A*B^T. Multiplies a matrix by transpose of another matrix and stores the result in the specified re...
Definition: MatrixBase.cs:2870
override CommandStackFrame< ICommandLineApplicationInterpreter, CommandThread > GetParentStackFrame()
Returns the previous (parent, or one lower level) stack frame of the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:706
void AddElement(int rowNum, string value)
Adds a new element at the end of the specified row of te data table.
Definition: StringTable.cs:472
Represents a structured quadrilateral mesh in 3D space.
Definition: StructuredMesh3D_04.cs:14
List< IMatrix > GetConstraintHessians()
Returns the list of constraint functions' Hessians.
static XmlElement GetElement(XmlNode basenode, string xpath)
Returns the first ELEMENT node in the XML sub-tree whose root is basenode that satisfies the specifie...
Definition: XmlUtilities.cs:651
int _numObjectives
Definition: FunctionScalarResults.cs:84
virtual string VarNameGradObjectiveMom
Definition: InterfaceInv.cs:144
int NumGraphicPrimitives
Gets number of child graphic primitives directly contained in the current graphic set.
Definition: GraphicalObjectsBase.cs:53
int Depth
Gets or sets the current indentation level for on-line output. This should normally be done by callin...
Definition: ReporterMsg.cs:2490
string Run(string[] arguments)
Runs the executable method of the object.
string _invAnCommandFilename
Definition: OptFileManager.cs:163
override string ToString()
Returns a short representation of the current object, containing the captured entity's declared type,...
Definition: CapturedVar.cs:142
virtual void WriteMetaTagGeneral(params string[] attributeNameValuePairs)
Wirtes the meta tag with specified pairs of field names and corresponding values.
Definition: HtmlWriter.cs:348
Definition: UtilSpeedTesting.cs:210
virtual void SetHiddenLayers(params int[] numNeurons)
Sets the numbers of neurons in each hidden layer. Can be called with table of integers as argument,...
Definition: NeuralApproximatorBase.cs:832
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArray3DToStringJaggedArray3DObjectToIntJaggedArray3D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:819
static int GetMaximalAsymmetricTextLength(AsymmetricAlgorithm alg)
Returns the maximal size of a byte array that can be encrypted by using the specified asymmetric algo...
Definition: UtilCrypto.cs:4662
UnstructuredMeshGeometry3d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured grid with the specified number of elements, name and description....
Definition: UnstructuredMeshGeometry3dGeneric.cs:42
virtual IVector GetOutputValues(int which)
Returns the vector of output values of the specified element of the sampled data set.
Definition: SampledData.cs:346
SerializationBinderSimple(string origAssemblyName, string origTypeName, Type targetType)
Constructor, specifies internally stored parameters for mapping serialized assembly and type name to ...
Definition: SerializationBinderSimple.cs:30
override string RunThis(string[] arguments)
Runs action of the current object.
Definition: ScriptAppBase.cs:308
bool IsOutputFormat64
Whether output is in form of base-64 encoded byte array.
Definition: UilCryptoAux1.cs:506
string CsvSeparator
Separator used to separate values in CSV files.
Definition: SimKosecFileManagerBase.cs:290
@ mol
Mole, an SI unit for amount of substance.
string _userNameLowerCase
Definition: ApplicationCommandLineBase.cs:144
void ReportError(Exception ex, string location)
Launches an error report.
Definition: ReporterMsg.cs:3284
Classes that can be used for solution of linear systems of equations.
Definition: MatrixDecompositions.cs:44
virtual void Analyse(IVector param, bool calcobj, bool calcconstr, bool calcgradobj, bool calcgradconstr)
Command - runs a direct analysis at the specified parameters, with specified calculation flags.
Definition: InterfaceInv.cs:500
static string ToStringNewlines(IMatrix mat)
Returns a string representation of the specified matrix with newlines inserted after each row....
Definition: MatrixBase.cs:4910
double B
Blue component of the color (range from 0 to 1).
Definition: Color.cs:116
Identity()
Definition: FunctionRealBasic.cs:384
Definition: ReporterMsg_Derived.cs:17
string UnitsString(SI[] units)
Returns a string that represents units listed in units.
Definition: Constants.cs:146
bool UseTextWriter
Gets or sets the flag specifying whether reporting using a text writer is performed or not.
Definition: ReporterMsg.cs:3970
int _numDefinitionColors
Number of specified colors that define the color scale.
Definition: ColorScale.cs:252
TraceSwitch TracingSwitch
Gets or sets the TraceSwitch that is synchronized with TracingLevel. IMPORTANT: State of the object o...
Definition: ReporterMsg.cs:3018
LoadableScriptBase _script
Definition: LoadableScriptBase.cs:494
UnstructuredMesh1d2d(int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy)
Constructs a (unconnected) unstructured grid based on 1D regular grid with grid direction parallel to...
Definition: UnstructuredMesh1d2d.cs:71
void RemoveModule(Module m)
Removes the specified module to the application's list of modules.
Definition: App.cs:335
static bool DoLaunch(ReportType reptype, ReportLevel replevel)
Returns true if the report of a given type will be launched at the given reporting level,...
Definition: ReporterMsg.cs:2707
abstract void InitDynamic()
Initialization of variables that are used by dynamic loading mechanisim. This function must be overri...
ICommandLineApplicationInterpreter _interpreter
Definition: CommandlineApplicationInterpreter.cs:5303
Double Objective
Value of the objective function.
Definition: AnalysisResultsDto.cs:270
void GenerateCoordinates(int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of an (unconnected) unstructured grid of points based on coordinates of a struc...
Definition: UnstructuredMesh3d.cs:173
virtual string CryptoFunctionCheckSum(string appName, string[] args)
Executes embedded application - calculation AND verification of various hash values of a file or a st...
Definition: ScriptAppBase.cs:1175
virtual string VarNameCalcConstraints
Definition: InterfaceInv.cs:129
const string DefaultApplicationCodeName
Definition: App.cs:836
bool _eventOccured
Definition: WaitConditionFile.cs:192
static void ToByteArray(UInt64 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1661
object Lock
Definition: FunctionVectorBaseGeneral.cs:33
abstract int OutputLength
Gets or sets the number of output values.
Definition: VectorApproximatorBase.cs:39
string _simulationDataDefinitionPath
Definition: NeuralFileManager.cs:133
object Convert(object source)
Definition: ToStringTypeConverterViaParseReflection.cs:49
vec3 VectorProduct(vec2 v)
Returns vector product of the current and the specified vector.
Definition: Matrix2D.cs:171
override string ToString()
Returns human readable string representation of the current object.
Definition: ScalarFunctionScriptController.cs:879
virtual double NextDouble(double maxValue)
A double-precision floating point number greater than or equal to 0.0, and LESS than the specified ma...
Definition: Random.cs:336
static void Save(string str, string filePath)
Saves the specified string to a specified file. If the file already exists then is content is overwri...
Definition: UtilString.cs:848
override void RunJobDefined(JobContainerType jobData)
Runs the job whose data is contained in the specified job data container.
Definition: ParallelJobContainerGen.cs:618
UnstructuredMesh1d(int numElements)
Creates a new unstructured mesh with the specified number of elements.
Definition: UnstructuredMesh1dGeneric.cs:41
void SetInterpolation(double x1, double y1, double x2, double y2, double x3, double y3)
Initializes the quadratic interpolation function with specified three function values.
Definition: FunctionRealInterpolation.cs:381
virtual string CmdWriteLine(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints concatenated argument with spaces between them.
Definition: CommandlineApplicationInterpreter.cs:4113
void ReportError(string location, string message, Exception ex)
Basic error reporting method (overloaded). Supplemental data (such as objects necessary to launch vis...
bool IsConstant
Whether the current parameter is a constant, i.e., it cannot change its value once it is set.
Definition: IModelParameter.cs:102
static string GetEmbeddedResourceDirectory(string resourcePath)
Returns path of the embedded resource' directory for a resource with the specified path.
Definition: UtilSystem.cs:3785
string _quitCommand1
Definition: ExpressionEvaluatorCompiled.cs:352
const string CryptoGetInitializationVector1
Definition: ScriptAppBase.cs:1280
static string DefaultStopRequest
Default stop request string - request string that will stop the server.
Definition: IpcStreamClientServerBase.cs:594
static string DefaultReportLocation_Trace(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Delegate for assembling a location string for this kind of report.
Definition: ReporterMsg.cs:5775
VectorDtoBase ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: SerializationDtoNeural.cs:801
virtual void RepairCommand(ref string command)
Repairs the specified command and returns the repaired command string.
Definition: ExpressionEvaluatorCompiled.cs:272
virtual void GetInputFilePaths(ref List< string > inputFilePaths, bool enableWildcards=true, bool addRecursive=true, bool clearBefore=true)
Gets a list of input files specified by command-line arguments that had been previously parsed by the...
Definition: UilCryptoAux1.cs:1157
string _stoppedResponse
Definition: IpcStreamClientServerBase.cs:693
virtual IBoundingBox InputParameterBounds
Bounds on input parameters.
Definition: SimKosecFileManagerBase.cs:1288
Abstract base class for all graphic primitives such as lines, facets, etc.
Definition: GrObjects.cs:292
static IList< Assembly > GetReferencedAssemblies(IList< Assembly > assemblyList, bool clearBefore=true)
Adds the executable assembly and all its DIRECTLY referenced assemblies without those from GAC to the...
Definition: UtilSystem.cs:2468
string MsgAnResultsReadyPath
File path of the analysis results ready flag file. Setter takes only pure file name,...
Definition: OptFileManager.cs:461
bool IsNegativeInfinity
Indicates whether the current Scalar represents negative infinity.
Definition: Scalar.cs:100
VectorFunctionRequestDTO()
Default constructor.
Definition: VectorFunctionResultsDto.cs:30
PortScannerSimple(string host)
Definition: PortScannerSimple.cs:32
void Tabulate(double from, double to, int numPoints)
Tabulates the current function and its first and second derivatives (when available) on the specified...
string _label
Definition: UtilTime.cs:99
string _lockFileMutexName
Definition: OptFileManager.cs:181
override void RunOnStarted()
Called when 'started' notification is triggered (within the method NotifyJobStarted()).
Definition: ParallelJobContainerGen.cs:143
static void Multiply(IMatrix a, IVector b, ref IVector result)
R=A*b. Multiplies matrix by scalar and stores the result in the specified result matrix....
Definition: MatrixBase.cs:4094
Defines alignment (vertical and horizontal) of some object.
Definition: Alignment.cs:30
Classes that provide separate type names. Classes used e.g. in interpreter systems to represent types...
Definition: Vartypes.cs:150
const string ArgPathsRelative1
Paths will be output as relative paths.
Definition: UtilCryptoAux.cs:594
bool IsVariableDefined(string varName)
Returns true if the specified variable is defined, false if it is not.
Definition: CommandlineApplicationInterpreterBase.cs:1363
bool SetTextLogger(TextWriter writer)
Sets the text writer to which reporting is also performed.
Definition: ReporterMsg.cs:4837
bool InverseDefined
Whether calculation of inverse function is implemented.
Definition: RealFunctionScriptLoader.cs:163
void BeginTagWithText(string tagName, string text, params string[] attributeNameValuePairs)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:523
String AuthorAddress2
Definition: App.cs:859
int P
Definition: CylindricalBilliardKnot.cs:84
byte[] IvBytes
Initialization vector as byte array.
Definition: UilCryptoAux1.cs:323
bool _isMultilineRequest
Definition: IpcStreamClientServerBase.cs:743
virtual string ReadRequest()
Reads the next request from the pipe.
Definition: ClientServerStreamBase2_Copy.cs:612
Mutex _lockFileMutex
Definition: OptFileManager.cs:193
static void HideConsoleWindow()
Hides the console window.
Definition: UtilConsole.cs:40
bool CheckOutputUniqueness
Definition: NeuralMapData.cs:171
static void Example_01()
Definition: TubularSurfaceExamples.cs:117
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
Definition: MatrixDecompositions.cs:1207
int NumCommandThreads
Returns the number of command threads that are currently contained on the interpreter.
Definition: CommandlineApplicationInterpreterInterface.cs:52
string _errorBegin
String (line) that ends a response (only when multiline responses are allowed).
Definition: ClientServerStreamBase2_Copy.cs:136
UnstructuredMeshGeometry2d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured grid with the specified number of elements, name and description....
Definition: UnstructuredMeshGeometry2dGeneric.cs:43
virtual string CmdThreadId(CommandThread cmdThread, string cmdName, string[] args)
Command. Returns the interpreter's current executing thread Id.
Definition: CommandlineApplicationInterpreter.cs:3250
static MatrixBase operator-(MatrixBase m)
Unary negation, returns the negative operand.
Definition: MatrixBase.cs:5174
const int StackLevelDefault
Default stack level - StackLevelUndefined
Definition: CommandlineApplicationInterpreterBase.cs:429
virtual void OnChanged(object source, FileSystemEventArgs e)
Handles events triggered when a file or directory is changed.
Definition: WaitConditionFile.cs:246
static string DefaultKeyElementTypeOutput
Default element type keyword for output element.
Definition: SampledDataCsv.cs:89
const string AssemblyHelpInfo
Definition: ScriptAppBase.cs:3919
PhysicalConstant(double value, double relativeerror, SI[] numerator, SI[] denominator)
Creates a new physical constant with specified properties (value, units, description....
Definition: Constants.cs:69
bool AddTW(ref List< TWClass > lwriters, Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:3754
const string KeyLevelOn
Definition: ReporterMsg.cs:2304
override double SecondDerivative(double x)
Returns the second derivative of the given order of this function at the specified arameter.
Definition: FunctionReal.cs:1030
static Counter operator+(Counter s)
Definition: Scalar.cs:518
int NumCells
Number of cells in discrete color scale.
Definition: ColorScale.cs:518
virtual vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:82
object lockobj
Object used for locking.
Definition: ReporterMsg.cs:1021
WeightPol4()
Definition: FunctionRealWeight.cs:658
override bool DerivativeDefined
Definition: FunctionRealBasic.cs:567
bool _referenceAllLoadedAssemblies
Definition: Loader.cs:1010
void ThreadServe()
Launches a named pipe server in a new thread.
Definition: IpcStreamServerBase.cs:412
bool _copyReferences
Definition: AnalysisResults.cs:209
TElement GetValue(int index)
Returns element of the field at the specified index.
Definition: FieldGeneric.cs:116
int _numx
Definition: Function3d2d.cs:725
string _csvSeparator
Definition: StringTable.cs:1097
virtual void Clear()
Definition: SampledData.cs:270
abstract void LoadNetworkSpecific(string filePath, bool useSerializationBinderIfSpecified=true)
Restores neural network from a file where it has been stored before.
Vector2d(double x, double y)
Initializes components of a 2D vector with the specified values.
Definition: Vector2Dclass.cs:192
double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
bool IsParameterizedStart
Gets the flag indicating whether the current traced thread uses a parameterized thread start.
Definition: TracedThread.cs:105
Type SourceType
Definition: FromStringTypeConverterViaIConvertible.cs:13
bool tcpOpen
Definition: PortScanner.cs:28
static readonly PhysicalConstant N
Newton, the SI derived unit of force. N = numrows kg/result^2.
Definition: Constants.cs:915
MatrixDto(int rowCnt, int columnCnt)
Creates a DTO for storing a matrix object of the Matrix type, with specified dimension.
Definition: MatrixDto.cs:291
static Complex I
Gets the imaginary unit i.
Definition: Complex.cs:385
IVector ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: NeuralApproximatorBase.cs:167
static void ExampleRegistrable()
Example use of the IdGenerator class and its Proxy subclass to implement the IIdentifiable interface.
Definition: UtilIdRegistration.cs:364
const string ArgOutputFile1
Specification of output file follows.
Definition: UtilCryptoAux.cs:560
string _msgOptResultsReadyPath
Definition: OptFileManager.cs:157
bool _canceFlag
Definition: WaitCondition.cs:88
static string ToString(this IMatrix mat, string elementFormat)
Returns string representation of the current matrix in the standard IGLib form, with the specified ...
Definition: MatrixBase.cs:268
static void LoadJson(string filePath, ref VectorFunctionScriptController controllerRestored, ref VectorFunctionScriptDto dto)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: VectorFunctionScriptController.cs:705
abstract MatrixBase GetNewBase(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensions, and of the same type as the current m...
double LearningRate
Learning rate.
Definition: SerializationDtoNeural.cs:28
static void Symmetrize(IMatrix a, IMatrix sym, IMatrix antiSym)
Calculates symmetric and antisymmetric part of the specified matrix (symmetric part is stored in the ...
Definition: MatrixBase.cs:1962
string[][] Table
Gets or sets copy of the data table in form of 2D jagged array.
Definition: StringTable.cs:645
void messageSeparator(char messageSeparator)
Changes message separator for the current object.
Definition: IpcStreamClientServerBase.cs:244
BoundingBoxDto()
Creates a DTO for storing state of a bounding box object of any vector type
Definition: BoundingBoxDto.cs:181
double NormInf
Gets an infinity norm of the current 3D vector - maximal absolute component value.
Definition: Matrix3D.cs:151
double _c
Definition: Function3d.cs:602
virtual void CommandLine()
Command-line utility where user can successively enter JavaScrit expressions or general portions of c...
Definition: ExpressionEvaluatorCompiled.cs:595
void Json_InitOnlyRecord_Deserialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:187
virtual string AssemblyFunctionResourcesEmbedded(string appName, string[] args)
Executes embedded application - writing to the console information about the specified assembly's emb...
Definition: ScriptAppBase.cs:4010
override bool HasDerivativePolar
Definition: ConicalSpiralArchimedian3D.cs:42
static xdouble max(xdouble a, xdouble b)
Returns the larger of two numbers.
Definition: UtilMath.cs:1754
virtual void ClientSendAnalysisRequest()
Sends request to the server for calculation of analysis response.
Definition: OptFileManager.cs:1155
static RealFunction GetWeightPol3()
Creates and returns a new real polynomial weighting function object. Reference function: bell like fu...
Definition: FunctionRealWeight.cs:457
virtual void SetUserName(string userName)
Sets name of the current user. This method is provided to enable testing code under another user name...
Definition: ApplicationCommandLineBase.cs:154
BoundingBox(int dimension)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal co-or...
Definition: BoundingBox.cs:1422
static byte[] EncryptAsymShort(byte[] originalBytes, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None, AsymmetricAlgorithm algorithm=null, string containerName=null, string xmlString=null, CspProviderFlags flags=CspProviderFlags.NoFlags, bool useLargestKey=false)
Definition: UtilCrypto.cs:5123
void SetGradient(IVector value)
Sets the function gradient. If CopyReferences=true (false by default) then only the reference is copi...
ModelParameterSetFixedBase(string title, string description, params(string Name, ModelParameterType Parameter)[] keysAndParameters)
Constructor, initializes the current model parameter set, optionally using tuples of names and parame...
Definition: ModelParameterSetFixedBase.cs:43
static bool operator==(vec2 a, vec2 b)
Vector comparison.
Definition: Matrix2D.cs:299
InterpreterVariable _referencedVar
Definition: CommandlineApplicationInterpreterBase.cs:492
BoundingBox1d(double[] coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1854
Contains stack frames and other command thread data for a single command thread of a command-line int...
Definition: CommandlineApplicationInterpreterBase.cs:729
object _mainLock
Definition: Loader.cs:135
static void Multiply(IVector a, double scal, ref IVector result)
Multiplication of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1748
static double Max(double a, double b)
Largest of two numbers.
Definition: UtilMath.cs:887
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system is nonsingular.
Definition: MatrixDecompositions.cs:893
TVectorField AddVectorField(string fieldName, string fieldDescription)
Creates a new vector field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: StructuredMesh3dGeneric.cs:488
string MsgFunctionInputReadyPath
File path of the message file indicating that reduced input data is ready to be processed....
Definition: NeuralFileManager.cs:1009
string _returnedValueName
Definition: ScalarFunctionScriptBase.cs:86
virtual void AddReferencedAssemblies(params string[] assemblyFiles)
Adds the specified assemblies to the list of referenced assemblies. Assemblise are added only if not ...
Definition: Loader.cs:1045
static void DeleteKeyInCsp(AsymmetricAlgorithmType algorithmType, string containerName)
Deletes the asymmetric algorithm keys from the specified key container.
Definition: UtilCrypto.cs:4913
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:299
void Update(params Vector3d[] points)
Updates the bounding box in such a way that all specified points fit in it.
Definition: BoundingBox.cs:1622
static int DefaultNumHiddenNeurons
Default number of hidden neurons in a layer
Definition: NeuralTrainingParameters.cs:45
IEnumerator< T > GetEnumerator()
Definition: SampleClasses.cs:479
SortedList< string, string > _script_CommandHelpStrings
Definition: LoadableScriptBase.cs:46
static void ParseHashFileString(string str, ref List< string[]> hashList)
Parses the string containing hash values of one or more files, and adds the parsed pairs {hash,...
Definition: UtilCrypto.cs:592
static xdouble Min(xdouble a, xdouble b)
Returns the smaller of two numbers.
Definition: UtilMath.cs:1758
override void InitAppFile()
Initializes commands for file system related utilities (embedded applications).
Definition: ScriptAppBase.cs:69
virtual ICommandLineApplicationInterpreter Script_Interpreter
Script's internal interpreter that takes care for execution of installed internal commands.
Definition: LoadableScriptBase.cs:460
void Save(string filePath, bool append)
Saves buffer contents to a text file.
Definition: StringParserBuffer.cs:238
virtual T TryGetNew()
Returns a newly created object eligible for storage, or null if such an object can not be created....
Definition: UtilObjectStore.cs:254
Vector3d ColumnZ
Gets or sets the z-column of the 3D matrix.
Definition: Matrix3DClass.cs:488
ScalarFunctionOneParametric(double parameter, IAffineTransformation transformation)
Constructor. Creates a new parametric scalar function with the specified parameter and transformation...
Definition: FunctionScalarParametric.cs:166
const string DefaultFunctionArgumentName
Default name of the function argument in script functions.
Definition: RealFunctionScriptLoader.cs:68
static int SkipToCharacter(string str, int beginpos, char target)
Definition: StringParser0.cs:393
ComplexVector(Complex[] elements, bool copyElements)
Definition: ComplexVector.cs:29
Vector3d ColumnY
Gets or sets the y-column of the 3D matrix.
Definition: Matrix3DClass.cs:481
virtual string ObjectName
Definition: SerializerBase.cs:742
const string CryptoAsymKeyInfo
Definition: ScriptAppBase.cs:1449
override double CurveDerivativePolar(double t)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
string _commandName
Definition: Interpreter.cs:77
void GetErrorsTrainingMax(ref IVector errors)
Calculates the maximum absolute errors of output values for the training elements of the training set...
Definition: NeuralApproximatorBase.cs:2349
ScriptAppBase()
Definition: ScriptAppBase.cs:296
virtual void Test(double from, double to, int numProbes, double stepSize, double tolerance)
Performs some numerical tests on the current function, such as correctness of first and second deriva...
Definition: FunctionReal.cs:405
double GetMin(int which)
Returns the lower bound on the specified co-ordinate component of the bounding box.
string Indent
Definition: JsonPPStrategyContext.cs:16
static volatile Assembly _executingAssembly
Definition: UtilSystem.cs:2149
ParallelJobCallback OnFinished
Delegate that is executed on started event.
Definition: ParallelJobContainerBase.cs:347
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarRadial.cs:189
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: ScalarFunctionScriptBase.cs:110
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: ScalarFunctionScriptBase.cs:112
double Fi
Please do not use, this property might be deprecated in the future.
Definition: Complex.cs:223
override double EndParameter
Definition: ConicalSpiralHyperbolic3D.cs:49
IModelParameter< ValueType > UpdateValue(ValueType newValue)
virtual void ReadAnalysisInputJson(string filePath, ref AnalysisResults anpt)
Reads analysis input data (request) from the specified file in the JSON format, and stores the data i...
Definition: OptFileManager.cs:1040
override bool ValueDefined
Whether calculation of function value is defined. Defaulet is true.
Definition: Function3d.cs:145
UnstructuredMeshGeometry2d(int numElements, string fieldName)
Constructs a new unstructured grid with the specified number of elements and name.
Definition: UnstructuredMeshGeometry2dGeneric.cs:33
static XmlElement[] GetElements(XmlNode basenode, string xpath)
Returns an array of all elements _gridCoordinates in the XML sub-tree whose root is basenode that sat...
Definition: XmlUtilities.cs:624
static string GetFileHashSha512Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA512 hash string of the specified stream.
Definition: UtilCrypto.cs:1217
string _functionArgumentHessianName
Definition: ScalarFunctionScriptBase.cs:89
string[] InitializationArguments
Arguments used by the initialization method. WARNING: arguments can only be set before initialization...
Definition: LoadableScriptBase.cs:234
override void Script_AddCommands(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Adds commands to the internal interpreter.
Definition: ScriptAppBase.cs:54
double Hue
Gets the hue-saturation-brightnes (HSB) value for hue of the current color (in the range 0 to 1).
Definition: Color.cs:224
int Read(string str, int startpos, bool skipspaces)
Reads in the value from a string, starting at a specified position. Returns the position of the first...
Definition: Scalar.cs:350
virtual bool IsErrorResponse(string responseString)
Returns true if the specified response string represents an error response (exception),...
Definition: ClientServerStreamBase2_Copy.cs:146
IVector _tolRmsRelative
Auxiliary properties for defining tolerances in a relative way:
Definition: NeuralApproximatorBase.cs:965
static void KillFirstApplicationByWindowTitle(string mainWindowTitle, bool caseSensitive, bool isFullString)
Kills the first running application found that has the specified main window title.
Definition: UtilSystem.cs:1758
string _quitCommand
Definition: ExpressionEvaluatorCompiled.cs:351
static Exception ReviseException(Exception ex, string messageaddition, bool keepmessage, bool oldasinner)
Takes an existing exception and returns a modified exception based on it. The returned exception is o...
Definition: ReporterMsg.cs:1710
static void LuExtractLower(IMatrix matLu, ref IMatrix result)
Extracts the lower part of the Doolittle specified LU decomposition (1s on diagonal,...
Definition: MatrixBase.cs:5574
void LoadCsv(string filePath)
Loads the specified CSV file. Reads contents of the file into the data table of the current object.
Definition: StringTable.cs:1126
int _id
Definition: PointContainer.cs:218
SnailConicSpiral_ToCheck(double a, double b, double c, double n)
Creates a parametric definition of a snail shell/like surface with the specified parameters.
Definition: Function3d2d.cs:1656
bool CalculatedGradients
Indicates whether calculation of functions gradient is/was requested.
Definition: FunctionVectorResultsInt.cs:298
Function(double Kx, double Sx)
Definition: RealFunctionScriptExample.cs:44
bool ReqHessian
Indicates whether calculation of function Hessian is/was requested.
Definition: FunctionScalarResultsInt.cs:190
static Process ExecuteSystemCommand(string workingDirectory, bool asynchronous, bool useShell, bool createNoWindow, string redirectedOutputPath, bool redirectStandardOutput, string command, params string[] args)
Executes system command with arguments.
Definition: UtilSystem.cs:435
const string NumericsScriptScalarFunction
Definition: ScriptAppBase.cs:580
void Test()
Definition: RandomGaussian.cs:19
static string[] _igLibLongSaltSuffices
An array of standard IGLib salt suffices.
Definition: UtilCrypto.cs:5172
const string ProcessHelpKillApplicationsByWindow
Definition: ScriptAppBase.cs:4940
const int StackLevelGlobal
Stack level used for global variables.
Definition: CommandlineApplicationInterpreterBase.cs:423
virtual color GetColor(double value)
Returns the color from the current collor scale that corresponds to the specified value.
Definition: ColorScale.cs:463
void AppendFunctonDefinition(StringBuilder sb, string functionName, string definitionString, int numIndents)
Appends to the apecified string builder the C# definition of a function of parameters returning doubl...
Definition: ScalarFunctionScriptLoader.cs:700
static string DefaultKeyNumSamplingPoints
Default key for introduction of number of sampling points of input and output data elements.
Definition: SampledDataCsv.cs:293
bool CalculatedConstraintHessians
Indicates whether calculation of constraint functions Hessian is/was requested.
Definition: AnalysisResutlsInt.cs:404
override void RunOnAborted()
Called when 'aborted' notification is triggered (within the method NotifyJobAborted()).
Definition: ParallelJobContainerGen.cs:179
override void Wait()
Waits for condition to be fulfilled.
Definition: WaitConditionFile.cs:814
bool HasErrors()
Returns true if logger contains any error logs false otherwise.
Definition: LoggerMsg.cs:387
static readonly PhysicalConstant SunEscapeVelocity
Sun escape velocity, 617.7 km/result. Speed where the kinetic energy of an object is equal to the mag...
Definition: Constants.cs:1749
override void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
Definition: Function3d2d.cs:610
void SetInterpolation(double x1, double y1, double d1, double x2, double y2, double d2)
Initializes the cubic interpolation function with specified two function values and one derivative.
Definition: FunctionRealInterpolation.cs:945
const string DefaultIndependentVariableBaseName
Default base name of the independent variables (components of parameter vector) in expression definit...
Definition: ScalarFunctionScriptLoader.cs:83
string _interpreterCommand
Definition: InterfaceInterpreterBase.cs:86
double b
Definition: Function3d2d.cs:841
static string EnumValuesToString< enumType >()
Returns a stirng that contains information about the specified enumeration type.
Definition: Utils.cs:308
int _outputLevel
Definition: SerializationDtoNeuralApproximator.cs:182
void PrepareNeuronsTable(int minNeurons, int maxNeurons, int numNeurons, double growthFactorref, ref int[] neurpnsTable)
Prepares table of neurons in geometric sequence.
Definition: NeuralTrainingParameters.cs:2069
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArrayToIntIEnumerableObjectToIntIList()
Definition: CollectionTypeConverterTests .cs:51
int _numHiddenNeuronsSecondMax
Definition: NeuralTrainingParameters.cs:1761
abstract int ColumnCount
Gets the number of columns of the current matrix.
Definition: MatrixBase.cs:338
A 3D parametric curve with bounds - the conical Fermat's spiral.
Definition: ConicalSpiralFermats3D.cs:18
double TransformedArgument(double t)
Definition: FunctionReal.cs:802
void SetConstant(double elementValue)
Sets all components of the current matrix to the specified value.
XmlNode GetNextOrCurrentNode(string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1578
override void GradientPlain(IVector parameters, IVector gradient)
Calculates first order derivatives (gradient) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:95
static int RetFailed
Definition: StringParser0.cs:18
virtual string Name
Definition: SerializerBase.cs:690
static XmlNodeList GetNodes(XmlNode basenode, string xpath)
Returns a list of all _gridCoordinates in the XML sub-tree whose root is basenode that satisfy the sp...
Definition: XmlUtilities.cs:604
void AddOrReplace(params(string Key, ModelParameterType Parameter)[] keysAndParameters)
Adds the specified parameter objects to the currrent parameter set at the specified keys....
static bool operator==(Complex a, Complex b)
Complex comparison.
Definition: Complex.cs:585
StructuredMesh2d3d()
Constructs a new empty 2D field (no elements contained) with no name and no description.
Definition: StructuredMesh2d3d.cs:25
Alternative parametric definition of an origin-centered hyperboloid surface (x^2/a^2+y^2/b^2-z^2/c^2=...
Definition: Function3d2d.cs:1147
void SetHessianReference(IMatrix reference)
Sets the functions' Hessian. Only the reference is copied.
virtual void Add(GraphicObject grobject)
Adds a child graphic object to the current objects.
Definition: GrObjects.cs:181
TypeConversionHelper()
Definition: TypeConversionHelperObsolete.cs:32
T TryGetStored()
Returns the last object from this object store, or null if there are no objects on it....
Definition: UtilObjectStore.cs:215
List< IGraphicSet > _childSets
Definition: GraphicalObjectsBase.cs:40
override string ToString()
Returns human readable string representation of the current object.
Definition: VectorFunctionScriptController.cs:602
static string ToStringMath(IVector vec)
Returns a string representation of the specified vector in a standard IGLib form (Mathematica-like fo...
Definition: VectorBase.cs:2917
double _tolRmsRelativeScalar
Definition: NeuralTrainingParameters.cs:330
string GetPath(string relativePath)
Returns full path of the file or directory with the specified relative path within the data and messa...
Definition: SimKosecFileManagerBase.cs:249
void Test()
Definition: LoadableScriptOpt.cs:331
static Counter operator-(Counter s)
Definition: Scalar.cs:519
override bool Equals(object obj)
static string DefaultKeyElementTypeInput
Default element type keyword for input element.
Definition: SampledDataCsv.cs:75
readonly Stack< JsonScope > _jsonScopeStack
Definition: PPScopeState.cs:24
bool TreatError
Returns a boolean value indicating whether errors are treated by the reporter in its current state.
Definition: ReporterMsg.cs:909
override bool ValueDefined
Tells whether value of the function is defined by implementation. Always true for this case.
Definition: FunctionScalarExamples.cs:494
override void Hessian2(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the second component, just throws the NotImplementedException exc...
Definition: Function3d2d.cs:173
double Value3(double x, double y)
Calculates and returns value of the third component of the current function.
int NumParam
Gets number of parameters.
Definition: Function3d.cs:241
static VectorBase operator-(VectorBase v)
Unary negation, returns the negative operand.
Definition: VectorBase.cs:2838
int Position
Current position of the parser.
Definition: IParser.cs:24
override void CloseInput()
Closes the inpt stream.
Definition: ClientServerStreamBase2_Copy.cs:950
void UtilSpeedTesting_GeometricSeriesAnalyticalMethodIsCorrect(int n, double a0, double k, double tolerance)
Verifies that finite geometric series calculaed analytically is correct.
Definition: UtilSpeedTestingTests.cs:408
static string CspProviderFlagsToString(CspProviderFlags flags)
Returns standard string representation of the CspProviderFlags enumeration.
Definition: UtilCrypto.cs:3978
mat3 NormalizedForbenius()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix3D.cs:683
MappingApproximationFileManager()
Definition: NeuralFileManager.cs:805
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: ParallerJobDispatcherBase.cs:993
SphereParametric(double r)
Construct a parametric definition of an origin-centered sphere with a specified radius.
Definition: Function3d2d.cs:988
string _independentVariableName
Definition: RealFunctionScriptBase.cs:98
Definition: OpenBracketStrategy.cs:8
Interface for simple command-line applicatino interpreters.
Definition: CommandlineApplicationInterpreterInterface.cs:31
double Saturation
Gets the hue-saturation-brightnes (HSB) value for hue of the current color (in the range 0 to 1).
Definition: Color.cs:234
XmlNode GoToMark(Mark mark)
Restores the parser state that is stored in the specified mark. The current node after operation is r...
Definition: XmlUtilities.cs:1687
bool InternalTrainingDataPrepared
Gets or sets a flag indicating whether internal training data is prepared. This flag is used internal...
Definition: NeuralApproximatorBase.cs:2410
const bool DefaultWriteToConsole_StandardTests
Default value for the parameter specifying whether results of standad speed tests are written to Cons...
Definition: UtilSpeedTesting.cs:245
string _msgAnInputReadyFileName
Definition: OptFileManager.cs:147
PointContainerType ReferencePoint
Reference point.
Definition: DistanceComparer.cs:284
double _inputSafetyFactorMin
Definition: NeuralTrainingParameters.cs:1392
mat2 MultiplyLeft(mat2 b)
Left-multiplies the current 2D matrix with the specified matrix and returns the product.
Definition: Matrix2D.cs:705
static int DefaultOutputLenght
Default value for number of output neurons.
Definition: NeuralTrainingParameters.cs:1299
NamedPipeServerBase(string pipeName, bool startImmediately=true)
Constructs a new pip server.
Definition: NamedPipes_Copy.cs:40
string _neuralDataDefinitionFilename
Definition: NeuralFileManager.cs:130
static bool ExecuteSvnCommandWithFileInput(string command, string arguments, string filePath, out string result, out string errors)
Definition: IpcPipes.cs:451
DateTime CreationTime
Gets or sets craation time of the program.
Definition: App.cs:1112
A cascaded SerializationBinder class that maps the assembly and type information of the serialized ob...
Definition: SerializationBinderCascaded.cs:20
static void GetApplicationsByWindowTitle(string mainWindowTitle, bool caseSensitive, bool isFullString, ref List< Process > processList)
Gets all applications with the specified main window title, and puts them to tehe specified list.
Definition: UtilSystem.cs:1557
static void SetRandomSymmetricPositiveDefinite(IMatrix mat, IRandomGenerator rnd)
Sets the specified matrix such that it is positive definite and contains random elements.
Definition: MatrixBase.cs:1110
virtual void SetDiagonal(IVector diagonal)
Sets the current matrix to the diagonal matrix with diagonal element specified by a vector.
Definition: MatrixBase.cs:633
void RemoveTensorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh3dGeneric.cs:686
vec3 Normalize()
Definition: vec3.cs:47
GridGenerator1dBase()
Definition: GridGenerator1dBase.cs:158
ScriptLoaderBase()
Definition: Loader.cs:64
Contains data for a single model parameter, similar as IModelParameter, but with additional typed pro...
Definition: IModelParameter.cs:12
const string SimulationDataDefinitionFilename
File containing input and output data definition for simulators that are used for obtaining neural da...
Definition: NeuralFileConst.cs:43
virtual SerializationBinderCascaded Add(params SerializationBinderBase[] binders)
Adds the specified serialization binders at the end of the ordered set of contained binders,...
Definition: SerializationBinderCascaded.cs:40
int StackLevel
Specifies the stack level of the local variable and whether the variable is local or global.
Definition: CommandlineApplicationInterpreterBase.cs:420
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates coordinates of a 3D regular grid with grid directions parallel to coordinate axes and equid...
Definition: StructuredMesh3d.cs:141
virtual void AppendValue(string value)
Appends a string value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:522
static Matrix Random(int d)
Generates a d*d square matrix with standard-distributed random elements.
Definition: Matrix.cs:529
virtual int NumParameters
Gets number of parameters that define the current function out of parametric family of scalar functio...
Definition: FunctionScalarParametric.cs:321
double[][][] _array3D
Definition: SerializerBase.cs:778
static void SaveCsv(IVector vec, string filePath)
Saves the specified vector to a CSV file. It the specified file already exists then it is overwritten...
Definition: ScalarFunctionScriptController.cs:1009
virtual string ToString(bool includeThreadInfo=true, bool includeLocalVariables=true, bool includeGlobalVariables=true)
Returns a string containing information about the current command thread.
Definition: CommandlineApplicationInterpreterBase.cs:1481
static void TestSpeedBlockCreateRemoveLatence(string filePath, int numSwitches, int sleepMs)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1093
WaitFileRemoval(string filePath)
Definition: WaitConditionFile.cs:698
MapOutputElementDefinitionDto()
Definition: NeuralMapData.cs:127
string _saveDefinitionsComand
Definition: ExpressionEvaluatorCompiled.cs:348
void BeginSection(params string[] attributeNameValuePairs)
Begins a new section.
Definition: HtmlWriter.cs:547
string GetPositionString()
Returns the string indicating the current position in the form (row, column), e.g....
Definition: SampledDataCsv.cs:1113
const string ArgBinaryInputFormatBase641
Binary input format used is base-64 encoding.
Definition: UtilCryptoAux.cs:536
const int DefaultNumPasswordIterations
Default number of key generation algorithms when generating the keys.
Definition: UtilCryptoAux.cs:270
bool LockFileMutexCheckAbandoned()
Check whether the filesystem locking mutex (property LockFileMutex) has been abandoned,...
Definition: OptFileManager.cs:233
double _learningRateMax
Definition: NeuralTrainingParameters.cs:1315
const string DataStructuresTestCsvWriteDefinitionAndData
Definition: ScriptAppBase1.cs:81
bool _gradientDefined
Definition: ScalarFunctionScriptBase.cs:99
void RemoveScalarField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh1dGeneric.cs:361
double double double zDerivative CurveDerivativeCylindrical(double t)
override bool InverseDefined
Definition: FunctionRealBasic.cs:315
bool _tailWritten
Definition: HtmlWriter.cs:114
bool IsDeleteDecrypted
Specifies whether the encrypted files should be deleted.
Definition: UilCryptoAux1.cs:414
int _numParameters
Definition: ScalarFunctionScriptLoader.cs:151
Logger _logger
Definition: Loader.cs:455
string[] _gradientDefinitionStrings
Definition: ScalarFunctionScriptController.cs:244
override void AppendValue(IVector value)
Appends a vector value to the interpreter command file contents.
Definition: InterfaceInv.cs:215
static void TestFunction(IFunc2d f)
Demonstrates use of a 2D function by printing to the console 5 values and gradients of the function o...
Definition: Function3d2d.cs:637
ScalarFunctionParametric(IVector parameters)
Constructor. Does not define affine transformation of the function.
Definition: FunctionScalarParametric.cs:96
bool _systemPriorityUpdatesRegistered
Whether the "event" handler for system priprity changes has already been registered.
Definition: CommandlineApplicationInterpreter.cs:2206
string TypeFullName
Full name of the declared type of the captured entity, the Type, produced by Type....
Definition: ICapturedVar.cs:38
static void TestSerializationDto< TypeDto, Type >(ISerializer serializer, Type serializedObject, string filePath, bool firstStep, bool secondStep)
Test serialization performed by the specified serialization helper class. This test does not perform ...
Definition: SerializerBase.cs:285
virtual string DocumentAuthor
Definition: HtmlWriter.cs:187
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray3DToIntIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:372
Complex Divide(Complex c)
Divides the current complex number by c and returns the result.
Definition: Complex.cs:495
virtual double SecondDerivative(IVector parameters, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
Definition: FunctionVectorBaseGeneral.cs:251
ComplexVector(params Complex[] elements)
Definition: ComplexVector.cs:32
virtual string CmdEndCalcJsBlock(CommandThread cmdThread, string cmdName, string[] args)
Command. Exits the current JavaScript expression block. If execution is active then the block of comm...
Definition: CommandlineApplicationInterpreter.cs:3664
IVector ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: NeuralTrainingParameters.cs:347
string _code
Definition: ScalarFunctionScriptLoader.cs:149
override double f1(double u, double v)
Definition: Function3d2d.cs:1432
const double ConstZero
Double constant 0.0.
Definition: Complex.cs:389
IVector auxB
Definition: MatrixDecompositions.cs:177
double x
The first component of the vector.
Definition: vec2.cs:13
string ConvertTyped< SourceType >(SourceType source)
Definition: ToStringTypeConverterViaIConvertible.cs:15
double EndParameter2
Definition: Ellipsoid.cs:89
const double Tolerance
Standard speed tests with finite geometric series - tolerance for the discrepancy between numerically...
Definition: UtilSpeedTesting.cs:201
static double operator*(VectorBase a, VectorBase b)
Scalar product of two vectors.
Definition: VectorBase.cs:2864
SerializationBinderElementary(string origAssemblyName, string origTypeName, Type targetType)
Constructor, specifies internally stored parameters for mapping serialized assembly and type name to ...
Definition: SerializationBinderElementary.cs:72
virtual void AllocateConstraintGradientsList()
Allocates space for list of constraint function gradients.
Definition: AnalysisResults.cs:894
TVectorField ActiveVectorField
Gets active vector field. Has protected setter.
Definition: UnstructuredMesh3dGeneric.cs:391
double MinValue
Gets the lower bound in the first coordinate.
Definition: BoundingBox.cs:1879
color _color
Definition: GrProperties.cs:51
List< string > AppSystemHelpStrings
List of help strings corresponding to installed system related commands.
Definition: ScriptAppBase.cs:3575
bool IsInputFormatEqualOutputFormat
If true then options for input formats and output format are treated interchangeably in the currentt ...
Definition: UilCryptoAux1.cs:440
bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: FunctionScalarResultsInt.cs:213
static readonly PhysicalConstant C
Coulomb, the SI derived unit of electric charge, electric flux. C = A result.
Definition: Constants.cs:951
void ReadIntData(ref int[] dataArray)
Reads integer values from the CSV-like string table, from the current position on (inclusively),...
Definition: SampledDataCsv.cs:2586
virtual void InvalidateNumParameters()
Invalidates dimension of function domain. All dependent data is invalidated.
Definition: VectorFunctionScriptController.cs:448
int SleepTimeMs
Sleeping time, in milliseconds, used by the current object when waiting for fulfillment of some condi...
Definition: ParallerJobDispatcherBase.cs:1095
static double DefaultInputBoundSafetyFactor
Default number of input safety factor.
Definition: NeuralTrainingParameters.cs:73
List< char > _exponentChars
Definition: StringParser.cs:149
int _numCommandlineArguments
Definition: App.cs:273
string _keyElementIndices
Definition: SampledDataCsv.cs:676
static string GetIglibAssemblyName()
Returns assembly name of the IGLib assembly.
Definition: UtilSystem.cs:3273
override void UpdateInputParametersManual(IVector inputParameters)
Prepares current values of input parameters in the simulation input thet will be written to the simul...
Definition: SimKosecFileManager.cs:361
static Complex Tan(Complex x)
Definition: Complex.cs:690
virtual void SetDimensions(int numParameters, int numObjectives, int numConstraints)
Sets the dimension of the analysis results object according to the specified values.
Definition: AnalysisResults.cs:1119
VectorDtoBase[] ConstraintGradients
Gradients of constraint functions.
Definition: AnalysisResultsDto.cs:281
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:695
static int DefaultOutputLevel
Definition: LoadableScriptBase.cs:284
bool IsRegistered()
Returns true if the current object is registered, false if not.
Definition: ExpressionEvaluatorJs.cs:472
string _functionInputFilename
Definition: NeuralFileManager.cs:856
override double EndParameter
Definition: ConicalSpiralArchimedian3D.cs:48
bool isCloseBracket(char c)
Whether the specified character represents a closed bracket for the current parser.
Definition: StringParser.cs:464
bool WaitAllJobsCompleted(double timeoutInSeconds)
Wait until all jobs that weer sent to the current dispatcher object complete, or timeout occurs (time...
Definition: ParallerJobDispatcherBase.cs:456
vec3 SpecularColor
Specular color (Ks) - Defines the shininess of the material. A higher value makes the surface appear ...
Definition: MaterialProperties.cs:37
virtual string CmdNameSetVarString
Command name - setting a string variable.
Definition: InterfaceInv.cs:110
static string DefaultStopRequest
Default stop request string - request string that will stop the server.
Definition: ClientServerStreamBase2_Copy.cs:223
int _currentId
Definition: IdGenerator.cs:50
Quadratic3d(IAffineTransformation transf)
Creates a new transformed example quadratic polynomial in 3D. Actual function is identical to the ref...
Definition: FunctionScalarExamples.cs:1244
virtual string VarNameParamMom
Definition: InterfaceInv.cs:123
double PenaltySecondDerivative(int which, double constraintFunctionValue)
Returns second derivative of the penalty function for the specified constraint at the specified value...
Definition: AnalysisResults.cs:2674
void EndDocument()
Ends the HTML document. After this method is called, writing is not possible any more.
Definition: HtmlWriter.cs:459
void AddScalarField(TScalarField field, string name)
Adds the specified scalar field to the collection of scalar fields under the specified name.
Definition: UnstructuredMesh1dGeneric.cs:331
static int maxErrIndentSpacing
Definition: ReporterMsg.cs:2536
Interface for 1d grid generators.
Definition: GridGenerator1dBase.cs:18
bool turnOff
Definition: PortScanner.cs:21
List< InputMappingDefinitionElement > _input
Definition: NeuralMapData.cs:571
static string GetExecutableDescription()
Returns description of the current executable (from the AssemblyInfo file).
Definition: UtilSystem.cs:3226
int _sleepTimeMs
Definition: ParallerJobDispatcherBase.cs:1089
int TextWriterWrite(string str)
Writes a string to all text writers of the Writer's TextWriter subsystem.
Definition: ReporterMsg.cs:4605
virtual void InitTestArray3D(int d1, int d2, int d3)
Initializes the 3D array on test object.
Definition: SerializerBase.cs:872
JsonScope
Definition: PPScopeState.cs:15
void SecondDerivative(IVector parameters, ref List< IMatrix > hessians)
Returns the second derivative (Hessian) of this function at the specified arameter.
Definition: FunctionVectorBaseGeneral.cs:298
virtual IEnumerable< CharType > SubString(int startIndex, int length)
Returns a substring of Parsable starting at startIndex and of length length
const string DefaultRefeenceMachineId
Default value for ReferenceMachineId
Definition: SpeedTestInfo.cs:133
virtual void SetValue(int which, double value)
Sets the specified function value.
Definition: FunctonVectorResults.cs:321
string ScriptAction
Selector for script action.
Definition: ApplicationCommandLineBase.cs:105
int NumParam
Gets number of parameters.
Definition: Function2d.cs:220
double _trainingTime
Definition: NeuralTrainingParameters.cs:568
virtual void ClientTestCalculateMappingApproximation(string functionInputFilePath, string functionOutputFilePath)
Performs client-side test calculation of neural network based approximation where input parameters ar...
Definition: NeuralFileManager.cs:1230
@ Block
Plain code block (entered via "Block" command).
Definition of parametric surface that ressembles a snail's shell (a bit stretched along the axis) in ...
Definition: Function3d2d.cs:1719
override string ToString()
Definition: SampleClasses.cs:336
Func2dBase()
Definition: Function2d.cs:122
VectorDtoBase[] ErrorsTrainingRmsTable
Convergence Table of RMS errors calculated on training data.
Definition: SerializationDtoNeural.cs:177
Base class for classes that impelement methods that block until a file or directory is created or del...
Definition: WaitConditionFile.cs:979
const string SystemHelpMACAddress
Definition: ScriptAppBase.cs:3749
@ StringVar
Variable contains string value.
BoundingBoxDtoBase OutputDataBounds
Definition: SerializationDtoNeuralApproximator.cs:128
double LearningRate
Definition: SerializationDtoNeuralApproximator.cs:52
static Matrix3d Random(IRandomGenerator rnd)
Creates and returns a 3D matrix with uniformly distributed random elements in the [0,...
Definition: Matrix3DClass.cs:266
int Index1
Definition: SerializerBase.cs:623
static readonly PhysicalConstant ProtonMass
Proton mass. Unit: kg.
Definition: Constants.cs:533
DTO (Data Transfer Objects) for storing contents of vector function results.
Definition: VectorFunctionResultsDto.cs:129
Definition: SpeedTests.cs:15
IMatrix GetNew(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensions, and of the same type as the current m...
virtual string GetSettingAppConfig(string settingname)
Definition: SettingsRreader.cs:195
Parametric scalar function.
Definition: FunctionScalarRadial.cs:391
const string ConstProcess
Name of the command for the process-related embedded applications.
Definition: ScriptAppBase.cs:348
void StoreData(bool clearFirst)
Stores the samples data to the data table.
Definition: SampledDataCsv.cs:1866
Utility class for generating indices for multidimensional arrays.
Definition: CollectionTypeConverter.cs:520
double _defaultNeuronMaxOutput
Definition: NeuralApproximatorBase.cs:1435
mat3 Subtract(mat3 a)
Returns difference between the current matrix and the specified matrix.
Definition: Matrix3D.cs:777
Generates and composes a HTML document.
Definition: HtmlWriter.cs:54
virtual void CopyFromObject(object obj)
Copies data to the current DTO from an object of type object. The necessary casts are performed.
Definition: SerializationDtoBase.cs:593
static string GetExecutableFileName()
Returns file name of the current executable.
Definition: UtilSystem.cs:3189
Torus(double a, double c)
Constructs a parametric definition of a torus with the specified radius of centerline and radius of s...
Definition: Function3d2d.cs:1318
Vector3d(double[] components)
Constructs a vector from a 1-D array.
Definition: Vector3Dclass.cs:222
vec3 rowx
Gets or sets the x-row of the 3D matrix.
Definition: Matrix3D.cs:529
static BoundingBox Create(int dimension, double min, double max)
Creates and returns a bounding box with specified dimension and minimum and maximum bounds equal in a...
Definition: BoundingBox.cs:1289
override int NumCoordinates
Definition: GrObjects.cs:529
virtual void SetConstraintGradientReference(int which, IVector reference)
Sets the specified constraint function gradient. Only the reference is copied.
Definition: AnalysisResults.cs:642
MathNet.Numerics.LinearAlgebra.Double.DenseMatrix Matrix_MathNetNumercs
Definition: MatrixBase.cs:15
static void FromByteArray(byte[] bytes, out UInt16 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2058
virtual void SetConstraintHessianReference(int which, IMatrix reference)
Sets the specified constraint function's Hessian. Only the reference is copied.
Definition: AnalysisResults.cs:782
Parametric definition of an origin-centered upper two-sheeted hyperboloid surface (x^2/a^2+y^2/b^2-z^...
Definition: Function3d2d.cs:996
int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: VectorFunctionResultsDto.cs:146
void BeginTag(string tagName)
Adds the specified tag to the document.
Definition: HtmlWriter.cs:498
static IMatrix LdltExtractUpper(IMatrix matLdlt, ref IMatrix result)
Extracts the upper part of the specified LDLT decomposition (1s on diagonal, 0s in below diagonal) an...
Definition: MatrixBase.cs:6288
int _id
Definition: ParallelJobServerBase.cs:120
bool SendJob(JobContainerType jobData)
Enqueues job for execution, and returns a flag indicating whether a job has been started immediately.
Definition: ParallerJobDispatcherBase.cs:382
@ AES
Specifies the AES symmetric encryption algorithm.
int ports
Definition: PortScanner.cs:409
void AddScalarField(TScalarField field)
Adds the specified scalar field to the collection of scalar fields.
Definition: UnstructuredMesh2dGeneric.cs:340
override bool IntegralDefined
Definition: FunctionRealBasic.cs:458
Definition: UtilSystem.cs:2535
static void TestPerformance(double from, double to, int numPoints, SimpleFunctionDelegate< double, double > evaluationFunction, int numServers, int maxEnqueued, double delayTimeSeconds, double delayTimeRelativeError, int sleepTimeMs, int clientOutputLevel)
Test of parallel job execution by calculating the specified real function of one variable in a number...
Definition: ParallelJobContainerBase.cs:578
ExampleClassScalarField(int numElements, string fieldName, string fieldDescription)
Definition: FieldGeneric.cs:1320
delegate double DlgFunctionParametricHigherDerivative(double x, Vector p, int order)
Arbitrary order derivative of parametric family of real functions with respect to function argument.
delegate string ApplicationCommandDelegateMtGeneric< InterpreterType >(CommandThread< InterpreterType > commandThread, string commandName, string[] args)
Delegate for commands that are installed on interpreter.
void AllocateConstraintHessians()
Allocates space for constraint functions' Hessians (including space for the list, if necessary).
static mat3 operator-(mat3 a)
Unary negation for 3D matrices, returns the negative operand.
Definition: Matrix3D.cs:979
object _mainLock
Definition: NeuralFileManager.cs:43
SerializationTestArrayMember[][] _testJaggedArray2d
Definition: SerializerBase.cs:757
ApplicationBase(string programName, int version, int subVersion)
Constructs a new application object.
Definition: App.cs:162
bool HasDerivativeCylindrical
Whether derivative is defined or not. If false then CurveDerivativeCylindrical(double) cannot be used...
Definition: ICurve3DCylindricalParameterization - Copy.cs:28
vec3
Definition: StructuredMesh3D_03.cs:41
static xdouble operator+(xdouble a, xdouble b)
Definition: UtilMath.cs:1405
bool IsProcessingVariableAssignment
Definition: JsonPPStrategyContext.cs:51
object _mainLock
Definition: InterpreterCommandLine.cs:179
virtual object EvalToObject(string code)
Evaluates JavaScript code and returns result as object.
Definition: ExpressionEvaluatorCompiled.cs:217
static void GetAllProcesses(ref List< Process > processList)
Gets all runnning processes, and puts them to the specified list.
Definition: UtilSystem.cs:583
static byte[] DecryptBasic(byte[] data, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the specified byte array by a symmetric algorithm and returns decrypted data.
Definition: UtilCrypto.cs:2068
void run()
Definition: PortScannerSimple.cs:52
string _msgRequestBegin
Message that begins any multiline request (only when multiline requests are allowed).
Definition: IpcStreamClientServerBase.cs:509
Base class for various vector DTO (Data Transfer Objects) for vectors. Used to store a state of a vec...
Definition: VectorDto.cs:28
void AddScalarField(TScalarField field, string name)
Adds the specified scalar field to the collection of scalar fields under the specified name.
Definition: UnstructuredMesh3dGeneric.cs:329
bool IsNeuralBusy()
Returns value of the falg that indicates whether the approximation server is busy.
Definition: NeuralFileManager.cs:539
bool SecondDerivativeDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:82
void Log< TState >(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func< TState, Exception, string > formatter)
Definition: TestBase.cs:109
abstract double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function derivative.
void GenerateCoordinates(int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of an (unconnected) unstructured grid of points based on coordinates of a struc...
Definition: UnstructuredMesh2d.cs:151
bool _calcObjective
Definition: AnalysisResults.cs:228
void AllocateParams()
Allocate space for Params1 and Params2 , if not yet allocated, according to mesh sizes (NumPoints1 an...
Definition: StructuredSurfaceMesh3D.cs:54
static string ToStringNewlines(IMatrix mat)
Returns a string representation of the current matrix with newlines inserted after each row....
Definition: MatrixBase.cs:289
Constant(double constantValue, double Kx, double Sx)
Constructs a new constant function.
Definition: FunctionRealBasic.cs:524
string _definitionsCommand1
Definition: ExpressionEvaluatorCompiled.cs:342
DistanceComparerSampledDataElement(PointContainerSampledDataElement referencePoint, DistanceDelegate< SampledDataElement > distanceFunction, IVector lengthScales)
Constructs a new comparer according to input distance to a reference poiont (type SampledDataElement)...
Definition: PointCloudSampledDataElement.cs:152
string _functionOutputFilename
Definition: NeuralFileManager.cs:858
override void CopyFromPlain(IMatrix mat)
Copies data to the current DTO from a matrix object.
Definition: MatrixDto.cs:160
static void CopyPlain(OutputElementDefinition original, OutputElementDefinition copy)
Copies data from one output data element definition to another.
Definition: SampledDataDefinition.cs:588
bool UseCharacterReferences
Whether or not character references are used. Evaluates to true only if the appropriate flag is set a...
Definition: StringParser.cs:193
static void OrthoNormalizeGramSchmidt(IList< IVector > original, ref IList< IVector > resOrthogonal, ref IVector resNorms, ref IVector auxProjection, double tolDependent=1e-10, bool normalize=false, int numRequestedVectors=0, IRandomGenerator rand=null, int maxExcessGenerated=5)
Performs the Gramm-Schmidt orthogonalization procedure in order to calculate a set of orthonormal vec...
Definition: VectorBase.cs:2299
Definition: ICharacterStrategy.cs:3
void CalculateTrainingOutputs()
Calculates outputs in training points of the training data set (this excludes verification points).
Definition: NeuralApproximatorBase.cs:2085
virtual string Execute(string inputCode)
Executes the specified code and returns the result. Throws exception if errors occur when interpretin...
Definition: ExpressionEvaluatorCompiled.cs:280
static void InitApp()
Initializes the global application data. This should be called in derived class' Init().
Definition: App.cs:423
TTensorField ActiveTensorField
Gets active tensor field. Has protected setter.
Definition: UnstructuredMesh2dGeneric.cs:544
static object LockIdThread
Lock used for acquiring IDs.
Definition: CommandlineApplicationInterpreterBase.cs:1788
bool HasDerivative
Definition: TrefoilKnot3D_MathCurve3.cs:47
static bool TestMatrixProducts(bool printReports)
Tests various matrix and vector products with fixed tolerance of 1.0E-6.
Definition: MatrixBase.cs:7534
Matrix(int d1, int d2, double val)
Construct an numrows-by-d2 constant matrix with specified value for all elements.
Definition: Matrix.cs:114
double StartParameter2
Typical starting value of the first parameter of the parametric surface.
Definition: IParametricSurfaceWithBounds.cs:49
StructuredField3d(int dim1, int dim2, int dim3, string fieldName)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:95
void Read(string name)
Reads 3D vector components from a console.
Definition: Matrix3D.cs:358
List< DataColumnDefinition > _outputColumnDefinitions
Definition: SampledDataCsv.cs:1236
virtual IVector GetNew(int length)
Creates and returns a new vector with the specified dimension, and of the same type as the current ve...
Definition: VectorBase.cs:331
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: ScalarFunctionScriptBase.cs:111
static Matrix Identity(int d1, int d2)
Creates a d1*d2 identity matrix.
Definition: Matrix.cs:382
static void GenerateCoordinatesPlain(StructuredField3d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates coordinates (unconnected) unstructured grid based on a 3D regular grid with grid directions...
Definition: StructuredField3dGeneric.cs:378
const string VarNameValueDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: ScalarFunctionScriptLoader.cs:89
const string ArgKeyBase64Bytes
Specification that key as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:429
bool IsNegativeInfinity
Indicates whether the current Counter represents negative infinity.
Definition: Scalar.cs:464
void AddVectorField(TVectorField field)
Adds the specified vector field to the collection of vector fields.
Definition: StructuredMesh2dGeneric.cs:504
A RealFunction class representing bell like polynomial weighting function with finite support....
Definition: FunctionRealWeight.cs:465
void RoundTripConversion_ShouldWorkForListOfMyClass()
Definition: ToStringTypeConverterViaJsonTests.cs:118
abstract void RunJobDefined(JobContainerType jobData)
Runs the job.
void AllocateHessian(int which)
Allocates space for the specified fucnction's Hessian.
string KeyElementIndices
A keyword string that introduces variable element indices in the CSV file containing sampled data and...
Definition: SampledDataCsv.cs:681
static void RemoveAssemblyResolutionPath(string path)
Removes the specified directory where assemblies to be loaded are looked for.
Definition: UtilSystem.cs:2751
static void DefaultReport_Console(ReporterBase reporter, ReportType messagetype, string location, string message)
Delegat for launching a report via console.
Definition: ReporterMsg_Derived.cs:128
virtual double GetObjectiveHessian(int rowIndex, int columnIndex)
Returns the specified component of the objective function Hessian.
Definition: AnalysisResults.cs:696
const string CryptoHelpCertStoreInfo
Definition: ScriptAppBase.cs:1476
NamedPipeClientStream ClientPipe
Named pipe used for communication by the server.
Definition: IpcPipes.cs:607
override void ModuleInitializationBefore()
Pre-initialization stage.
Definition: App.cs:234
int Dim2
Returns the second dimenson of the structured mesh (number of mesh points in the second direction).
Definition: StructuredField2dGeneric.cs:174
IModelParameter ClearDefaultValue()
Clears the default value of the current parameter, making it undefined (IsDefaultValueDefined becomes...
static string ErrorLocationString0(string location, Exception ex)
Returns Error location string derived from ex, which includes information about location of error occ...
Definition: ReporterMsg.cs:6252
abstract ICommandLineApplicationInterpreter GetInterpreterBase()
Returns the commans-line interpreter to which the current command thread belongs.
const string ArgCertificateName
Specification that certificate name follows.
Definition: UtilCryptoAux.cs:396
void Copy(string str)
Parses a scalar from a string and sets the value to the parsed scalar. Leading and trailing spaces ar...
Definition: Scalar.cs:360
static string CollectionToStringLong(System.Collections.ICollection collection, bool addNewlines, int numIndent)
Returns a string representing the specified list in long form. Count property (i.e....
Definition: Utils.cs:2602
override OutputElementDefinition CreateObject()
Creates and returns an object consistent with current DTO.
Definition: SampledDataDto.cs:361
Implementation of INumberOperations<ElementType> for type Complex.
Definition: NumberOperationsComplex.cs:13
static string GetHashSha512Hex(byte[] bytesToHash)
Computes and returns the SHA512 hash string of the specified array of bytes.
Definition: UtilCrypto.cs:702
bool TreatError
Returns a boolean value indicating whether errors are treated by the reporter in its current state.
Definition: ReporterMsg.cs:2689
string NeuralInputXmlPath
File path of the input parameters file in XML format. Setter takes only pure file name,...
Definition: NeuralFileManager.cs:336
virtual double Value2(vec2 parameters)
Calculates and returns value of the second component of the current function.
Definition: Function3d2d.cs:305
static int Index(int dim1, int dim2, int row, int column)
Returns flat index corresponding to the specified row and column indices of a matrix with specified d...
Definition: MatrixBase.cs:493
static Complex Sqrt(Complex x)
Returns square root of x .
Definition: Complex.cs:662
TraceSwitch LoggingSwitch
Gets or sets the TraceSwitch that is synchronized with LoggingLevel. IMPORTANT: State of the object o...
Definition: ReporterMsg.cs:999
bool AnFormatMath
Gets or sets the flag indicating whether analysis input and output is written Math format.
Definition: OptFileManager.cs:645
string ToStringMath()
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
virtual double DefaultDistanceFunction(PointType pt1, PointType pt2)
Default distance funciton for the current class, used when distance calculation delegate is not speci...
Definition: DistanceComparer.cs:554
override double Value(vec3 parameters)
Calculates and returns value of the current 3D linear function.
Definition: Function3d.cs:523
static bool ParseBoolean(string str)
Converts the specified string to a boolean value, if possible, and returns it. If conversion is not p...
Definition: Utils.cs:2899
static bool TryParse(string s, out VectorRetType result)
Parses a vector object from its string representation.
Definition: VectorBase.cs:907
static string RandomString(IRandomGenerator rndgen=null)
Returns a randomly generated string of a random length containing alphanumeric characters....
Definition: UtilString.cs:525
Quadratic3d()
Creates a new untransformed example quadratic polynomial in 3D.
Definition: FunctionScalarExamples.cs:1236
static int _nextId
Definition: ParallelJobContainerBase.cs:113
override double f3(double u, double v)
Definition: Function3d2d.cs:929
bool SetTW(ref TextWriter tw, ref bool disptw, Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:3499
double SecondDerivative(double x)
Returns the second derivative of the given order of this function at the specified arameter.
string RunScriptFile(string scriptFilePath, string[] initAndRunArgs)
Dynamically loads (temporarily, just for execution of the current commad) a class form the script con...
IAffineTransformation Transformation
Affine transformation of parameters. Actual function is evaluated as reference function evaluated at ...
Definition: FunctionScalarInt.cs:26
static void SaveSampledDataCSVinOneLine(string filePath, SampledDataSet sampledData, bool namesSpecified, bool titleSpecified, bool descriptionSpecified, InputOutputDataDefiniton definitionData)
Saves sampled data and Definition data to single CSV file.
Definition: SampledData.cs:1817
void Append(char[] chArray)
Appends the specified array of characters at the end of the buffer.
Definition: StringParserBuffer.cs:180
vec3 Normalized2()
Returns normalized this 3D vector in 2 norm.
Definition: Matrix3D.cs:170
static color ScaleGray(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:605
Contains Parameters that define neural network architecture and trainig procedure,...
Definition: NeuralTrainingParameters.cs:23
const string SystemIpAddress
Definition: ScriptAppBase.cs:3672
mat3 Mat
Gets the struct representation of this 3D matrix.
Definition: Matrix3DClass.cs:295
double GetIntervalLength(int componentIndex)
Returns interval length for the specified co-ordinate component (i.e. difference between the upper an...
static void ToByteArray(UInt16 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1492
static bool operator!=(mat3 a, mat3 b)
Vector comparison, returns true if vectors are different.
Definition: Matrix3D.cs:1047
ScalarFunctionParametricBase()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionScalarParametric.cs:284
void AppendAttributes(string[] attributeNameValuePairs)
Writes definition of the specified attriutes of a HTML element to the HTML document.
Definition: HtmlWriter.cs:587
XmlNode GetRelative(string path)
Returns the first node that satisfies a given XPath expression relative to the current node....
Definition: XmlUtilities.cs:1423
void Inverse(ref IMatrix inv)
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the s...
Definition: MatrixDecompositions.cs:466
static void CalculateGridUnitFactors(int numElements, IRealFunction func, double firstFunctionArgument, double lastFunctionArgument, ref List< double > factors)
Calculates factors for a table of values between two points, and stores them to a list....
Definition: GridGenerator1dBase.cs:553
ScalarFunctionConstant(double constantTerm)
Creation of a constant scalar function. WARNING: Matrix argument is interpreted as Hessian,...
Definition: FunctionScalarExamples.cs:33
override int GetHashCode()
static Complex Divide(Complex c1, Complex c2)
Divides c1 by c2 and returns the result.
Definition: Complex.cs:431
static ThreadPriority GetThreadPriorityFromProcess()
Returns the thread priority value that is equivallent to the current process' priority class.
Definition: UtilSystem.cs:2052
const string ArgBinaryInputFormatBase64
Binary input format used is base-64 encoding.
Definition: UtilCryptoAux.cs:534
static void DetectOs()
Detects operating system.
Definition: UtilSystem.cs:278
double NormInfinity
Get the infinity norm of the matrix - maximum over rows of sum of absolute values of components.
Definition: Matrix3DClass.cs:630
static double sqrt(double a)
Returns the square root of a specified number.
Definition: UtilMath.cs:358
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: CommaCharacterStrategy.cs:5
virtual string[] ParameterNames
Names of function parameters.
Definition: ScalarFunctionScriptController.cs:185
static bool IsApplicationRunningByWindowTitle(string mainWindowTitle, bool caseSensitive)
Returns true if at least one application with the specified main window title is running,...
Definition: UtilSystem.cs:1615
override mat3 Hessian(vec3 parameters)
Calculates and returns Hessian of the current 3D quadratic function and returns it (in the form of a ...
Definition: Function3d.cs:635
static readonly PhysicalConstant bar
Bar, non-SI unit of pressure, bar = 10^5 Pa = 10^5 kg/numrows result^2. Use is not encouraged.
Definition: Constants.cs:1260
double a2
Returns the quadratic term coefficitne of the cubic function.
Definition: FunctionRealInterpolation.cs:1005
Definition: SampleClasses.cs:14
virtual bool IsNext(CharType ch)
TScalarField ActiveScalarField
Gets active scalar field. Has protected setter.
Definition: UnstructuredMesh1dGeneric.cs:238
static RealFunction GetReciprocalPower(int power)
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:212
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntIEnumerableToStringListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:96
static int GetNextId()
Returns another ID that is unique for objects of the containing class its and derived classes.
Definition: ParallelJobServerBase.cs:111
Field(int numElements)
Creates a new field with the specified number of elements.
Definition: FieldGeneric.cs:24
int _p
Definition: FunctionRealBasic.cs:236
string Name
Variable name.
Definition: CommandlineApplicationInterpreterBase.cs:410
virtual double[][] ToJaggedArray()
Creates and returns a jagged 2D array that contains a component-wise copy of the matrix.
Definition: MatrixBase.cs:420
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArray3DToStringJaggedArray3DObjectToIntJaggedArray3D__ComparativeToDelete_()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:757
virtual vec3 GetGridCoordinate(int i)
Returns coordinates of the specified grid point. Indices run contiguously from 0 on (they do not corr...
Definition: Mesh.cs:104
Definition: SettingsRreader.cs:30
ToStringTypeConverterViaJsonEdgeTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:26
void SyncTraceSwitchWithReportLevel(ReportLevel level, TraceSwitch tswitch)
Synchronizes the state of a TraceSwitch object with the value of the ReportLevel enumeration.
Definition: ReporterMsg.cs:2951
abstract void ClosePipe()
Closes the pipe and streams that depend on it.
const string MsgAnResultsReadyFilename
Default file name for analysis results ready flag.
Definition: OptFileConst.cs:51
bool RequestedConstraints
Flag indicating whether calculation of constraint functions is required or not.
Definition: AnalysisResultsDto.cs:90
static int GetNumConstants(int dim)
Returns the number of constants that specify the quadratic function of the specified dimension.
Definition: FunctionScalarExamples.cs:421
string NeuralApproximatorType
Gets string representation of type of the current object. This is used e.g. in deserialization in ord...
Definition: NeuralApproximatorBase.cs:246
static void Transpose(IMatrix a, IMatrix result)
Stores transpose of the operand in another matrix. Can be done in-place. WARNING: dimensions of the o...
Definition: MatrixBase.cs:1820
virtual void Dispose()
Clean up after the reference is not used any more.
Definition: InterpreterCommandLine.cs:353
Cartesion parameterization of a curve in 2D. Beside the Curve and (optional) CurveDerivative,...
Definition: ICurveParameterization2D.cs:18
virtual double RefInverse(double y)
Returns inverse of the reference (untransformed) function.
Definition: FunctionReal.cs:942
List< IVector > ErrorsTrainingMaxList
Convergence List of Maximal errors calculated on training data.
Definition: NeuralTrainingParameters.cs:480
static void LoadJson(string filePath, ref MappingDefinition mapDataDefRestored)
Restores mapping data definition from the specified file in JSON format.
Definition: NeuralMapData.cs:886
static string _defaultResponseEnd
Definition: ClientServerStreamBase2_Copy.cs:80
virtual int Length
Definition: ParserBase.cs:24
virtual void PrintHelpCommandLine()
Prints help for the command-line JavaScript interpreter to the standard output.
Definition: ExpressionEvaluatorCompiled.cs:416
bool HasDerivative
Definition: Ellipsoid.cs:76
bool HasExpiredFinal
Gets the indicatin whether the program has stopped being functional because of expiration....
Definition: App.cs:1200
ElementType[] _elements
Definition: VectorBase.cs:157
bool KeepCurrentGuess
Whether current guess is kept or not.
Definition: OptimizationResults.cs:42
TVectorField GetVectorField(string name)
Returns vector field with the specified name.
Definition: UnstructuredMesh3dGeneric.cs:425
int _id
Definition: ExpressionEvaluatorCompiled.cs:45
virtual int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: AnalysisResults.cs:1018
static readonly PhysicalConstant s
Second, the basic SI unit of time.
Definition: Constants.cs:826
virtual void InvalidateGradientDefinition()
Invalidates definition of function gradient.
Definition: ScalarFunctionScriptController.cs:344
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: Matrix.cs:1284
static void Subtract(IMatrix a, IMatrix b, IMatrix result)
Subtracts two matrices and stores the result in the specified result matrix. Operation can be perform...
Definition: MatrixBase.cs:2350
TIndexField _activeIndexField
Definition: UnstructuredMesh1dGeneric.cs:80
void Register()
Registers the current object. Subsequent calls (after the first one) have no effect.
static xdouble Tanh(xdouble a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:1842
static int SizeOf(ushort val)
Returns size of a value of type ushort, in bytes.
Definition: Utils.cs:1189
void CapturedVarCreation_ToStringLong_WorksCorrectly()
Definition: CapturedVarTests.cs:379
bool IsRunnable
Either or not the script can be run (some scripts only support other tasks).
Definition: LoadableScriptOpt.cs:317
Vector2d Subtract(Vector2d a)
Returns difference between the current vector and the specified vector.
Definition: Vector2Dclass.cs:456
virtual void GetNodeTable(ref double[] result)
Stores the node positions of the generated 1D grid into the specified table. If necessary,...
Definition: GridGenerator1dBase.cs:916
Stream _stream
Definition: ReporterMsg.cs:3576
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: NeuralApproximatorBase.cs:1115
int Count
Gets total number of elements.
Definition: MatrixBase.cs:41
override void CancelAll()
Cancel the current waiting for the condition on all threads.
Definition: WaitConditionFile.cs:359
static double atan(double a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1217
void start(int threadCtr)
Definition: PortScannerSimple.cs:42
virtual void UpdateBoundingBox(BoundingBox bounds)
Definition: GraphicalObjectsBase.cs:165
readonly object _mainLock
Definition: IdGenerator.cs:40
static RealFunction GetIdentity(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real identity (or linear) function object.
Definition: FunctionRealBasic.cs:365
double[] Constraints
Definition: AnalysisResultsDto.cs:273
string PipeName
Definition: IpcNamedPipes.cs:446
double ff
The number of half-twists by which the generating line is rotated by 180 degrees (Ï€/2)....
Definition: MoebiusStrip.cs:55
void CopyFromMatNetNumericsVector(Vector_MathNetNumerics v)
Copies values from the specified MathNet Numerics vector.
Definition: Vector.cs:399
static void Subtract(IVector a, IVector b, ref IVector result)
Subtracts two vectors (a - b ) and stores the result in the specified result vector....
Definition: VectorBase.cs:1453
void AddTensorField(TTensorField field, string name)
Adds the specified tensor field to the collection of tensor fields under the specified name.
Definition: StructuredMesh2dGeneric.cs:648
Definition: NeuralTrainingParameters.cs:2848
double ReferenceValue(double x)
Definition: FunctionReal.cs:1273
static bool operator==(ExplicitlyConvertibleToDerived lhs, ExplicitlyConvertibleToDerived rhs)
Definition: SampleClasses.cs:243
int MomentumNum
Number of momentums.
Definition: SerializationDtoNeural.cs:741
bool IsMaxDefined(int componentIndex)
Returns true if maximum value is defined for the specified component, false otherwise.
Definition: BoundingBox.cs:1202
IVector _initialGuess
Definition: OptimizationInputData.cs:187
static string[] GenerateParameterOrVariableNames(int dimension, string baseName="x", int startIndex=0, int numPlaces=2)
Generates and returns an array of a specified number of variable or parameter names,...
Definition: ScalarFunctionScriptController.cs:599
static ThreadPulser _pulser
Definition: WaitConditionFile.cs:289
double Value(double x, double y, double z)
Calculates and returns value of the current 3D scalar function.
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealInterpolation.cs:1504
virtual ILoadableScript CreateLoadableObject(string[] initializationArguments, bool storeObject)
Creates and returns an object of the class that has been last compiled.
Definition: Loader.cs:1462
string EvaluateJsInteractive()
Runs interpreter's JavaScript expression evaluator interactively.
Definition: CommandlineApplicationInterpreter.cs:1540
static color ScaleGray(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:595
override void ModuleInitializationBefore()
Things performed before initialization of the application.
Definition: App.cs:95
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealBasic.cs:619
virtual double GetConstraintGradient(int which, int index)
Returns the specific constraint function gradient component.
Definition: AnalysisResults.cs:620
virtual ResponseDelegate ResponseMethod
Delegate that calculates response to given request.
Definition: IpcStreamServerBase.cs:108
IVector _toleranceMax
Definition: NeuralApproximatorBase.cs:932
Reporters that utilize writing messages to files. Messages are typically formatted as multi-line mess...
Definition: ReporterMsg.cs:164
virtual string Script_CommandTestScript(string[] arguments)
Prints help.
Definition: LoadableScriptBase.cs:439
override bool SecondDerivativeDefined
Definition: FunctionVectorFromScalar.cs:132
Matrix2d GetNewMatrixThis()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector2Dclass.cs:144
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:927
double a3
Returns the cubic term coefficitne of the cubic function.
Definition: FunctionRealInterpolation.cs:1012
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray3DToStringListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:337
static ColorScale CreateBlueRed(double minValue, double maxValue)
Creates and returns a continuous color scale that ranges from dark blue to red.
Definition: ColorScale.cs:935
string PipeName
Definition: IpcPipes.cs:100
int _id
Definition: CommandlineApplicationInterpreterBase.cs:144
int SleepTimeMs
Definition: WaitConditionFile.cs:1167
double StartParameter2
Definition: MoebiusStrip.cs:95
ILogger CreateLoger< T >()
virtual void SetReferencedAssemblies(params string[] assemblyFiles)
Sets the list of referenced assemblies in such a way that it contains only the specified assemblies.
Definition: Loader.cs:1060
static int SetLargestAsymmetricAlgorithmKeySize(AsymmetricAlgorithm algorithm)
On the specified asymmetric encryption algorithm, sets the largest possible key size,...
Definition: UtilCrypto.cs:3889
virtual void AllocateGradient(int which)
Allocates space for the specified function gradient.
Definition: FunctonVectorResults.cs:592
const string AttributeShortcutKey
The shortcut key attribute. Specifies a shortcut key to activate/focus an element.
Definition: HtmlWriter.cs:42
string _appendCodeCommand
Definition: ExpressionEvaluatorCompiled.cs:347
int _inputLength
Definition: NeuralApproximatorBase.cs:596
double Norm
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:82
UnstructuredMesh2d(int length)
Constructs a new 2D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh2d.cs:34
GridGenerator1d()
Creates a uniform 1D grid generator that generates two nodes at 0 and 1.
Definition: GridGenerator1d.cs:20
void GetRandomPoint(ref IVector point, IRandomGenerator rand)
Creates a random point contained in the current bounding box by using the specified random number gen...
Definition: BoundingBox.cs:1244
List< IVector > ErrorsTrainingRmsList
Convergence List of Rms errors calculated on training data.
Definition: NeuralTrainingParameters.cs:462
double EndParameter1
Typical end value of the second parameter of the parametric surface.
Definition: IParametricSurfaceWithBounds.cs:46
string _helpCommand
Definition: ExpressionEvaluatorCompiled.cs:334
XmlNode NextElement(string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2234
Array CreateJaggedArray(Type elementType, int[] dims, int level)
Creates an empty jagged array of the given shape and element type.
Definition: CollectionTypeConverter.cs:359
string IvString
Initialization vector in string form.
Definition: UilCryptoAux1.cs:319
int _outputLength
Definition: NeuralApproximatorBase.cs:597
string ConstAttributeClass
The class attribute. Specifies one or more classnames for an element (refers to a class in a style sh...
Definition: HtmlWriter.cs:83
void GetAppSetting(string reportername, string keyroot, ref double value, out bool assigned)
Reads a numeric value from the application configuration file (e.g. app.config) and assigns it to the...
Definition: ReporterMsg.cs:2141
Complex Exp()
Definition: Complex.cs:727
static RealFunction GetWeightPol4(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object based on 4th order polynomial....
Definition: FunctionRealWeight.cs:626
IVector GetNew(int length)
Creates and returns a new vector with the specified dimension, and of the same type as the current ve...
virtual List< double > GetNodeListReference()
Returns a list containing generated 1D node positions. This method can return a reference to the inte...
Definition: GridGenerator1dBase.cs:980
~CommandLine()
Definition: InterpreterCommandLine.cs:159
@ Rfc
Default key derivation algorithm.
override void GradientPlain(IVector parameters, IVector gradient)
Calculates first order derivatives (gradient) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:250
static string[] GetArgumentsArray(string commandLine)
Parses a command line and extracts arguments from it. Arguments can be separated according to usual r...
Definition: UtilString.cs:226
RandomGeneratorSystem(int seed)
Initializes a new instance of random generator, using the specified seed value.
Definition: Random.cs:316
bool _isApplication
Definition: App.cs:691
override double f3(double u, double v)
Definition: Function3d2d.cs:1036
static void MapCoordinatesPlain(StructuredField2d< vec3 > referenceField, StructuredField2d< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping coordinates of a reference gr...
Definition: StructuredField2dGeneric.cs:221
static void TestIntegration()
Test for numerical integration methods.
Definition: FunctionNumeric.cs:558
int _rowCount
Definition: MatrixBase.cs:7756
bool _isBranchExecuted
Definition: CommandlineApplicationInterpreterBase.cs:1213
void AppendNewLine()
Definition: JsonPPStrategyContext.cs:105
virtual string AppSystem(string[] arguments)
Runs one of the file system - related embedded applications.
Definition: ScriptAppBase.cs:3858
A type converter that supports conversion between basic types and a wide range of collection types,...
Definition: CollectionTypeConverter.cs:22
void SetOutputScales(IVector min, IVector max, IVector lengthScales)
Sets parameters that affect default calculation of output distance and output relative coordinates.
TIndexField GetIndexField(int index)
Returns the index field with the specified index.
Definition: UnstructuredMesh1dGeneric.cs:129
Collection of structured 3D fields of the same type. Fields are identified by their names.
Definition: FieldCollectionGeneric.cs:18
bool IsAbsoluteTwiceDifferentiable
True if absolute value is twoce differentiable, false otherwise. Differentiability of absolute value ...
Definition: FunctionRealPenalty.cs:195
int[] NumHiddenNeuronsThirdValues
Values for number of hidden neurons in the third hidden layer.
Definition: SerializationDtoNeural.cs:854
static double log2(double a)
Returns the base 2 logarithm of a specified number.
Definition: UtilMath.cs:424
override void Evaluate(IVector parameters, ref bool calculateValues, ref List< double > values, ref bool calculateGradients, ref List< IVector > gradients, ref bool calculateHessians, ref List< IMatrix > hessians)
Calculation of values, gradients, and hessians of the vector function according to request flags....
Definition: FunctionVectorBase.cs:402
double xz
Definition: Matrix3D.cs:377
double _a1
Definition: FunctionRealInterpolation.cs:464
string _messagePrefix
Definition: IpcStreamClientServerBase.cs:176
byte[] GetLastGeneratedBytes()
If the generator has public parameters (flag IsParametersPublic) then the last generated key in form ...
Definition: UtilCryptoAux.cs:822
int Length
Current length of the buffer.
Definition: StringParser.cs:109
virtual string CryptoFunctionDecryptPlain(string appName, string[] args)
Executes embedded application - symmetric decryption of files, strings, or byte fields by using the P...
Definition: ScriptAppBase.cs:1259
ToStringTypeConverterViaJsonBenchmarkTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:29
const string NumericsHelpScriptScalarFunction
Definition: ScriptAppBase.cs:582
String Phone
Definition: App.cs:854
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:135
Complex(double realPart, double imaginaryPart)
Creates a complex number from the specified real and imaginary part.
Definition: Complex.cs:28
IVector _toleranceRms
Definition: NeuralTrainingParameters.cs:261
string ConstRunScript
Interpreter command for running dynamic scripts.
Definition: ApplicationCommandLineBase.cs:46
WaitDirectoryRemoval(string filePath)
Definition: WaitConditionFile.cs:788
string ResponseEnd
Definition: ClientServerStreamBase2_Copy.cs:121
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
Definition: Ellipsoid.cs:67
static void SaveJson(SampledDataSet sampledData, string filePath)
Saves the specified sempled data to the specified JSON file. The file is owerwritten if it exists.
Definition: SampledData.cs:1090
TestClass(string name, double value)
Definition: SerializerBase.cs:575
static readonly PhysicalConstant Gy
Gray, the SI derived unit of absorbed dose of ionizing radiation. Gy = J/kg = numrows^2/result^2.
Definition: Constants.cs:1053
static double ThirdDerivative6Point(DlgFunctionValue f, double x, double h)
Calculates the third order derivative of a function with a 5 point formula. Error is O(h^4).
Definition: FunctionNumeric.cs:294
string _str
Definition: SerializerBase.cs:681
virtual void InvalidateFunctionNames()
Invalidates names of parameters. This also means that function value definition and function gradient...
Definition: VectorFunctionScriptController.cs:479
bool _headWritten
Definition: HtmlWriter.cs:112
Base class for classes that provide blocking until a file or directory is created/removed.
Definition: WaitConditionFile.cs:130
HyperboloidParametricMinus(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1268
virtual IRealFunction Function
Gets or sets a real-valued function of one variable that defines the current radial function.
Definition: FunctionScalarRadial.cs:50
List< object > _parametersStore
Definition: CommandlineApplicationInterpreterBase.cs:1915
XmlNode GoToRoot()
Sets the current node to the root node of the current document and returns it.
Definition: XmlUtilities.cs:1982
static void Copy(Matrix a, Matrix result)
Copies components of a matrix to another matrix. WARNING: dimensions of the specified result matrix m...
Definition: Matrix.cs:900
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: FunctionRealInterpolation.cs:979
WaitFileEvent(string fileOrDirectoryPath)
Definition: WaitConditionFile.cs:641
int _d2
Definition: StructuredField3dGeneric.cs:160
static void ExampleMathNetNumericsSVD()
Example of how to use SVD ( singular value decomposition) from Math.NET numerics.
Definition: TestSpeed.cs:1160
void AddCommandReference(int interpreterId, string commandName, string description)
Adds a new command use reference for this command. This method should be called whenever the command ...
Definition: InterpreterCommandLine.cs:102
static int DefaultOutputLevel
Dafault output level for object of the StringTable and derived classes.
Definition: StringTable.cs:68
static ScalarFunctionQuadratic ExampleFunctionDiagonal2d()
Creates and returns quadratic scalar function with diagonal Hessian.
Definition: FunctionScalarExamples.cs:357
const string ArgPasswordHexBytes1
Specification that password as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:451
void ReportInfo(Exception ex)
Launches an info.
Geometry and topology of an unstructured 2D mesh. Presents both connected meshes and unconnected sets...
Definition: UnstructuredMeshGeometry3dGeneric.cs:15
Test optimization script cls.
Definition: LoadableScriptOpt.cs:327
override void Serialize< T >(T serializedObject, Stream serializationStream)
Serializes the specified object and outputs it to a stream.
Definition: SerializerJson.cs:80
TimeSpan TotalCpuTimeSpan
Definition: UtilTime.cs:420
string Title
Definition: ModelParameterSetFixedBase.cs:131
Vector2d Multiply(double k)
Returns the current vector multiplied by the specified scalar.
Definition: Vector2Dclass.cs:448
static object LockGlobal
Static lock object used by all instances of this class (and possibly by other classes).
Definition: IpcStreamClientServerBase.cs:49
string RequestingAssemblyName
Definition: UtilSystem.cs:2710
void ReadAppSettings(string groupname, bool onlyonce)
Reads settings for a specified named group of reporters from the application configuration file.
Definition: ReporterMsg.cs:2418
bool TransformY
Whether or not reference function is stretched/shifted in x direction.
Definition: FunctionReal.cs:833
bool CheckForBlockEnterOrExitCommand(string commandLine, bool justCheck=false, bool isOnlyCommandName=false)
Inspects the specified commandline and checks whether it can represent a block enter or a block exit ...
Definition: CommandlineApplicationInterpreterBase.cs:1142
override void ModuleInitializationBefore()
Pre-initialization stage.
Definition: ApplicationIgShellBase.cs:73
virtual IVector GetPointOutputVector()
Gets the vector of output values of the point containet in the current container. <pra>This method mu...
Definition: PointContainer.cs:295
virtual void SendRequest()
Sends the current request string (the IpcStreamClientServerBase2.RequestString property) to the serve...
Definition: IpcStreamClientBase.cs:142
static IMatrix CholeskyExtractUpper(IMatrix matCholesky, ref IMatrix result)
Extracts the upper part of the specified Cholesky decomposition (0s in below diagonal) and stores it ...
Definition: MatrixBase.cs:6830
static Matrix3d operator-(Matrix3d a)
Unary negation for 3D matrices, returns the negative operand.
Definition: Matrix3DClass.cs:777
StopWatch1(string label)
Definition: UtilTime.cs:49
DataMapperSimple()
Definition: NeuralMapData.cs:990
Complex((double, double) complexTuple)
Creates a complex number from a 2-value tuple of doubles. The first value represents the real and the...
Definition: Complex.cs:56
const string KeyTextLoggerWriteIntro
Definition: ReporterMsg.cs:2330
virtual string CmdNameNlpSimpBoundConstr
Command name - taban2d.
Definition: InterfaceInv.cs:186
List< T > _objects
Definition: UtilObjectStore.cs:76
static void KillFirstApplication(string processName)
Kills the first running application found that has the specified process name.
Definition: UtilSystem.cs:1234
static double TestComputationalTimesLU_IGLib(int numEq, int outLevel, bool testProduct=false)
Test of LU decomposition.
Definition: TestSpeed.cs:118
Base class for all application classes. Provides some basic functionality such as keeping information...
Definition: App.cs:152
Complex Pow(Complex z)
Definition: Complex.cs:760
IVector _outputMin
Definition: DistanceComparer.cs:410
static string ListToStringLong< T >(List< T > list, bool addNewlines, int numIndent)
Returns a string representing the specified generic list in long form. Count and Capacity properties ...
Definition: Utils.cs:2654
double Momentum
Momentum. Specifies how much changes of weight in the previous iterations affect changes in the curre...
Definition: NeuralTrainingParameters.cs:97
readonly int[] _dimensions
Definition: CollectionTypeConverter.cs:522
string _TextLoggerIntroText
Definition: ReporterMsg.cs:4808
bool IsNaN
Indicates whether the current Scalar is not a number.
Definition: Scalar.cs:94
void AddTensorField(TTensorField field)
Adds the specified tensor field to the collection of tensor fields.
Definition: UnstructuredMesh3dGeneric.cs:646
override void CopyToPlain(ref IBoundingBox box)
Copies data from the current DTO to a bounding box object.
Definition: BoundingBoxDto.cs:114
static string _defaultKeyData
Definition: SampledDataCsv.cs:56
double[] Parameters
Definition: FunctionReal.cs:1394
The same as LinearBasis, just that it has more meaningful error reporting (but is therefore slower).
Definition: ApproxBasis.cs:157
Converts a string to a specific type using IConvertible and invariant culture. Only works with types ...
Definition: FromStringTypeConverterViaIConvertible.cs:11
List< InputFieldDefinition > _defaultInputValues
Definition: SimKosecFileManagerBase.cs:647
virtual void Dispose(bool disposing)
Does the job of freeing resources.
Definition: HtmlWriter.cs:880
static bool CheckFactorialsArray()
Tests ehether the factoirals in the hard-coded array (factorials64) of factorials are correct; Throws...
Definition: UtilMath.cs:553
static string DefaultMessageString(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Default delegate for message assembly of the message string when reporting on consoles....
Definition: ReporterMsg.cs:6007
List< IVector > _convergenceErrorsTrainingRmsList
Definition: NeuralApproximatorBase.cs:619
const string IGLibUrl
Definition: Utils.cs:3106
void Add(IEnumerable< T > items)
Definition: SampleClasses.cs:463
void AddModule(string moduleName, ModuleDelegate moduleDelegate)
Adds a new module to the interpreter. This adds an initialization function (via a delegate) which is ...
const int SW_SHOW
Definition: UtilConsole.cs:37
override void CopyToPlain(ref IndexList list)
Copies data from the current DTO to an index list object.
Definition: IndexListDto.cs:77
A RealFunction class used as base class for dynamically loaded functions. Bunctions loaded from scrip...
Definition: RealFunctionScriptBase.cs:61
ColorScale(double minValue, double maxValue, int numCells, bool isDiscrete, params color[] definitionColors)
Constructor.
Definition: ColorScale.cs:231
bool _componentEvaluation
Definition: FunctionVectorBaseGeneral.cs:49
static void SaveSampledDataCSV(string filePath, SampledDataSet sampledData, bool namesSpecified, bool titlesSpecified, bool descriptionSpecified, InputOutputDataDefiniton definitionData)
Saves sampled data and Definition data to single CSV file.
Definition: SampledData.cs:1962
string _functionArgumentParametersName
Definition: ScalarFunctionScriptBase.cs:87
WaitFileCreationByProxy(string filePath)
Definition: WaitConditionFile.cs:918
virtual void EnterWhile(CommandThread cmdThread, string conditionString)
Enters the While block.
Definition: CommandlineApplicationInterpreter.cs:1140
GrLinesettings()
Definition: GrProperties.cs:28
Matrix2d GetNewThis()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix2DClass.cs:459
SerializationTestArrayMember[] Array1D
Definition: SerializerBase.cs:649
string Release
Gets or sets the release specification of the program (e.g. "alpha", "beta", "release"....
Definition: App.cs:1058
void StopServerThread()
Sends to the server thread command that it has to stop.
Definition: ParallelJobServerBase.cs:402
vec2 Multiply(vec2 b)
Right-multiplies the current 2D matrix with the specified 2D vector and returns the product.
Definition: Matrix2D.cs:714
string NetworkStateFilePath
Definition: SerializationDtoNeuralApproximator.cs:46
VectorDtoBase _outputValues
Definition: SampledDataDto.cs:35
Graphic set that contain graphic primitives and other graphic sets.
Definition: GraphicalObjectsInt.cs:32
object lockExample
Definition: WaitConditionFile.cs:1122
void Analyse(IAnalysisResults analysisData)
Performs analysis - calculates requested results and writes them to the provided data structure.
virtual void InitBegin()
Initial part of initialization. Auxiliary object is not affected because default delegates do not uti...
Definition: ReporterMsg.cs:1327
const string ArgSaltLength
Specification of length of the salt follows.
Definition: UtilCryptoAux.cs:459
abstract void SendDummyRequest()
Definition: ModelParameterTyped.cs:26
override double f2(double u, double v)
Definition: Function3d2d.cs:1132
void GetErrorsTrainingRms(ref IVector errors)
Calculates the RMS (root mean square) of the errors of output values for the training elements of the...
virtual GraphicObject Parent
Returns the graphic object that directly contains this primitive.
Definition: GrObjects.cs:301
const string CryptoHelpAddCertificate
Definition: ScriptAppBase.cs:1529
object _internalLock
Definition: StringParser.cs:85
bool IsKeysCaseSensitive
Whether keywords are case sensitive.
Definition: SampledDataCsv.cs:343
void Read()
Reads 2D matrix components from a console.
Definition: Matrix2DClass.cs:775
bool _checkOutputNameConsistency
Definition: NeuralMapData.cs:568
override VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:767
static string ToCsvString(string[][] values, string separator)
Convertsa a 2D jagged array of string values to a string in CSV format.
Definition: UtilCsv.cs:283
static string ToStringReadable(IMatrix mat, int accuracy=4, int padding=8)
Returns a readable string form of a matrix, accuracy and padding can be set.
Definition: MatrixBase.cs:4888
Transfer Object (DTO) for neural network training results.
Definition: SerializationDtoNeural.cs:1061
static void UpdateBounds(Field< vec2 > field, IBoundingBox bounds)
Updates the specified bounds (object of type IBoundingBox) in such a way that all 2D vector elements ...
Definition: FieldGeneric.cs:635
Field(int numElements, string fieldName)
Constructs a new field with the specified number of elements and name.
Definition: FieldGeneric.cs:31
static RealFunction GetWeightPol5()
Creates and returns a new real polynomial weighting function object based on 5th order polynomial....
Definition: FunctionRealWeight.cs:837
void IEnumerableElementTypeIsRetrievedCorrectlyForNestedArrays()
Definition: IGLibCoreReflectionTests.cs:124
override int ColumnCount
Gets the second dimension (number of columns) of the matrix.
Definition: Matrix.cs:560
static string GetValue(XmlNode basenode, string xpath)
Returns value of the (first) text node of the first ELEMENT node in the XML sub-tree whose root is ba...
Definition: XmlUtilities.cs:681
void WriteMessage(StreamWriter outputStream, string message, string[] args)
Writes a mesage to the output stream. What is written is decorated message (including the standard me...
Definition: IpcStreamClientServerBase.cs:416
virtual SerializationTestArrayMember[] Array1D
Definition: SerializerBase.cs:768
static string GetStandardizedDirectoryPath(string directoryPath)
Returns the specified directory path in standard form (absolute path, system's path separator,...
Definition: UtilSystem.cs:4574
override bool Condition()
If not overridden, this condition always returns false.
Definition: WaitConditionFile.cs:323
Definition: ICurveParameterization2D.cs:3
IAnalysisResults _currentGuess
Definition: OptimizationResults.cs:145
virtual void SetRandom(IRandomGenerator rnd)
Sets the current matrix such that it contains random elements on the interval (0,1].
Definition: MatrixBase.cs:609
void ExampleBlockCreateRemove(string filePath)
Monitors the specified file and successively blocks until it is created and then until it is removed....
Definition: WaitConditionFile.cs:1177
static int IgGetNumSaltSuffices()
Returns the number of standard IGLib salt strings.
Definition: UtilCrypto.cs:5197
bool RemoveTW(List< TWClass > lwriters, TextWriter writer)
Removes the first object from a list that contains the specified TextWriter.
Definition: ReporterMsg.cs:3893
double pp
Definition: FunctionRealPenalty.cs:172
void RoundTripConversion_ShouldWorkForListOfDouble()
Definition: ToStringTypeConverterViaJsonTests.cs:74
bool SetTextWriter(TextWriter writer, bool writeintro)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4031
void FindClosestPointsDummy(IDistanceComparer< PointContainerType, PointType > comparer, int numClosestPoints, bool accelerateSortingByStoringDistances)
Finds the specified number fo closest points to each point contained in the current cloud,...
Definition: PointCloud.cs:1275
double Trace
Gets matrix trace (sum of diagonal elements).
Definition: Matrix2D.cs:621
double b
Definition: Function3d2d.cs:958
TVectorField GetVectorField(string name)
Returns vector field with the specified name.
Definition: StructuredMesh2dGeneric.cs:433
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1283
ResolutionIdentity()
Definition: UtilSystem.cs:2703
Definition: IsExternalInit.cs:7
IVector LengthScales
Sets the vector of length scales that are used for calculation of distances.
Definition: DistanceComparer.cs:320
string filename
Definition: ReporterMsg.cs:3578
bool ContainsKey(string key)
Returns true if the current parameter set contains the specified key.
static void Negate(vec3 v, ref vec3 res)
Negates the specified vector and stores its copy in the resulting vector.
Definition: Matrix3D.cs:258
static readonly PhysicalConstant LightYear
Light year, distance travelled by light through vacuum in 1 year.
Definition: Constants.cs:1371
int _maxSleepMs
Definition: WaitCondition.cs:244
static ModuleTest _moduleTest
Definition: App.cs:67
Complex DivideNumbers(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:35
virtual void ReadAnalysisOutputXml(string filePath, ref AnalysisResults anpt)
Reads analysis output data (request) from the specified file in the XML format, and stores the data i...
Definition: OptFileManager.cs:1113
bool StoreEligible(T obj)
Stores the specified object in the store. Throws ArgumentException if the specified object is not eli...
ObjectRegister< ExampleIRegistrable > ObjectRegister
Gets object register where the current object is registered.
Definition: UtilIdRegistration.cs:332
Definition: TubularMeshGenerator_05.cs:11
static byte[] GetHashBytes(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash (in form of byte array) of specified type of the specified stream.
Definition: UtilCrypto.cs:1236
bool _keepBestGuess
Definition: Optimizer.cs:344
double GetCellValue(int cellIndex)
Returns the value corresponding to the specified cell in the discrete color map. This value is used t...
ReporterBase(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg.cs:1251
static int _defaultSleepTimeMs
Definition: ParallelJobContainerBase.cs:164
IdGenerator(int firstId)
Created a new ID generator with the specified ID generated first. Subsequent IDs are generated by obt...
Definition: IdGenerator.cs:33
bool IsCompiled
Whether the current function definition has been compiled or not.
Definition: RealFunctionScriptLoader.cs:560
static void Multiply(IMatrix a, double b, ref IMatrix result)
Multiplies matrix by scalar and stores the result in the specified result matrix. This operation can ...
Definition: MatrixBase.cs:4350
bool DataUnsaved
Gets the indicator of whether data contents have been changed and not saved since loaded.
Definition: XmlUtilities.cs:49
List< string > RecursivePathList
Definition: UilCryptoAux1.cs:393
Thread _workingThread
Definition: IpcStreamServerBase.cs:388
void SetReferencedVariable(InterpreterVariable referencedVariable, string referencedVariableName=null, int referencedVariableStackLevel=StackLevelDefault)
Sets the the variable reference, which defines the variable that the current variable references.
Definition: CommandlineApplicationInterpreterBase.cs:512
virtual string CmdNameSetVarInt
Command name - setting an integer variable.
Definition: InterfaceInv.cs:98
const string VarNameHessianDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: ScalarFunctionScriptLoader.cs:121
static string DefaultReserveReportMessage(ReporterBase reporter, ReportType messagetype, string location, string message, Exception ex, Exception ex1)
Default function function for assembling reserve error reporting message. This is put outside the Def...
Definition: ReporterMsg.cs:6051
bool IsGlobal
Indicates whether the current reporter is used as a global reporter or not.
Definition: ReporterMsg.cs:863
int _numEqualityConstraints
Definition: AnalysisResultsDto.cs:47
virtual void ParseCommandlineArguments(string[] args)
Parses command-line arguments and eventually sets various internal variables according to their value...
Definition: App.cs:288
virtual string ModifiedName
Definition: SerializerBase.cs:695
bool SetTextLogger(Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:4919
double NormForbenius
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:73
int _ind2
Definition: SerializerBase.cs:678
int Read(string str, int startpos)
Reads in the value from a string, starting at a specified position and skipping any leading spaces....
Definition: Scalar.cs:701
static readonly PhysicalConstant T
tera- (T), SI prefix for 10^12.
Definition: Constants.cs:678
CommandThreadBase GetCommmandThread(int whichCommandThread)
Returns the specified command thread for the current interpreter.
virtual string ExitWhile(CommandThread cmdThread)
Exits the current JavaScript code block, and sends the JavaScrit code contained within the block (con...
Definition: CommandlineApplicationInterpreter.cs:1161
vec3 Color
Light color (RGB values between 0 and 1).
Definition: LightSource.cs:39
virtual double NormP(double p)
p-norm, p-th root of sum of absolute values of components raised to the power of p.
Definition: VectorBase.cs:465
override VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:1020
bool ContainedInNode(XmlNode node, XmlNode container)
Returns null if an XML node (first argument) is contained in the specified note (second argument)....
Definition: XmlUtilities.cs:1195
int EpochsInBundle
Number of epochs in a single training bundle. This number of epochs is performed at once when trainin...
Definition: NeuralApproximatorBase.cs:108
virtual void AddCommandMt(string commandName, ApplicationCommandDelegateMt commandDelegate)
Adds command with the specified name.
Definition: CommandlineApplicationInterpreter.cs:2737
IRealFunction _func
Definition: GridGenerator1dFunc.cs:78
virtual CompilerResults CompilerResults
Results of compilation.
Definition: Loader.cs:1002
virtual void SpecificTypeConverter_RoundTripConversion_StringToDoubleObjectToString_IsCorrect()
Definition: BasicTypeConverterTests.cs:129
static string CastAndCallToReadableString(Array array, string indentation=ArrayIndentation, string openBracket=ArrayBracketOpen, string closedBracket=ArrayBracketClosed, string separator=ArraySeparator)
Definition: CollectionExtensions.cs:159
bool UseTrace
Gets or sets the flag specifying whether reporting using the pado trace is performed or not.
Definition: ReporterMsg.cs:5672
Field where field elements are arranged in a 3 dimensional array. Usually represents a field over a s...
Definition: StructuredField3dGeneric.cs:74
const int TestSpeedLongNumEq
Number of equations used to test speed of numerical computations.
Definition: CommandlineApplicationInterpreter.cs:6529
string ValueTypeName
Short name of the actual type of the captured entity's value, the ValueType, produced by Type....
Definition: ICapturedVar.cs:50
bool IsAnyFlagSet(params CryptoFlags[] whichFlags)
Returns true if any of the specified flags is set, or false if none of them is set.
Definition: UtilCryptoAux.cs:193
static RealFunction GetWeightReciprocalPower(int power, double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object based on reciprocal power functio...
Definition: FunctionRealWeight.cs:229
static readonly List< TrackedThread > _threadList
The list of active traced threads.
Definition: TracedThread.cs:163
const string ConstRunFile
Name of the command that runs (interprets) the specified command file by the script's interpreter.
Definition: ScriptAppBase.cs:390
string MyDescription4
Definition: SampleClasses.cs:275
Eigenvalue decomposition of a matrix.
Definition: MatrixDecompositions.cs:1121
bool TryConvert(object source, out object target)
Converts the value source of type SourceType to a value of type TargetType and stores the converted ...
string RemovePipeClients(params string[] clientNames)
Removes the specified interpreter's named pipe clients. Client's pipes are closed....
Definition: CommandlineApplicationInterpreter.cs:5653
static double LuDeterminant(IMatrix luMatrix, int toggle)
Calculates and returns matrix determinant form its specified LU decomposition.
Definition: MatrixBase.cs:5551
virtual bool ComponentWiseEvaluation
Tells whether the function supports evaluation of individual components. If not then evaluation is pe...
Definition: FunctionVectorBaseGeneral.cs:115
DerivedClass()
Definition: SampleClasses.cs:72
override void Analyse(IAnalysisResults anRes)
Performs direct analysis for optimization problems. This method must be overridden in derived classes...
Definition: LoadableScriptOpt.cs:360
override void CopyToPlain(ref SampledDataSet dataSet)
Copies contents of the current DTO to the specified sempled data set.
Definition: SampledDataDto.cs:183
static bool AsymEncryptionDecryptionTest(int length, AsymmetricAlgorithm algEnc, AsymmetricAlgorithm algDec=null)
Tests whether the specified asymmetric algorithm(s) correctly encrypts/decrypts a random byte array o...
Definition: UtilCrypto.cs:4760
void SaveCsv(string filePath, string separator)
Saves the data of the current object into a CSV file. If the file already exists then its contents ar...
Definition: StringTable.cs:1160
override bool Equals(object obj)
static double DefaultLearningRateMax
Default value for maximum learning rate in neural networks.
Definition: NeuralTrainingParameters.cs:1225
static double NormWeighted(IVector a, IVector characteristicLengths)
Returns weighted Euclidean norm of the specified vector.
Definition: VectorBase.cs:800
override int GetHashCode()
Returns the hash code (hash function) of the current matrix.
Definition: MatrixBase.cs:756
string GetRepairedCommand(string command)
Repairs the specified command and returns the repaired command string.
Definition: ExpressionEvaluatorCompiled.cs:262
virtual void SetParameter(int index, double value)
Sets the specified optimization parameter.
Definition: FunctonVectorResults.cs:262
virtual bool ReferenceAllLoadedAssemblies
If true then all assemblies that are currently loaded by the application are also added to the refere...
Definition: Loader.cs:1023
virtual TIndexField CreateIndexField(string fieldName, string fieldDescription)
Creates and returns a new index field of dimensions that match dimensions of the current structured m...
Definition: UnstructuredMesh2dGeneric.cs:150
static Vector2d operator/(Vector2d a, double b)
Vector subtraction.
Definition: Vector2Dclass.cs:529
Base class for real vectors.
Definition: VectorBase.cs:267
const string VarNameDerivativeDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: RealFunctionScriptLoader.cs:85
virtual string[][] InputFileLines
The current input represented as an array of text lines.
Definition: SimKosecFileManagerBase.cs:585
int _numParameters
Definition: Analysis.cs:83
void SetCoefficients(double a1, double a0)
Sets coefficients of the linear function represented by the current object.
Definition: FunctionRealInterpolation.cs:79
bool _integralDefined
Definition: FunctionReal.cs:1060
static Stream AssemblyEmbeddedFileResourceStream(string resourceName)
Returns a stream containing the embedded file resource included in the currently executing assembly.
Definition: UtilSystem.cs:3825
readonly ITestOutputHelper _testOutputHelper
Definition: TestBase.cs:42
double[] _elements
Definition: Vector.cs:250
SerializationDtoTypedBase()
Definition: SerializationDtoBase.cs:755
bool RemoveTextWriter()
Removes the default text writer from the TextWriter subsystem. If appropriate, the corresponding text...
Definition: ReporterMsg.cs:4384
List< TextWriter > TextLoggerWriters()
Returns a list of all text writers that are currently used by the reporter's text logger....
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: Vector3Dclass.cs:394
static int NumLaunchedBinaryFormattingConsoleWarinings
Definition: UtilSystem.cs:5530
int _NumVersionDigits
Definition: App.cs:704
string _anOutXmlPath
Definition: OptFileManager.cs:141
double Int0(double tt)
Returns integral for the function where x0 = 0.
Definition: FunctionRealPenalty.cs:326
override void Wait()
Waits for condition to be fulfilled.
Definition: WaitConditionFile.cs:426
static ColorRGBA Heat(double u)
Definition: ColorMap.cs:57
int TextLoggerNumWriters(bool writableonly)
Returns the current number of TextWriters used by the reporter's text logging module.
Definition: ReporterMsg.cs:5355
void Shrink(IBoundingBox outerBounds)
Reduces (if necessary) the current bounding box in such a way that the specified bounding box contain...
Definition: BoundingBox.cs:854
override bool InverseDefined
Indicates whether inverse is defined for this function (w.r. implementation). Getter returns true if ...
Definition: FunctionReal.cs:1087
void ClearInputFieldDefinition(int fieldId, string fieldName)
Removes the specified input field definition from the stored collection of definitions.
Definition: SimKosecFileManagerBase.cs:1067
string _genericResponse
Definition: ClientServerStreamBase2_Copy.cs:274
override string ToString()
Definition: WaitCondition.cs:375
void RemoveVectorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh3dGeneric.cs:530
abstract void ResetNetwork()
Resets the neural network.
bool _formatted
Definition: SerializerJson.cs:53
bool IsDirectory
Definition: WaitConditionFile.cs:1158
DerivedTypesRegistry()
Definition: DerivedTypesRegistry.cs:32
BoundingBoxDto(int dimension)
Creates a DTO for storing a bounding box object of any bounding box type, with specified dimension.
Definition: BoundingBoxDto.cs:187
vec3 Cross(vec2 v2)
Cross product of the current vector with another vector (in this order); Calls Cross(vec2,...
Definition: vec2.cs:53
static vec2 Copy(vec2 v)
Returns a copy of the specified 2D vector.
Definition: Matrix2D.cs:225
double StartParameter1
Typical starting value of the first parameter of the parametric surface.
Definition: IParametricSurfaceWithBounds.cs:43
static TrackedThread[] Threads
Returns the array of all active tracked threads of type TrackedThread.
Definition: TracedThread.cs:169
static readonly PhysicalConstant MoonFlattening
Moon flattening, 0.00125. Versine of the spheroid'result angular eccentricity, (a-s)/a.
Definition: Constants.cs:1586
virtual void InvalidateDimension()
Invalidates dimension of function domain. All dependent data is invalidated.
Definition: ScalarFunctionScriptController.cs:315
bool _calcValues
Definition: FunctonVectorResults.cs:118
VectorFunctionResults(int numParameters, int numFunctions, bool reqGradients)
Specified number of parameters and functions. Gradients may be required, dependent on teh reqGradient...
Definition: FunctonVectorResults.cs:76
virtual bool ReqValues
Indicates whether calculation of functions is/was requested.
Definition: FunctonVectorResults.cs:652
bool ValueDefined
Whether calculation of function value is defined.
Definition: Function3d.cs:21
int OutputLength
Number of output neurons.
Definition: NeuralTrainingParameters.cs:1479
const string FuncNameInverseDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: RealFunctionScriptLoader.cs:117
int P
Number of times the point touches upper and lower surface of the cylinder.
Definition: CylindricalBilliardKnot.cs:27
ScalarFunctionRadialOneParametric(IRealFunctionOneParametric function, IAffineTransformation transf)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:244
void ClearInputFieldDefinition(int fieldId)
Removes the specified input field definition from the stored collection of definitions.
Definition: SimKosecFileManagerBase.cs:1048
Definition: SampleClasses.cs:205
mat2 Add(mat2 a)
Returns sum of the current matrix and the specified matrix.
Definition: Matrix2D.cs:670
static RealFunction GetExp(double Kx, double Sx)
Creates and returns a new real exponential function object.
Definition: FunctionRealBasic.cs:54
override void CloseInput()
Closes the inpt stream.
Definition: IpcStreamServerBase.cs:32
override double NextDoubleInclusive(double maxValue)
A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than the spe...
Definition: Random.cs:240
int Count
Gets the current number of objects.
Definition: UtilObjectStore.cs:19
double OutputSafetyFactorMax
Maximum limit for output safety factor value.
Definition: SerializationDtoNeural.cs:760
static xdouble Sqr(xdouble a)
Returns the square of a specified number.
Definition: UtilMath.cs:1806
SortedDictionary< string, InputFieldDefinition > InputFieldDefinitions
Gets the sorted dictionary that contains input field definitions. This should be used only exceptiona...
Definition: SimKosecFileManagerBase.cs:917
int GetScriptNumArguments()
Returns the number of script run method's arguments (i.e. arguments that are stored in DirectArgument...
Definition: ApplicationCommandLineBase.cs:207
object _lock
Definition: ClientServerStreamBase_Copy.cs:44
static List< int > IntList
Sample List of int (type List<int>), for use in tests.
Definition: SampleCollections.cs:23
const bool LibDefaultWriteIndented
Library-wide default JSON serializer option for indented serialization strings.
Definition: JsonSerializationOptionsFactory.cs:69
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:102
bool IsKeyElementTypeInput(string str)
Whether the specified string is a keyword that marks the input data type.
Definition: SampledDataCsv.cs:470
IReadOnlyList< ModelParameterType > ParameterList
Gets a readonly list of model parameter objects, ordered in the same order in which parameters were a...
Definition: IModelParameterSetBase.cs:92
NamedPipeClientBase(string pipeName)
Constructs a new named pipe client with the specified pipe name, default server address (DefaultServe...
Definition: NamedPipes_Copy.cs:387
const string ArgEncrypt
Specifies that encryption is performed, rather than decryption.
Definition: UtilCryptoAux.cs:313
virtual IModelParameter UpdateDescription(string newDescription)
Updates the description of the current parameter (property Description).
Definition: ModelParameter.cs:249
void AddHeading1(string headingText, params string[] attributeNameValuePairs)
Adds a new level 1 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:682
static void LuInverse(IMatrix luMatrix, int[] perm, ref IVector auxRight, ref IVector auxX, ref IMatrix res)
Calculates inverse of the matrix from its specified LU decomposition.
Definition: MatrixBase.cs:5503
PointType _point
Definition: PointContainer.cs:196
TrackedThread(ParameterizedThreadStart start, int maxStackSize)
Creates a new tracked thread with the specified parameterized thread start delegate and the specified...
Definition: TracedThread.cs:56
virtual vec3 Center
Reyurns the center of mass of all co-ordinates of this primitive.
Definition: GrObjects.cs:321
string _passwordAlgorithmTypeString
Definition: UilCryptoAux1.cs:137
override void Analyse(IAnalysisResults anRes)
Performs analysis - calculates requested results and writes them to the provided data structure.
Definition: LoadableScriptOpt.cs:241
int _numLastErrors
Definition: NeuralTrainingParameters.cs:2904
StructuredMesh3d(int dim1, int dim2, int dim3)
Constructs a new 3D (unconnected) unstructured grid with the specified dimensions,...
Definition: StructuredMesh3d.cs:35
virtual string CryptoFunctionGetFileHash_OLD_TO_DELETE(string appName, string[] args)
Executes embedded application - calculation of various hash values of a file.
Definition: ScriptAppBase.cs:2490
IAnalysisResults _buestGuess
Definition: OptimizationResults.cs:165
const string SystemSystemInfo
Definition: ScriptAppBase.cs:3722
const string KeyLevelOff
Definition: ReporterMsg.cs:2305
static void SaveJson(IVector vec, string filePath)
Saves (serializes) the specified vector to the specified JSON file. File is owerwritten if it exists.
Definition: VectorBase.cs:2978
virtual string CmdPrintCommands(CommandThread cmdThread, string cmdName, string[] args)
Execution method for command that prints names of all installed applications.
Definition: CommandlineApplicationInterpreter.cs:6414
override bool ComponentWiseEvaluation
Returns true, indicating that individual components of functions and eventually their deirvatives is ...
Definition: FunctionVectorBase.cs:32
bool _mappedElementindexSpecified
Definition: NeuralMapData.cs:326
override double f2(double u, double v)
Definition: Function3d2d.cs:1539
string _integralDefinitionString
Definition: RealFunctionScriptBase.cs:102
Base class for serialization helper classes.
Definition: SerializerBase.cs:97
void ToStringIConvertible_ShouldConvertAndBeRoundTrippable< T >(T value)
Definition: ToStringTypeConverterViaIConvertibleTests.cs:46
Matrix3d DyadicProduct(Vector3d v)
Returns dyadic product of the current and the specified vector.
Definition: Vector3Dclass.cs:453
HyperboloidParametric2(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1158
string CommandResult
Stores the result of hte command when completed.
Definition: CommandlineApplicationInterpreterBase.cs:165
bool CanSetMaxZero(int which)
Returns a flag that tells whether maxmal argument where function is zero can be set for the penalty f...
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:1472
static int SkipSpaces(string str, int startpos)
Returns index of the first non-whitespace character in str from the specified position pos (counted f...
Definition: StringParser0.cs:43
override double f1(double u, double v)
Definition: Function3d2d.cs:1329
void RegisterFactory< VectorType >(Func< int, VectorType > creationDelegate)
AnalysisResults AnalysisPoint
Last analysis request or results.
Definition: OptFileAnalysisClient.cs:83
virtual double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionRealParametric.cs:322
string _msgNeuralBusyPath
Definition: NeuralFileManager.cs:153
int NumZeros
Returns number of zeros of the current quadratic function.
Definition: FunctionRealInterpolation.cs:589
static void CreateParameterNamesArray(string namesString, string[] separators, ref string[] namesArray, bool trimSpaces=true, bool allowMultipleSeparators=false)
Parses a string that contains delimited parameter names, extract an array of individual parameter nam...
Definition: ScalarFunctionScriptController.cs:425
const string ArgIvString
Specification of initialization vector in form of string follows.
Definition: UtilCryptoAux.cs:484
Type ScriptType
Selected type of the script to be run.
Definition: ApplicationCommandLineBase.cs:88
static string DefaultReportLocation_TextWriter(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Delegate for assembling a location string for this kind of report.
Definition: ReporterMsg.cs:4705
void UpdateTrainingTableDimensionns()
Updates the list of dimensions of the table of training results (contained in the list TrainingParame...
Definition: NeuralTrainingParameters.cs:2674
bool HasWarnings()
Returns true if logger contains any warning logs false otherwise.
Definition: LoggerMsg.cs:393
abstract double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
bool _isScriptLoaderInitialized
Definition: Loader.cs:73
object Lock
Object's lock (implementation of ILockable).
Definition: App.cs:625
string ToStringVariableValues()
Definition: CommandlineApplicationInterpreterBase.cs:1475
@ DeriveBytes
Specifies the DeriveBytes algorithm.
static void Example()
Example of use of a 2D function.
Definition: Function3d2d.cs:681
const string LockFileMutexName
Name of the mutex for locking file system in file server operations.
Definition: OptFileConst.cs:28
JsonScope PopJsonType()
Definition: PPScopeState.cs:59
double EndParameter
Definition: TrefoilKnot3D.cs:48
double EndParameter
Typical end value of the parameter of the parametric curve that represents the curve....
Definition: ICurve3DCylindricalParameterization - Copy.cs:38
int _numStartedJobs
Definition: ParallerJobDispatcherBase.cs:1167
bool RequestedObjective
Flag indicating whether calculation of objective function is required or not.
Definition: AnalysisResultsDto.cs:86
override void CopyToPlain(ref SampledDataElement obj)
Definition: SampledDataDto.cs:76
static void Copy(OutputElementDefinition original, ref OutputElementDefinition copy)
Copies data from one output data element definition to another.
Definition: SampledDataDefinition.cs:607
void NewDocument(string RootName)
Creates a new Xml document with a specified name of hte root element.
Definition: XmlUtilities.cs:2313
double NextDoubleInclusive()
A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than 1....
abstract void WaitForConnection()
Waits until a client connects to the specified server pipe.
void GetDataColumnDefinitionsFromData(bool isDouble, bool isInt)
Extracts information about data columns from the data.
Definition: SampledDataCsv.cs:2227
static void Example()
Example of use of the RealFunctionLoader class. Creates a function loader and uses it for dynamic def...
Definition: RealFunctionScriptLoader.cs:642
const double Defaulta
Definition: Function3d2d.cs:1608
object InternalLock
Used internally for locking access to internal fields.
Definition: NeuralFileManager.cs:53
Function()
Definition: RealFunctionScriptExample.cs:43
static void MultiplyMatMatTransp(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B*C^T. Multiplies three matrices (first argumet, second argumet, and transposed third argument) a...
Definition: MatrixBase.cs:3603
int count
Definition: PortScanner.cs:22
Defines the Klein's bottle (a parametric surface), a closed surface with no interior and exterior.
Definition: Function3d2d.cs:1520
LinearBasisSafer(int dimension)
Definition: ApproxBasis.cs:160
A ScalarFunction class used as base class for dynamically loaded scalar functions....
Definition: ScalarFunctionScriptBase.cs:53
int OutputSafetyFactorNum
Number of output safety factor values.
Definition: SerializationDtoNeural.cs:762
delegate string Script_CommandDelegate(string[] args)
Delegate for commands that are installed on script's internal interpreter (property Script_Interprete...
override double Derivative(double x, int order)
Returns the derivative of the given order of this function at the specified parameter.
Definition: FunctionRealBasic.cs:589
override bool ValueDefined
Definition: FunctionRealBasic.cs:402
int _dimension
Definition: BoundingBox.cs:448
Base class for bounding boxes that define minimal and maximal co-ordinates of objects,...
Definition: BoundingBox.cs:315
virtual bool HasDerivative
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:100
static string ToString(X509Certificate certificate)
Returns a readable string representation of the specified certificate.
Definition: UtilCrypto.cs:4117
Storage of optimization results. Stores optimal results, best current guess, etc.
Definition: OptimizationResults.cs:19
Vector(int n, int which)
Constructs an n-dimensional unit vector for i'th coordinate.
Definition: Vector.cs:71
string ToStringNewlines()
Returns a string representation of this matrix with newlines inserted after each row....
Matrix3d NormalizedInfinity()
Returns this matrix normalized with infinity norm.
Definition: Matrix3DClass.cs:645
bool RemoveTextWriter()
Removes the default text writer from the TextWriter subsystem. If appropriate, the corresponding text...
HyperboloidParametricPlus(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1219
IVector Gradient0
Vector of linear coefficients (equal to gradient of the function at x=0).
Definition: FunctionScalarExamples.cs:461
bool TrainingOutputsCalculated
Whether outputs have been calculated, after last training, in the training points (excluding verifica...
Definition: NeuralApproximatorBase.cs:2023
static bool ISEnumerableOf(Type elementType, Type queriedType, bool considerStringAsEnumerable=false)
Definition: UtilReflectionCore.cs:39
Base class for graphic line primitive.
Definition: GraphicalObjectsBase.cs:347
Definition: GrObjects.cs:469
virtual void WriteNeuralInput(IVector inputParameters)
Writes neural approximator input parameters to standard location.
Definition: NeuralFileManager.cs:652
virtual bool IsFeasible(double equalityTolerance)
Returns true if the current analysis results represent a feasible point. Feasible point is one where ...
Definition: AnalysisResults.cs:1364
NeuralTrainingParametersDto[] TrainingParameters
Contains Parameters that define neural network architecture and trainig procedure,...
Definition: SerializationDtoNeural.cs:1078
const string VarNameValueDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: RealFunctionScriptLoader.cs:121
virtual void InitAppDataStructuresPartial()
Initializes commands for form demo related utilities (embedded applications).
Definition: ScriptAppBase1.cs:37
IRandomGenerator Rand
Random generator used by the current cloud of points.
Definition: PointCloud.cs:274
double NormForbenius
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3D.cs:617
virtual string Run(CommandThread cmdThread, string commandName, params string[] commandArguments)
Runs the specified command with specified name, installed on the current application object.
Definition: CommandlineApplicationInterpreter.cs:1933
override StreamReader InputStream
Input stream of the server.
Definition: IpcNamedPipes.cs:254
void CancelOne()
Cancels the current waiting for the condition (if one is going on) on one thread and unblocks the thr...
Complex Subtract(Complex c)
Subtracts c from the curret complex number and returns the result.
Definition: Complex.cs:482
static readonly PhysicalConstant ElectronMass
Electron mass. Unit: kg.
Definition: Constants.cs:526
string NeuralInputPath
File path of the file with input parameters. Setter takes only pure file name, without path informati...
Definition: NeuralFileManager.cs:308
string _className
Definition: ExpressionEvaluatorCompiled.cs:81
string Convert(object source, bool indented)
Definition: ToStringTypeConverterViaJson.cs:56
mat2 Inv
Gets inverse of the current matrix.
Definition: Matrix2D.cs:659
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealBasic.cs:277
Matrix3d(Matrix3d m)
Copy constructor. Initializes components of a 3D matrix with components of another 3D matrix.
Definition: Matrix3DClass.cs:32
static Matrix Ones(int d)
Generates a square d*d matrix filled with 1.
Definition: Matrix.cs:431
int FirstNonemptyRow()
Returns index of the first non-empty row of the table, or -1 if there is no such row.
Definition: StringTable.cs:385
virtual void AppendCommandArgument(string value)
Appends a string argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:609
static double StandardDeviation(params double[] sampleElements)
Calculates and returns mean value of its arguments (or elements of the specified double array).
Definition: UtilMath.cs:771
const string ArgPasswordLength
Specification that length of the password or key follows.
Definition: UtilCryptoAux.cs:439
static bool IsUserTadej
Returns true if the current user logged on the computer is Tadej, or false otherwise.
Definition: UtilSystem.cs:159
Parametric torus surface.
Definition: Torus.cs:13
virtual bool CalculatedObjectiveHessian
Indicates whether calculation of objective function Hessian is/was requested.
Definition: AnalysisResults.cs:1083
void ReportInfo(string message)
Launches an info.
Definition: ReporterMsg.cs:3401
List< double > Values
Function values. If CopyReferences=true (false by default) then only the list reference is copied in ...
Definition: FunctionVectorResultsInt.cs:93
int[] NumHiddenNeuronsThirdValues
Values of number of hidden neurons in the third layer that will appear in the table.
Definition: NeuralTrainingParameters.cs:1901
MappingDefinitionElement(string name, string title, string description)
Constructor. Element index is unknown.
Definition: NeuralMapData.cs:306
override ComplexVector CreateVector(int dim)
Definition: ComplexVector.cs:120
ShellApplication()
Definition: ApplicationCommandLineBase.cs:342
bool _isMultilineRequest
Definition: ClientServerStreamBase2_Copy.cs:89
ReportDelegate ReportDlgTrace
Delegate that performs reporting (logging) via Pado trace mechanism. It calls delegates ReportDlg to ...
Definition: ReporterMsg.cs:5686
void DecreaseDepth()
Decreases indentation level by 1.
Definition: ReporterMsg.cs:2593
override double RefInverse(double y)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealPenalty.cs:350
virtual void CopyToObject(ref object obj)
Copies data from the current DTO to an object of type object. Object is created anew if necessary by ...
Definition: SerializationDtoBase.cs:603
void Json_InitOnlyClas_Serialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:253
static Process ExecuteSystemCommandAsync(string command, params string[] args)
Executes system command with arguments asynchronously (returns immediately and does not wait for the ...
Definition: UtilSystem.cs:364
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArrayToDoubleIEnumerableObjectToIntIList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:52
static bool ReadPwd(ref string value, bool repeat=true)
Reads a password from console, masking the input by * characters.
Definition: UtilConsole.cs:676
void SaveTrainingDataJson(string filePath)
Saves network's training data to the specified JSON file. File is owerwritten if it exists.
Definition: NeuralApproximatorBase.cs:1542
const string SystemDomainName
Definition: ScriptAppBase.cs:3647
virtual void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
Definition: AnalysisResults.cs:1004
static void Init()
Initializes global application data for the current class of application.
Definition: ApplicationIgShellBase.cs:118
List< double > _nodes
Internally stored generated nodes.
Definition: GridGenerator1dBase.cs:304
string _neuralOutputXmlPath
Definition: NeuralFileManager.cs:146
static double min(double a, double b, double c)
Smallest of three numbers.
Definition: UtilMath.cs:175
RandGeneratorThreadSafe(int seed)
Initializes a new instance of random generator, using the specified seed value.
Definition: Random.cs:194
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray2DToIntArrayObjectToIntList()
Definition: CollectionTypeConverterTests .cs:261
virtual string CryptoFunctionGetFileHash(string appName, string[] args)
Executes embedded application - calculation of various hash values of a file.
Definition: ScriptAppBase.cs:1138
FrameworkDependencyException(string message, Exception innerException)
Initializes a new instance of the FrameworkDependencyException class with the speecified error messag...
Definition: FrameworkDependencyException.cs:35
static string CreateParameterNamesString(string[] namesArray, string separator, bool insertNewLines=false, bool insertSpaces=true)
Constructs a delimited string cotaining parameter names, from the specified array of parameter names.
Definition: ScalarFunctionScriptController.cs:512
Converts values from a single specific source type (SourceType ) to a single specific target type (Ta...
Definition: ISingleTypeConverter.cs:11
virtual void AllocateConstraintHessians()
Allocates space for constraint functions' Hessians (including space for the list, if necessary).
Definition: AnalysisResults.cs:938
static object LockId
Lock used for acquiring IDs.
Definition: ParallelJobContainerBase.cs:97
static int SizeOf(byte val)
Returns size of a value of type byte, in bytes.
Definition: Utils.cs:1183
int Get_HashCode2()
A candidate for object.GetHashCode() override.
Definition: Complex.cs:864
override int GetHashCode()
Hath function for the xdouble type.
Definition: UtilMath.cs:1375
static Complex GetConjugate(Complex c)
Returns complex conjugate of c .
Definition: Complex.cs:452
int ID
Definition: SampleClasses.cs:25
int _index
Definition: PointContainer.cs:235
bool _valueDefined
Definition: Function3d2d.cs:246
LightSource(LightType type)
Creates a new light with default values (white light at intensity 1.0).
Definition: LightSource.cs:30
Definition: ParsableFromString.cs:9
double _a2
Definition: FunctionRealInterpolation.cs:464
GrPointSettings()
Definition: GrProperties.cs:88
override int NumParameters
Gets number of parameters that define the current function out of parametric family of scalar functio...
Definition: FunctionScalarRadial.cs:341
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:100
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: SimKosecFileManagerBase.cs:84
static void Negate(Vector3d v, ref Vector3d res)
Negates the specified vector and stores its copy in the resulting vector.
Definition: Vector3Dclass.cs:489
double r
Radius of the smaller circle (in regular tori), which defines the cross-section of torus tube and whi...
Definition: Torus.cs:41
double StartParameter
Typical starting value of the parameter of the parametric curve that represents the curve....
Definition: ICurve3DCylindricalParameterization - Copy.cs:33
override OutputMappingDefinitionElement CreateObject()
Definition: NeuralMapData.cs:133
void LoadTrainingDataJson(string filePath)
Restores training data from the specified file in JSON format.
const string AssemblyLoaded1
Definition: ScriptAppBase.cs:4249
static xdouble atan(xdouble a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1630
SortedDictionary< string, string > _variables
Definition: CommandlineApplicationInterpreter.cs:274
virtual void Report_Trace(ReportType messagetype, string location, string message, Exception ex)
Launches a report via Trace. Report is launched by using special delegates for this kind of reporting...
Definition: ReporterMsg.cs:5804
void RemoveVariable(string varName)
Removes the specified variable.
Definition: CommandlineApplicationInterpreterBase.cs:1449
string _inputFilename
Definition: SimKosecFileManagerBase.cs:267
IAnalysis Analysis
Definition of the direct problem (direct analysis).
Definition: Optimizer.cs:245
vec2 rowx
Gets or sets the x-row of the 2D matrix.
Definition: Matrix2D.cs:464
static readonly PhysicalConstant EarthOrbitalPeriod
Earth orbital period - 365.256366 l = 3.15582e7s.
Definition: Constants.cs:1540
void NullifyAll()
Sets all objects (parameter and result objects) to null. If the references are not assigned elsewhere...
Thread Thread
Gets the thread that is uses in this object.
Definition: TracedThread.cs:89
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: NamedPipes_Copy.cs:283
bool AddTextWriter(string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4326
void SetIdentity()
Sets the current matrix to identity matrix.
int ColumnCount
Gets the number of columns.
Definition: MatrixBase.cs:36
Vector3d(Vector3d v)
Copy constructor. Initializes components of a 3D vector with components of the specified vector.
Definition: Vector3Dclass.cs:173
void Deserialize_InvalidJson_ShouldFail()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:196
IRealFunction Function
Definition: GridGenerator1dFunc.cs:81
Definition: LoadableScriptOpt.cs:342
ScalarFunctionScriptDto()
Creates a DTO for storing state of a script based scalar function objects of any type.
Definition: ScalarFunctionDto.cs:179
mat2 Subtract(mat2 a)
Returns difference between the current matrix and the specified matrix.
Definition: Matrix2D.cs:679
abstract string ScriptBase
Container for interpreted code.
Definition: ExpressionEvaluatorCompiled.cs:165
ParallelJobDispatcherBase< JobContainerType > _dispatcher
Definition: ParallelJobServerBase.cs:148
virtual void RunOnFinished()
Called when 'finished' notification is triggered (within the method NotifyJobFinished).
Definition: ParallelJobContainerBase.cs:353
virtual string CryptoFunctionCertInfo(string appName, string[] args)
Executes embedded application - printing infomration about the specified certificate.
Definition: ScriptAppBase.cs:1512
const string KeyTextWriterWriteIntro
Definition: ReporterMsg.cs:2320
bool _cmpSumPenalties
Definition: AnalysisComparer.cs:114
override void CopyFromPlain(ScalarFunctionScriptController functionController)
Copies data to the current DTO from a scaalr function object.
Definition: ScalarFunctionDto.cs:131
static Type GetElementType(Type type)
Gets the element type of a collection or array.
Definition: CollectionTypeConverter.cs:213
override double f3(double u, double v)
Definition: Function3d2d.cs:1584
string ErrorBegin
Definition: IpcStreamClientServerBase2.cs:67
bool IsWaiting
Returns true if waiting for unblocking condition is currently performed, and false otherwise....
Definition: WaitCondition.cs:26
Member of arrays in test classes for testing serialization.
Definition: SerializerBase.cs:663
ScalarFunctionRadialOneParametric(IRealFunctionOneParametric function, IVector parameters, IAffineTransformation transf)
Constructor. Creates a new radial scalar function without specifying coordinate transformation.
Definition: FunctionScalarRadial.cs:231
List< IVector > ConvergenceErrorsVerificationMaxList
Convergence List of Maximum errors calculated on verification data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:1208
PipeClientBase()
Definition: IpcPipes.cs:394
string _saveCodeCommand
Definition: ExpressionEvaluatorCompiled.cs:346
int ptr
Definition: PortScannerSimple.cs:140
Concrete class derived from WaitFileEventBase. It does not have a meaningful unblocking condition (it...
Definition: WaitConditionFile.cs:638
The granny knot is a composite knot obtained by taking the connected sum of two identical trefoil kno...
Definition: GrannyKnot3D.cs:23
TTensorField GetTensorField(int index)
Returns the tensor field with the specified index.
Definition: StructuredMesh3dGeneric.cs:606
Defines classes whose instances can be converted to Xml elements. Conversion is different from that u...
Definition: Vartypes.cs:161
static xdouble operator-(xdouble a, xdouble b)
Definition: UtilMath.cs:1408
override bool RepairInputParameters(IVector parameters)
Repairs simulation parameters, if necessary, in such a way that values are consistent with simuation ...
Definition: SimKosecFileManager.cs:326
static StopWatch1 Create()
Definition: UtilTime.cs:67
string TextWriterIntroText
Gets or sets the introduction string that is written before logging to a TextWriter begins....
Definition: ReporterMsg.cs:174
static void SetDiagonal(IMatrix mat, double diagonalElement)
Sets the current matrix to the diagonal matrix with all diagonal elements equal to the specified valu...
Definition: MatrixBase.cs:898
void RemoveVectorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh2dGeneric.cs:512
3D matrix, struct implementation.
Definition: Matrix3D.cs:375
override double f3(double u, double v)
Definition: Function3d2d.cs:1137
File manager for interfacing (for optimization purposes) the simulation code of Gregor Kosec.
Definition: SimKosecFileManagerBase.cs:17
string _certificatePath
Definition: UilCryptoAux1.cs:234
static string _defaultKeyDiscretizationSteps
Definition: SampledDataCsv.cs:275
object ConvertEnumerable(object value, Type targetType)
Converts any enumerable collection to a target collection type.
Definition: CollectionTypeConverter.cs:414
double EndParameter1
Definition: KleinBottle.cs:81
Interface for an array-like structures (potentially multidimensional) of number elements (with elemen...
Definition: INumberArrayLikeClass.cs:8
virtual void InitAppDataStructures()
Initializes commands for form demo related utilities (embedded applications).
Definition: ScriptAppBase.cs:5147
virtual string CommandArgumentBlockBegin
String that begins command arguments block.
Definition: InterfaceInterpreterBase.cs:232
String Email
Definition: App.cs:852
StructuredMesh2d3d(int dimx, int dimy, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Constructs a 2D structured grid embedded in 3D by transformation of co-ordinates of a regular equidis...
Definition: StructuredMesh2d3d.cs:101
FieldCollection< TVectorField, TVector > VectorFields
Gets the collection of vector fields of the current mesh.
Definition: UnstructuredMesh3dGeneric.cs:377
override void CloseConnection()
Closes the server pipe.
Definition: IpcNamedPipes.cs:182
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: SerializationDtoBase.cs:503
IVector _outputLengthScales
Definition: DistanceComparer.cs:398
static int DefaultNumHiddenNeuronsFirstNum
Default value for number of hidden neurons in first hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1272
bool TryConvert(object source, out object target)
Definition: ToStringTypeConverterViaIConvertible.cs:47
bool MorePorts()
Definition: PortScanner.cs:418
abstract bool ValueDefined
Tells whether value of the function is defined by implementation.
Definition: FunctionReal.cs:229
string _msgAnBusyPath
Definition: OptFileManager.cs:146
bool _checkInputNameConsistency
Definition: NeuralMapData.cs:565
void Initialize(string[] arguments)
Initializes the current object.
bool IsError
Definition: ClientServerStreamBase2_Copy.cs:195
XmlNode PrependChild()
Inserts the newly created node before the first child of the current node. The new node is set to nul...
Definition: XmlUtilities.cs:2744
override double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
Definition: Function2d.cs:615
virtual bool Expires
Gets or sets the flag telling whether the program expires.
Definition: App.cs:1127
Class that represents a scalar function of 2 variables that is the first component of the specified 3...
Definition: Function3d2d.cs:508
byte[] _passwordBytes
Definition: UilCryptoAux1.cs:299
virtual string DefaultCommandFileName
Gets the default command file name for the current interpreter.
Definition: InterfaceInterpreterBase.cs:171
static bool IsNullableType(Type type)
Determines whether the specified type is nullable.
Definition: BasicTypeConverter.cs:78
static string ToString(RSACryptoServiceProvider alg)
Creates and returns a string containing information about the specified RSA algorithm.
Definition: UtilCrypto.cs:4034
void AddProcessCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new process - related embedded application's command (added as sub-command of the base command...
Definition: ScriptAppBase.cs:4530
StructuredSurfaceMesh3D GenerateMesh(Func< double, double, vec3 > surface, double tStart1, double tEnd1, double tStart2, double tEnd2, int numPoints1, int numPoints2, double hrel1=1e-2, bool restrictToInterval=false)
Generates a mesh of the parametric surface using numerically calculated tangent vectors.
Definition: ParametricSurfaceMeshGenerator.cs:173
static void ArrayPower(IMatrix a, double power, ref IMatrix result)
Element-by-element raise to power. WARNING: dimensions of operands must match, otherwise an exception...
Definition: MatrixBase.cs:2574
virtual IVector InputParameters
Vector of input parameters of a single element of sampled data.
Definition: SampledData.cs:50
static void ParseHashFile(string filePath, ref List< string[]> hashList)
Parses the file containing hash values of one or more files, and adds the parsed pairs {hash,...
Definition: UtilCrypto.cs:533
virtual void Script_AddCommands(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Add wscript's internal commands to the specified interpreter.
Definition: LoadableScriptBase.cs:399
ColorRGBA(float r, float g, float b, float a=1.0f)
Definition: ColorRGBA.cs:11
Quadratic function of 3 variables.
Definition: Function3d.cs:552
static void SetRandom(IRandomGenerator rand, int length, int lowerBound, int upperBound, ref IndexList indices)
Creates a prescribed number of unique random indices in the specified range by using the specified ra...
Definition: IndexList.cs:197
VectorDtoBase[] ConvergenceErrorsVerificationMaxTable
Definition: SerializationDtoNeuralApproximator.cs:177
static string ToStringMath(IAnalysisResults anres)
Returns a string representation of the specified analysis results object in a standard IGLib form (Ma...
Definition: AnalysisResults.cs:1654
override bool DerivativeDefined
Whether calculation of derivative is implemeted for the current function.
Definition: RealFunctionScriptBase.cs:186
ILoadableScript _scriptToRun
Definition: ApplicationCommandLineBase.cs:119
Example class that derives from the M class. Implements a method that uses basic mathematical functio...
Definition: UtilMath.cs:26
double[] GetNodeTable()
Returns a table containing 1D node positions. A copy of list of node positions is always created and ...
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:649
bool CompareByVerificationRmsError
Whether verification RMS errors from convergence tavble are compared.
Definition: NeuralTrainingParameters.cs:2972
virtual int[] Dimensions
Dimensions of the speed test (e.g. matrix dimensions {d1, d2} in case of matrix tests,...
Definition: SpeedTestInfo.cs:64
string _originalLibraryPath
Definition: Loader.cs:839
bool IsSquare()
Returns true if the current matrix is a square matrix, and false if not.
List< IVector > ConvergenceErrorsTrainingRmsList
Convergence List of RMS errors calculated on training data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:1184
string _returnedValueName
Definition: ScalarFunctionScriptLoader.cs:143
EventArgs CommonEventArgs
Provides a commond object of type EventArgs for all events to avoid allocation each time an event is ...
Definition: NeuralApproximatorBase.cs:2718
string _startingDirectory
Definition: InterfaceInterpreterBase.cs:90
override bool IsConnected()
Returns true if server pipe is connected, .
Definition: IpcPipes.cs:832
UnstructuredMesh1d2d(int length, string fieldName)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d2d.cs:45
override IMatrix CreateMatrix(int rowCnt, int columnCnt)
Creates and returns a new matrix cast to the interface type IMatrix.
Definition: MatrixDto.cs:266
override double f2(double u, double v)
Definition: Function3d2d.cs:924
A torus knot is a special kind of knot that lies on the surface of a torus.
Definition: TorusKnot3D.cs:28
bool DoTracing(ReportType reptype)
Returns true if the report of a given type should traced (according to ReportingLevel),...
Definition: ReporterMsg.cs:2758
TField ActiveField
Gets the currently active field.
Definition: FieldCollectionGeneric.cs:199
virtual void AddCommand(string commandName, ApplicationCommandDelegate commandDelegate)
Adds command with the specified name.
Definition: CommandlineApplicationInterpreter.cs:2694
void SynchronizeData(bool syncParameterNames=false, bool syncFunctionNames=true)
Synchronizes data on the current vector function controller in such a way that it is consistent.
Definition: VectorFunctionScriptController.cs:190
static void FromByteArray(byte[] bytes, out char val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:1885
bool _reqConstraintGradients
Definition: AnalysisResultsDto.cs:57
int _minSleepMs
Definition: WaitCondition.cs:243
double PenaltyDerivative(int which, double constraintValue)
Returns derivative of the penalty function for the specified constraint at the specified value of the...
const string FileLogEvents
Definition: ScriptAppBase.cs:749
ScalarFunctionLoader _functionLoader
Definition: ScalarFunctionScriptController.cs:663
ILogger CreateLogger(string categoryName)
virtual string CommandArgumentSeparator
String that begins command arguments block.
Definition: InterfaceInterpreterBase.cs:246
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:677
static double root3(double a)
Returns the cubic root of a specified number.
Definition: UtilMath.cs:364
static bool ShowWindow(IntPtr hWnd, int nCmdShow)
IVector ToleranceRms
Tolerance over RMS error of output over training points. Training will continue until error becomes b...
Definition: NeuralApproximatorBase.cs:114
static double Degrees(double x)
Converts angle in radians to angle in degrees and returns it.
Definition: UtilMath.cs:1162
Symmetric paraboloid centered at coordinate origin. f(x,y) = x^2 + y^2 - R2. If R2 is positive then 0...
Definition: FunctionScalarExamples.cs:1007
double A
Definition: CylindricalBilliardKnot.cs:85
ComponentFunction2(IFunc3d2d func)
Definition: Function3d2d.cs:551
virtual ValueType Value
Definition: ModelParameterTyped.cs:119
List< IVector > _convergenceErrorsTrainingMaxList
Definition: NeuralApproximatorBase.cs:620
void AddScalarField(TScalarField field)
Adds the specified scalar field to the collection of scalar fields.
Definition: UnstructuredMesh1dGeneric.cs:342
const string CryptoHelpGetInitializationVector
Definition: ScriptAppBase.cs:1282
static void MapCoordinates(StructuredField2d< vec3 > referenceField, StructuredField2d< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping coordinates of a reference gr...
Definition: StructuredField2dGeneric.cs:248
abstract double CurveDerivativePolar(double t)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
virtual string ToStringReadable(int accuracy=4, int padding=8)
Returns a readable an easily string form of a matrix, accuracy and padding can be set.
Definition: MatrixBase.cs:5108
virtual string CryptoFunctionAsymTest(string appName, string[] args)
Executes embedded application - test of asymmetric encrypton.
Definition: ScriptAppBase.cs:1593
PointCloudSampledDataElement(params SampledDataElement[] points)
Constructs a cloud of vector points containing the specified points.
Definition: PointCloudSampledDataElement.cs:24
string[] DirectArguments
Script arguments used when script is run directly by creating a script object.
Definition: ApplicationCommandLineBase.cs:108
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: Matrix2D.cs:99
void SaveCode(string filePath)
Saves the generated script code to the specified file. File is overwritten if it already exists.
Definition: ScalarFunctionScriptLoader.cs:522
override IBoundingBox CreateBoundingBox(int dimension)
Creates and returns a new bounding box cast to the interface type IBoundingBox.
Definition: BoundingBoxDto.cs:163
override void AddDefaultAssemblies()
Adds assemblies to be automatically referenced by loaded scripts.
Definition: ShellIGLib.cs:36
static string RandomUnicodeString(int stringLength, bool excludeSurrogates=true, IRandomGenerator rndgen=null)
Creates and returns a valid random unicode string. All legal uncode characters may be contained in th...
Definition: UtilString.cs:332
bool TryCopy(string str)
Parses a counter from a string and sets the value to the parsed counter. Leading and trailing spaces ...
Definition: Scalar.cs:736
string _embeddedCommandName
Definition: LoadableScriptBase.cs:165
override void CopyFromPlain(IBoundingBox box)
Copies data to the current DTO from a bounding box object.
Definition: BoundingBoxDto.cs:78
static string ObjectToString< ObjectType >(ObjectType obj)
Converts obect of the specified type to its string representation, where numbers are converted in iva...
Definition: Utils.cs:2689
void Shrink(IBoundingBox outerBounds)
Reduces (if necessary) the current bounding box in such a way that the specified bounding box contain...
double _value
Definition: Constants.cs:109
void CreateNonexistentLibraryPath()
Modifies library path in such a way that it points to an non-existent file.
Definition: Loader.cs:1128
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntIListToStringArrayObjectToIntList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:160
static string _defaultMsgRequestBegin
Definition: IpcStreamClientServerBase.cs:457
string _anInMathPath
Definition: OptFileManager.cs:131
Definition: ReflectionTypeConverterTests.cs:171
void Hessian(double x, double y, double z, out double dxx, out double dyy, out double dzz, out double dxy, out double dxz, out double dyz)
Calculates Hessian of the current 3D scalar function and returns its component through the specified ...
static readonly PhysicalConstant LightSpeed
Speed of light in vacuum (set by definition of meter).
Definition: Constants.cs:377
string NeuralOutputPath
File path of the file for storing approximated output values. Setter takes only pure file name,...
Definition: NeuralFileManager.cs:364
bool _isDataColumnDefinitionsUpdated
Definition: SampledDataCsv.cs:1287
override string Description
Returns a short description of the function.
Definition: FunctionScalarRadial.cs:94
SortedDictionary< string, CommandLine > _commands
Definition: InterpreterCommandLine.cs:238
object ConvertFromJaggedArray(Array sourceArray, Type targetType)
Converts a jagged array to a 1D array, List<T>, or other flat collection.
Definition: CollectionTypeConverter.cs:106
override bool DerivativeDefined
Definition: FunctionRealBasic.cs:255
float FloatG
Gets the green RGB component of the current color as float number in the range 0 to 1....
Definition: Color.cs:204
static int Read(ref Counter result, string str)
Reads a counter from a string, starting at the beginning and skipping any leading spaces....
Definition: Scalar.cs:603
ParallelJobCallbackGen< InputType, ResultType > _onStartedGeneric
Definition: ParallelJobContainerGen.cs:132
bool CheckInputNameConsistency
Gets true if names in mappingdata file and names in definitiondata file are consistent.
Definition: NeuralMapData.cs:611
static string ToStringNewlines(IMatrix mat, string elementFormat)
Returns a string representation of the specified matrix with newlines inserted after each row,...
Definition: MatrixBase.cs:4944
void SetEpochNumbers(List< int > epochNumbers)
Sets the list of epoch numbers at which convergence data was sampled.
Definition: NeuralTrainingParameters.cs:607
abstract double CurvePolar(double t)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
ScalarFunctionControllerType[] GetElements()
Returns an array of scalar function controllers (of type ScalarFunctionControllerType) that represent...
Definition: VectorFunctionScriptController.cs:144
WaitDirectoryRemovalLatence(string directoryPath)
Definition: WaitConditionFile.cs:1509
IVector GetNewVector(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
double Value2(double x, double y)
Calculates and returns value of the second component of the current function.
virtual string AppRemoveCertificate(string appName, string[] args)
Executes command-line action - removes certificate with the specified name from the specified certifi...
Definition: UilCryptoAux1.cs:3807
static double Tan(double a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:1181
static bool IsSymmetric(IMatrix mat)
Returns true if the specified matrix is symmetric, and false if not. If the matrix is null then false...
Definition: MatrixBase.cs:1336
static double DefaultAlphaMax
Default value for maximum alpha value in neural networks.
Definition: NeuralTrainingParameters.cs:1239
SortedDictionary< CommandUseReference, string > _commandReferences
Definition: InterpreterCommandLine.cs:90
string _anInJsonFilename
Definition: OptFileManager.cs:132
string _CodeName
Definition: App.cs:696
int _numWaiting
Definition: WaitCondition.cs:71
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArrayNonrectangular3DToStringIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:620
IDisposable BeginScope< TState >(TState state)
void AllocateConstrainGradients()
Allocates space for constraint function gradients (including for the list, if necessarty).
override bool SecondDerivativeDefined
Definition: FunctionRealInterpolation.cs:685
const ReportLevel DefaultReportingLevel
Definition: ReporterMsg.cs:2611
IAnalysisResults _results
Definition: OptimizationResults.cs:115
static string ToJSON(this object graph, bool prettyPrint)
Definition: JsonExtensions.cs:24
int Indentation
Offset - specifies in which column data columns begin when writing tyo CSV format.
Definition: SampledDataCsv.cs:1429
virtual void InitWaitFileEventBase(string fileOrDirectoryPath)
Initializes the object appropriately. Overrride this method in derived classes!
Definition: WaitConditionFile.cs:150
LogRecord CreateInfo(string message)
Creates and returns an info log record initialized according to parameters.
Definition: LoggerMsg.cs:310
override double ReferenceValue(IVector x)
Returns the value of this function at the specified parameter.
Definition: FunctionScalarRadial.cs:103
virtual void SpecificTypeConverter_RoundTripConversion_IntToDoubleObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:60
double zz
Definition: Matrix3D.cs:377
char _commandCharacter
Definition: ExpressionEvaluatorCompiled.cs:357
static double Rand(double min, double max)
Returns a uniformly distributed random number greater than or equal to min, and less or equal than ma...
Definition: UtilMath.cs:1115
bool IsKeyElementTypes(string str)
Whether the specified string is a keyword introducing variable element types (e.g....
Definition: SampledDataCsv.cs:671
AlignmentHorizontal
Defines horizontal alignment of some object.
Definition: Alignment.cs:10
static Complex Tanh(Complex x)
Definition: Complex.cs:710
PointContainerSampledDataElement(SampledDataElement point, int index)
Definition: PointCloudSampledDataElement.cs:94
static HashAlgorithm GetHashAlgorithm(HashType hashType)
Returns the appropriate hash algorithm according to the specified hash type, or null if the type is n...
Definition: UtilCrypto.cs:479
const string MsgAnBusyFilename
Default file name for analysis busy flag.
Definition: OptFileConst.cs:47
virtual string Name
Returns a short name of the function.
Definition: FunctionVectorBaseGeneral.cs:54
Represents a single command-line that can be executed. $A Igor Feb09;
Definition: InterpreterCommandLine.cs:30
object _lock
Definition: ExpressionEvaluatorCompiled.cs:70
void SetVariableValueLocked(string varName, string varValue, VariableFlags flags=VariableFlags.Default)
Sets the variable within lock on the property.
Definition: CommandlineApplicationInterpreterBase.cs:1429
override VectorBase GetNewBase(int length)
Creates and returns a new 2D vector of the specified dimension in such a way that the type of the ret...
Definition: Vector2Dclass.cs:94
override string BaseDefinitions
A set of pre-defined definitions that can be used in the evaluated code.
Definition: ExpressionEvaluatorJs.cs:358
override string ToString()
Returns a sring representation of the current vector.
Definition: VectorBase.cs:447
override bool IntegralDefined
Definition: FunctionRealPenalty.cs:341
static object _lockGlobal
Definition: IpcStreamClientServerBase.cs:45
AnalysisResults _analysisPoint
Definition: OptFileAnalaysisServer.cs:69
static double ScalarProduct(IVector a, IVector b)
Scalar product of teo vectors.
Definition: VectorBase.cs:1887
override void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionScalarParametric.cs:235
double MinY
Domain lower bound in Y direction.
Definition: SimKosecFileManager.cs:103
void CopyOutputs(IndexList filterIndices, ref IVector[] extracted)
Copies the specified vectors of output values from the current sampled data set, and stores them to t...
Definition: SampledData.cs:534
string _msgNeuralBusyFilename
Definition: NeuralFileManager.cs:152
static double operator*(Vector2d a, Vector2d b)
Scalar product of two 2D vectors.
Definition: Vector2Dclass.cs:511
virtual TIndexField CreateIndexField(string fieldName, string fieldDescription)
Creates and returns a new index field of dimensions that match dimensions of the current structured m...
Definition: UnstructuredMesh1dGeneric.cs:150
static INeuralApproximator ExampleQuadratic()
Example demonstrating usage of the neural network approximator. A quadratic function with random coef...
Definition: NeuralApproximatorBase.cs:3365
static Matrix2d Zeros()
Creates a 2D matrix filled with 0.
Definition: Matrix2DClass.cs:223
static IndexList CreateRandom(int length, int lowerBound, int upperBound)
Creates and returns an index list with the specified number of unique random indices in the specified...
Definition: IndexList.cs:106
FieldCollection3d< TIndexField, TIndex > IndexFields
Gets the collection of index fields of the current mesh.
Definition: StructuredMesh3dGeneric.cs:80
bool CalculatedGradients
Indicates whether calculation of functions' gradients is/was requested.
Definition: VectorFunctionResultsDto.cs:156
StructuredSurfaceMesh3D GenerateMesh(Func< double, double, vec3 > surface, double tStart1, double tEnd1, double tStart2, double tEnd2, int numPoints1, int numPoints2, double hrel1=0.01, bool restrictToInterval=false)
override void Connect(double timeOutSeconds=0)
Connects with the server.
Definition: IpcPipes.cs:726
virtual string[] TypeNames
Definition: Vartypes.cs:43
bool IsResponseSent
Auxiliary flag telling whether response to a request has already been sent to the client....
Definition: ClientServerStreamBase2_Copy.cs:520
bool TextLoggerAppend
Definition: ReporterMsg.cs:2343
int GetNumViolatedConstraints(double equalityTolerance)
Returns number of violated constraints in the current analysis results. Specific constraint is violat...
SI units (basic and derived)
Definition: Constants.cs:804
void AddField(int dim1, int dim2, string fieldName, string fieldDescription)
Creates a new field with specified dimensions and name and description, and adds it to the current co...
Definition: FieldCollectionGeneric.cs:124
Base class for algorithms that generate passwords, encryption initialization vectors,...
Definition: UtilCryptoAux.cs:670
SimKosecFileManagerConvBase(string dataDirectory)
Constructor.
Definition: SimKosecFileManager.cs:23
AppBase AppShellExt
WARNING: If this reports an error then you should also remove the "shellext.exe" from AddDefaultAssem...
Definition: ShellIGLib.cs:32
double BarrierHeight
Characteristic heitht of transition area, usually value of the penalty function at the end of transit...
Definition: FunctionRealPenalty.cs:228
Timer for measuring execution times and other intervals of time elapsed between successive events....
Definition: UtilTime.cs:20
bool SuppressInteractive
Indicates that the interactive mode is temporarily represset.
Definition: CommandlineApplicationInterpreterBase.cs:1231
TimeSpan TimeSpan
Definition: UtilTime.cs:405
static void ToByteArray(sbyte val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1384
PortList()
Definition: PortScannerSimple.cs:148
void AddTensorField(TTensorField field, string name)
Adds the specified tensor field to the collection of tensor fields under the specified name.
Definition: UnstructuredMesh1dGeneric.cs:641
virtual string OriginalName
Unique name of the data element described by the mapped definition. Considered a kind of variable nam...
Definition: NeuralMapData.cs:414
override double f3(double x, double y)
Definition: Function3d2d.cs:843
string _neuralVerificationDataPath
Definition: NeuralFileManager.cs:137
virtual void FileAnalysis(string analysisCommand, string workingDirectoryPath, string analysisInputFileName, string analysisOutputFileName)
Command - runs an external analysis program that exchanges intoermation through files....
Definition: InterfaceInv.cs:430
IVector OutputMin
Sets the vector of minimal values for point OUTPUT values. Needed for calculation of relative coordin...
Definition: DistanceComparer.cs:96
abstract void Gradient3(double x, double y, out double gradx, out double grady)
Calculates gradient of the third component of the current function and returns its components through...
bool SetTextWriter(Stream stream)
Creates a TextWriter upon the stream and sets it as the text writer to which reporting is also perfor...
Definition: ReporterMsg.cs:4061
virtual List< String > Notice(bool useCodename, bool printVersion, bool printRelease, bool printAuthor, bool printAuthorAddress, bool printWebPage, bool printEmail)
Returns a list of text lines introducing the module or application.
Definition: App.cs:1896
Definition: JsonExtensions.cs:15
static readonly PhysicalConstant E
exa- (E), SI prefix for 10^18.
Definition: Constants.cs:694
mat3 MultiplyLeft(mat3 b)
Left-multiplies the current 3D matrix with the specified matrix and returns the product.
Definition: Matrix3D.cs:809
bool _AppSettingsWarnings
Definition: ReporterMsg.cs:2244
IVector ToleranceMax
Tolerance on maximal error of output over training points. Training will continue until error becomes...
Definition: NeuralApproximatorBase.cs:120
ModelParameter(string name, Type type, object defaultValue, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=ModelParameter.DefaultIsDefaultWhenValueNotDefined)
A terse constructor that also defines the default value, beside name and type, and some flags with de...
Definition: ModelParameter.cs:78
static int Count
Gets the current number of active traced threads.
Definition: TracedThread.cs:194
Type _scriptType
Definition: ApplicationCommandLineBase.cs:84
virtual double ExecutionTimeSeconds
Total execution time of the test, in seconds.
Definition: SpeedTestInfo.cs:123
const string FileSignatureEncryptedAsymmetricRandomSymmetric
Definition: UtilCryptoAux.cs:292
abstract PointType CreatePointFromCoordinates(IVector coordinates)
Creates and returns a new point with specified coordinates.
TVectorField GetVectorField(int index)
Returns the vector field with the specified index.
Definition: UnstructuredMesh3dGeneric.cs:435
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:120
double DerivativeMonomial(double x, int power, int order)
Definition: FunctionReal.cs:1299
override ICommandLineApplicationInterpreter Interpreter
Returns the commandline interpreter of the crrent stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:716
static Complex One
Gets the complex 1 (a constant).
Definition: Complex.cs:374
Complex GetPositive()
Returns (positive) value of the current complex number.
Definition: Complex.cs:501
static xdouble Atan(xdouble a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1626
void Shrink(int which, double minBound, double maxBound)
Reduces (if necessary) the current bounding box in such a way that the specified component falls with...
Definition: BoundingBox.cs:879
string GetHashFunctionString()
Returns a string valued hash function of the current vector object.
Definition: VectorBase.cs:902
static Counter operator/(Counter a, Counter b)
Definition: Scalar.cs:524
readonly string Command_Block
Definition: CommandlineApplicationInterpreter.cs:624
static double ErrorAverageCalc(List< IVector > ErrorConvergence, int NumLastErrors, int NumBundles)
Calculate average number of the desired number of first elements in the convergence list.
Definition: NeuralTrainingParameters.cs:1178
bool ThrowExceptionsOnDataErrors
Definition: SampledDataCsv.cs:1453
Represents a real number.
Definition: Scalar.cs:24
virtual int NumValues
Dimension of function codomain (i.e., the number of returned values).
Definition: VectorFunctionDto.cs:86
int _numObjectives
Definition: OptimizationInputData.cs:83
virtual void AppendValue(IMatrix value)
Appends a matrix value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:537
SerializerJson(bool formatted)
Definition: SerializerJson.cs:34
override double f1(double u, double v)
Definition: Function3d2d.cs:1698
virtual string GetCode()
Generates and returns script code for dynamically loadable function definition.
Definition: RealFunctionScriptLoader.cs:432
static color Average(params color[] colors)
Returns average of the specified colors.
Definition: Color.cs:322
NamedPipeClientBase(string pipeName, string serverAddress)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: NamedPipes_Copy.cs:395
const string AnInXmlFileName
Default file name of analysis input file in XML format.
Definition: OptFileConst.cs:37
ComponentFunction3(IFunc3d2d func)
Definition: Function3d2d.cs:592
double[] GetParameters()
Returns parameters of the current parametric function as an array.
string _stoppedResponse
Definition: ClientServerStreamBase2_Copy.cs:322
Base class for main application classes that have the main method of the application based on command...
Definition: ApplicationCommandLineBase.cs:15
void Json_InitOnlyRecord_Serialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:141
ApplicationBase(string programName, string codeName, int version, int subVersion, string release)
Initializes the global data for the current program.
Definition: App.cs:196
void ClearMessages()
Clears all messages for neural approximation client and server.
Definition: NeuralFileManager.cs:630
virtual string VarNameCalcGradConstraints
Definition: InterfaceInv.cs:135
Lockable object, has a Lock property that returns object on which lock must be performed in order to ...
Definition: ILockable.cs:12
bool ValueDefined
Whether calculation of function value is defined.
Definition: Function2d.cs:21
static bool IsEnumerableButNotString(Type type)
Definition: TypeConversionHelperObsolete.cs:103
vec3 rowy
Gets or sets the y-row of the 3D matrix.
Definition: Matrix3D.cs:536
ReportDelegate ReportDlgConsole
Delegate that performs error reporting via console. It calls delegates ReportDlg to assemble error lo...
Definition: ReporterMsg_Derived.cs:113
static void Multiply(IVector a, double scal, IVector result)
Multiplication of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1728
virtual void RemoveReferencedAssemblies(params string[] assemblyFiles)
Removes the specified assemblies from the list of referenced assemblies.
Definition: Loader.cs:1083
const string DefultTestId
Definition: SpeedTestInfo.cs:50
AsymmetricAlgorithmType
Enumeration for selecting the asymmetric cryptographic algorithm.
Definition: UtilCryptoAux.cs:114
FieldCollection2d< TScalarField, TScalar > ScalarFields
Gets the collection of scalar fields of the current mesh.
Definition: StructuredMesh2dGeneric.cs:230
double StartParameter2
Definition: Ellipsoid.cs:85
override double EndParameter
Definition: ConicalSpiralLogarithmic3D.cs:52
StringBuilder _outputBuilder
Definition: JsonPPStrategyContext.cs:82
string _errorString
Definition: FunctionScalarResults.cs:75
static SampledDataSet CreateExampleLinear(int inputLength, int outputLength, int numElements)
Craates and returns a sample data set object where input parameters are calculated randomly in a box-...
Definition: SampledData.cs:2506
virtual double ReferenceExecutionsPerSecond
Reference result (number of executions per second), average of the same test performef on a particula...
Definition: SpeedTestInfo.cs:129
virtual string CryptoFunctionDecryptBasic(string appName, string[] args)
Executes embedded application - symmetric decryption of files, strings, or byte fields by using the B...
Definition: ScriptAppBase.cs:1239
static double TestComputationalTimesQR_IGLib(int numEq, int outLevel, bool testProduct=false)
Test of QR decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:251
virtual void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
Definition: FunctonVectorResults.cs:525
string _neuralInputXmlFilename
Definition: NeuralFileManager.cs:141
SampledDataSet TrainingData
Gets or sets the training data.
Definition: NeuralApproximatorBase.cs:1452
virtual string ToString(string elementFormat)
Returns a string representation of the current vector in a standard IGLib form, with the specified ...
Definition: VectorBase.cs:3172
IBoundingBox Bounds
Definition: GraphicalObjectsBase.cs:69
double R
Radius of the sphere. Default is RDefault
Definition: Sphere.cs:28
void SetFunctionInputReady()
Sets the falg that indicates that the reduced approximation input data is ready.
Definition: NeuralFileManager.cs:1069
void Update(IVector coordinates)
Updates the bounding box in such a way that the specified vector fits in it. If the specified vector ...
Definition: BoundingBox.cs:718
void UnregisterSystemPriorityUpdating()
Unregisters the UpdateThreadPriorityFromSystem method as "event handler" for system priority changes.
Definition: CommandlineApplicationInterpreter.cs:2232
virtual string InputPath
File path of the analysis input file. This file contains all the input data for the direct analysis....
Definition: SimKosecFileManagerBase.cs:342
override void Wait()
Waits for condition to be fulfilled.
Definition: WaitConditionFile.cs:769
double MomentumMax
Maximum limit for momentum.
Definition: NeuralTrainingParameters.cs:1349
static void SetRandomSymmetricPositiveDefinite(IMatrix mat)
Sets the specified matrix such that it is positive definite and contains random elements on the inter...
Definition: MatrixBase.cs:1093
virtual void PrepareResultStorage(bool resetCalculatedFlags)
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
Definition: AnalysisResults.cs:1139
string RequestEnd
Definition: ClientServerStreamBase2_Copy.cs:102
virtual object Convert(object source)
Converts the value (object) source of type SourceType to a value (object) of type TargetType and ret...
Definition: SingleTypeConverterBaseGeneric.cs:32
static void FitGridNodes(double minCurrent, double maxCurrent, double minTarget, double maxTarget, List< double > nodes)
Grid stretching to fit the specified interval bounds. Modifies positions of the generated 1d grid nod...
Definition: GridGenerator1dBase.cs:825
TargetType ConvertTyped< SourceType >(SourceType source)
StructuredSurfaceMesh3D GenerateFrenet(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double hrel=1e-3, bool restrictToInterval=false)
Generates a tubular mesh from the specified parametric curve using the Frenet frame and numerically c...
Definition: TubularMeshGenerator_06.cs:171
double GetObjective()
Returns the value of the objective function.
virtual void CalculateOutput(IVector input, int[] indices, ref IVector filteredOutput)
Calculates and returns the required output values corresponding to the specified inputs,...
Definition: VectorApproximatorBase.cs:92
string ValueDefinitionString
Expression that defines function value.
Definition: RealFunctionScriptLoader.cs:301
DeclaredType Value
Definition: CapturedVar.cs:111
virtual IBoundingBox OutputDataBounds
Bounds on output data, used for scaling from actual output to output produced by neural network....
Definition: NeuralApproximatorBase.cs:1618
TorusVertical()
Definition: Function3d2d.cs:1388
void AddParameter(string parameterKey, ModelParameterType parameter, bool canReplaceParameter, bool isInitializing)
Adds the specified parameter parameter with access key parameterKey to the current parameter set....
Definition: ModelParameterSetFixedBase.cs:104
void Hessian2(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the second component of the current function and returns its component through ...
bool _checkInputUniqueness
Definition: NeuralMapData.cs:559
const int DefaultHiddenFieldValue
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:99
string _indent
Definition: JsonPPStrategyContext.cs:14
override void CloseInput()
Closes the inpt stream.
Definition: IpcStreamClientBase.cs:28
bool _ThrowTestException
Definition: ReporterMsg.cs:3046
static byte[] GetStringHashBytes(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash string of the specified kind of the specified string.
Definition: UtilCrypto.cs:773
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: Vector2Dclass.cs:373
string _codeBlockEnd
Definition: InterfaceInterpreterBase.cs:104
Definition: SerializationDtoBase.cs:739
double ScalarTerm
Scalar additive constant.
Definition: Function3d.cs:606
Definition: UilCryptoAux1.cs:17
mat3 Transpose
Gets transpose of the current matrix.
Definition: Matrix3D.cs:716
override double EndParameter
Definition: ConicalSpiralFermats3D.cs:73
Contains constants for cryptographic operations from shell functions.
Definition: UtilCryptoAux.cs:251
virtual Color GetLineColor(int which)
Returns the specified line color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:185
static int DefaultOutputLevel
Default level of output for this kind of class.
Definition: ClientServerStreamBase_Copy.cs:393
bool _sleepFirst
Definition: WaitCondition.cs:249
string _errorBegin
String (line) that ends a response (only when multiline responses are allowed).
Definition: IpcStreamClientServerBase2.cs:64
long _longNumber
Definition: SerializerBase.cs:679
Various extension methods for collections. In particular, conversion for readable strings,...
Definition: CollectionExtensions.cs:35
bool IsDefaultValueDefined
Whether default parameter vlaue is defined or not. This property has been added to the class such tha...
Definition: IModelParameter.cs:65
static Scalar operator/(Scalar a, Scalar b)
Definition: Scalar.cs:160
override void CalculateGrid(ref List< double > nodeList)
Performs grid generation and stores the generated nodes directly on the provided list....
Definition: GridGenerator1dFunc.cs:128
double Re
Gets the real part of the complex number.
Definition: Complex.cs:167
void AddField(TField field)
Adds the specified field to the urrent field collection.
Definition: FieldCollectionGeneric.cs:275
virtual string AssemblyFunctionLoadAssemblies(int outputLevel, bool reflectionOnly, string appName, string[] args)
Executes embedded application - loading the specified assemblies to the application domain.
Definition: ScriptAppBase.cs:4340
int _sleepTimeMs
Definition: ParallelJobContainerBase.cs:174
virtual void ServerAnalyse()
Performs direct analysis (in optimization) with prescribed analysis input data, and saves results....
Definition: OptFileManager.cs:1233
FieldCollection< TVectorField, TVector > VectorFields
Gets the collection of vector fields of the current mesh.
Definition: UnstructuredMesh1dGeneric.cs:379
bool _inverseDefined
Definition: FunctionReal.cs:1081
static void GetApplicationsByWindowTitle(string mainWindowTitle, bool caseSensitive, ref List< Process > processList)
Gets all applications with the specified main window title, and puts them to tehe specified list.
Definition: UtilSystem.cs:1521
Func3d2dBaseNoGradient()
Definition: Function3d2d.cs:193
const string ArgForceOverwrite1
If files are to be wasOverwritten, permission is not asked for and overwriting is forced....
Definition: UtilCryptoAux.cs:566
virtual void SetParamMom(IVector parameters)
Sets the current parameters.
Definition: InterfaceInv.cs:368
int NumVectorFields
Gets the number of vector fields.
Definition: StructuredMesh2dGeneric.cs:450
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: Vector.cs:653
double BarrierLength
Gap - characteristic length of transition area on which penalty function grows for about (or sometime...
Definition: FunctionRealPenalty.cs:220
static string GetCurrentProcessExecutablePath()
Returns the absolute path of the executable file (with extension) for the current process.
Definition: UtilSystem.cs:560
Dictionary< string, InfoType > DerivedTypeNames
Definition: DerivedTypesRegistry.cs:37
HyperboloidTwosheetedLowerParametric(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1068
virtual string OutputBaseDirpath
Path of the base directory where output files are located. Setter takes only pure directory name,...
Definition: SimKosecFileManagerBase.cs:422
void EndSection()
Ends a section.
Definition: HtmlWriter.cs:556
void AddDocumentComment(string commentText)
Adds another commet to the document that will be written in the document head.
Definition: HtmlWriter.cs:205
EventArgs _commonEventArgs
Definition: NeuralApproximatorBase.cs:2713
TTensorField GetTensorField(int index)
Returns the tensor field with the specified index.
Definition: UnstructuredMesh3dGeneric.cs:588
string _TextLoggerProgramName
Definition: ReporterMsg.cs:4809
static GridGenerator1d CreateGeometricScaled(double from, double to, int numNodes, double growthFactor, double scalingFactor)
Creates and returns a 1D grid generator. Grid intervals can grow or fall in geometric series from the...
Definition: GridGenerator1dBase.cs:212
string _printCodeCommand1
Definition: ExpressionEvaluatorCompiled.cs:338
void AddElement(string value)
Adds (appends) the speecified element at the end of the table, i.e. at the end of the last row.
Definition: StringTable.cs:486
string _saltString
Definition: UilCryptoAux1.cs:307
void AddTensorField(TTensorField field)
Adds the specified tensor field to the collection of tensor fields.
Definition: UnstructuredMesh1dGeneric.cs:652
void AllocateRequested()
Allocates space for all requested result objects.
bool WaitJobCompletion(double timeoutInSeconds)
Wait until the current job whose data is contained in this object completes, or timeout occurs (timeo...
Definition: ParallelJobContainerBase.cs:461
static void SubtractPlain(IMatrix a, IMatrix b, IMatrix result)
Subtracts two matrices and stores the result in the specified result matrix. Operation can be perform...
Definition: MatrixBase.cs:2336
string MsgNeuralBusyPath
File path of the message file indicating that approximator is busy by performing a job....
Definition: NeuralFileManager.cs:425
int _outputLength
Definition: SampledDataDto.cs:112
override void AplicationMain(string[] args)
Default main method for the current shell application.
Definition: ApplicationCommandLineBase.cs:408
object ConvertToType(object value, Type targetType, bool enableNullableHandling=true, bool enableCollectionConversion=false)
Definition: TypeConversionWithoutReflectionTests.cs:15
virtual void SetConstraintHessiansReference(List< IMatrix > reference)
Sets constraint functios' Hessians. Only the list reference is copied.
Definition: AnalysisResults.cs:748
SettingsServerBase()
Definition: SettingsRreader.cs:18
override bool IntegralDefined
Definition: FunctionRealWeight.cs:962
const string ConstDataStructures
Name of the command for the data structures-related embedded applications.
Definition: ScriptAppBase.cs:353
virtual bool IsMultilineResponse
Whether or not multi line responses are allowed.
Definition: IpcStreamClientServerBase.cs:757
static Matrix2d operator/(Matrix2d a, double b)
Division of a 2D matrix by a scalar.
Definition: Matrix2DClass.cs:749
IVector _lastCalculationInputParameters
Definition: VectorApproximatorBase.cs:60
const bool DefaultIsDefaultWhenValueNotDefined
Default value of the property IModelParameter.IsDefaultWhenValueNotDefined, such that default initial...
Definition: ModelParameter.cs:102
void AllocateObjectiveGradient()
Allocate space for objective function gradient.
void InvalidateTrainingDependencies()
Invalidates all data that must be recalculated after training of the network is done....
static char _defaultMessageFalseSeparator
Definition: ClientServerStreamBase_Copy.cs:124
double psi
Definition: LissajousCurve3D.cs:53
bool _determinantCalculated
Definition: MatrixDecompositions.cs:925
virtual void ClientCalculateApproximation(IVector inputParameters, ref IVector outputValues)
Calculates approximation by using the neural network approximation server.
Definition: NeuralFileManager.cs:713
List< InputFieldDefinition > OptimizationParameterDefinitions
List of definitions of direct mappings od input (optimization) parameters to input fields....
Definition: SimKosecFileManagerBase.cs:773
static void Test()
Tests and demonstrates the TrackedThread class.
Definition: TracedThread.cs:212
const string CryptoEncryptPlain
Definition: ScriptAppBase.cs:1195
List< CommandLineJobContainer > _parallelCommands
Definition: CommandlineApplicationInterpreter.cs:2032
Func2dBase Component2
Returns the scalar function that represents the second component of the current 3D vector function of...
Definition: Function3d2d.cs:146
static void ToByteArray(Int32 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1538
override PointContainerVector CreatePointContainer(IVector point)
Creates and returns a new point container that wraps the specified point.
Definition: PointCloudConcrete.cs:54
color(double r, double g, double b)
Creates a new color with specified red, green and blue components. Opacity is set to 1.
Definition: Color.cs:46
virtual bool HasDefaultNameSpace
Definition: XmlUtilities.cs:867
int _capacityOverhead
Definition: SortedUniqueItemList.cs:91
static void DividePlain(IMatrix a, double b, IMatrix result)
Divides matrix by scalar and stores the result in the specified result matrix. This is a plain versio...
Definition: MatrixBase.cs:4376
virtual long GetIntegerSetting(string settingname, long defaultvalue)
Retrieves the specified integer setting from the current settings source.
Definition: SettingsRreader.cs:74
XmlNode GetNode(string path)
Returns the first node that satisfies a given XPath expression relative to the root node....
Definition: XmlUtilities.cs:1406
void AddChecked(Type item)
Adds the specified element to the list if it is not yet contained in it. If the item is already conta...
Definition: SortedUniqueItemList.cs:227
static void Resize(ref IVector vec, int dimension)
Resizes, if necessary, the specified vector according to the required dimension. If the vector is ini...
Definition: VectorBase.cs:1098
vec3
Returns the specified quadrilateral of the mesh, as array of 4 3D vectors containing coordinates of i...
Definition: StructuredSurfaceMesh3D.cs:122
bool NetworkPrepared
Gets a flag telling whether the network is prepared for operation (training and calculation of output...
Definition: NeuralApproximatorBase.cs:81
Definition: ColorScale.cs:17
double b
Definition: Function3d2d.cs:1664
override void GetPointCoordinates(SampledDataElement pt, ref IVector coord)
Gets vector of coordinates of the specified point and stores it in the specified variable.
Definition: PointCloudSampledDataElement.cs:163
VectorDtoBase _objectiveGratient
Definition: AnalysisResultsDto.cs:225
double StartParameter1
Definition: Torus.cs:74
static string _defaultServerAddress
Definition: IpcNamedPipes.cs:464
List< TextWriter > TextWriterWriters()
Returns a list of all text writers that are currently used by the reporter's text writer....
virtual string CryptoFunctionEncryptPlain(string appName, string[] args)
Executes embedded application - symmetric encryption of files, strings, or byte fields by using the P...
Definition: ScriptAppBase.cs:1249
Definition: GrObjects.cs:441
const string MsgNeuralOutputReadyFilename
Default file name for neural network approximation results ready flag.
Definition: NeuralFileConst.cs:97
int _indentationLevel
Definition: InterfaceInterpreterBase.cs:108
int getPosAfterExponent(int startPos)
Definition: StringParser.cs:418
int NumHiddenNeuronsSecondNum
Number of numbers of hidden neurons in second hidden layer.
Definition: SerializationDtoNeural.cs:843
bool _expandEnv
Definition: SettingsRreader.cs:42
void CheckRetrievedElementTypeForGenericCollectionOrArray< CollectionType, ElementType >()
Definition: IGLibCoreReflectionTests.cs:104
int _saltLength
Definition: UilCryptoAux1.cs:303
void GetNeighborDistanceStatistics(int numClosestPoints, ref int[] numSpecimens, ref IVector minDistances, ref IVector maxDistances, ref IVector averageDistances, ref IVector standardDeviations, ref IVector averageAbsoluteDeviations, bool calculateDeviations)
Calculates a number of statistics on the distances of the first specified number of closest neighbors...
Definition: PointCloud.cs:525
void MapOutput(IVector originalOutput, ref IVector reducedOutput)
string RunFile(string filePath, string className, string[] initializationAndRunArguments)
Executes a loadable script form a file. The file must contain definition of the loadable script class...
Definition: Loader.cs:1746
string FunctionArgumentHessianName
Name of Hessian matrix in function arguments (in functions in the loadable scripts)....
Definition: ScalarFunctionScriptLoader.cs:317
bool AddTextWriter(Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4262
static IList< string > GetAssemblyEmbeddedFileResources(Assembly assembly, IList< string > resourceNames=null, bool clearBefore=true, bool includeResourceFiles=false)
Returns names of the embedded resources in the specified assemnly and stores them on the provided col...
Definition: UtilSystem.cs:3900
mat3 DyadicProduct(vec3 v)
Returns dyadic product of the current and the specified vector.
Definition: Matrix3D.cs:203
int MaxEpochs
Definition: SerializationDtoNeuralApproximator.cs:66
string _argumentsName
Definition: Loader.cs:639
Single record for temporary logging.
Definition: LoggerMsg.cs:16
void SetMax(int componentIndex, double max)
Sets maximal value for the specified coponent of the bounding box.
string _algorithmTypeString
Definition: UilCryptoAux1.cs:148
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
Definition: MatrixDecompositions.cs:475
double ToDouble(double tolerance=0.0)
static void SaveBinary< ObjectType >(ObjectType objectToSave, string fileName)
Save the specified serialized object in binary form to the specified file.
Definition: UtilSystem.cs:5561
static string GetNameSpaceUri(XmlElement element, string prefix)
Returns the namespace URI associated with a specific prefix that applies to the specified Xml element...
Definition: XmlUtilities.cs:986
double Y
2nd component.
Definition: Vector3Dclass.cs:359
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: Optimizer.cs:42
List< SampledDataElement > GetOutputDistanceSortedElemetnList(IVector referencePoint, DistanceDelegate distanceFunction)
Creates and returns a list of all sampled data elemets of the current object that are sorted accordin...
Definition: SampledData.cs:168
static void ArrayProductPlain(IVector a, IVector b, IVector result)
Calculates array product (element-by-element product) of two vectors and stores the result in the spe...
Definition: VectorBase.cs:2074
static Type GetType(string className, string nameSpace=null, bool ignoreCase=true, bool tryWithoutNamespace=true)
Finds a type with the specified class name and returns it.
Definition: UtilSystem.cs:3411
static int DefaultLearningRateNum
Default value for number of learning rates in neural networks.
Definition: NeuralTrainingParameters.cs:1227
LoadableScriptRealFunctionBase Creator
Returns an object of the dynamically compiled class that can create function objects.
Definition: RealFunctionScriptLoader.cs:586
string _redirectedOutputPath
Definition: SimKosecFileManagerBase.cs:113
static readonly NoopDisposable Instance
Definition: TestBase.cs:118
Radial scalar functions.
Definition: FunctionScalarRadial.cs:16
static readonly PhysicalConstant MoonOrbitalSpeed
Moon average orbital speed - 1.022 km/result.
Definition: Constants.cs:1695
@ A
Ampere, an SI unit for electric current.
static string _defaultStopRequest
Definition: IpcStreamClientServerBase.cs:590
void Set(String str)
Definition: StringParser.cs:506
RealFunction(DlgFunctionValue valueDelegate, DlgFunctionValue derivativeDelegate, DlgFunctionValue secondDerivativeDelegate, DlgFunctionValue integralDelegate)
Constructs a new function where delegates are provided for calculation of function value,...
Definition: FunctionReal.cs:612
bool _isNetworkTrained
Definition: NeuralTrainingParameters.cs:440
Definition: TestBase.cs:92
object TriggerLock
Object used to trigger pulsing and for related locking. Whenever Monitor.Pulse() is performed on this...
Definition: WaitConditionFile.cs:75
virtual void PrepareResultStorage(int numParameters, int numObjectives, int numConstraints, bool resetCalculatedFlags)
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
Definition: AnalysisResults.cs:1261
static void MapCoordinates(StructuredField2d< vec2 > referenceField, StructuredField2d< vec2 > targetField, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 2D structured grid by mapping coordinates of a reference grid by the speci...
Definition: StructuredField2dGeneric.cs:542
static color ScaleBlue(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:661
string _runFunctionName
Definition: Loader.cs:637
MathNet.Numerics.LinearAlgebra.Factorization.LU< double > LUDecomposition_MathNetNumerics
Definition: MatrixDecompositions.cs:22
string CommandLine()
Returns the string that represents the command line, where command is followed by eventual arguments ...
Definition: CommandlineApplicationInterpreterBase.cs:214
virtual TScalarField CreateScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh2dGeneric.cs:303
string _symbol
Definition: Constants.cs:111
bool IsFunctionOutputReady()
Returns value of the falg that indicates whether the reduced approximation output data is ready.
Definition: NeuralFileManager.cs:1137
static void SymmetrizePlain(IMatrix a, IMatrix sym, IMatrix antiSym)
Calculates symmetric and antisymmetric part of the specified matrix (symmetric part is stored in the ...
Definition: MatrixBase.cs:1930
virtual bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: FunctionScalarResults.cs:481
OutputElementDefinition(string name, string title, string description)
Constructor. Element index is unknown.
Definition: SampledDataDefinition.cs:565
static xdouble log(xdouble a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:1710
CustomList(params T[] items)
Definition: SampleClasses.cs:435
virtual string RunScriptFile(string scriptFilePath, string[] initAndRunArgs)
Dynamically loads (temporarily, just for execution of the current commad) a class form the script con...
Definition: CommandlineApplicationInterpreter.cs:2910
CryptoManager(int outputLevel)
Definition: UilCryptoAux1.cs:30
object Convert(object source, Type targetType)
static ColorScale CreateDefault(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that runs from blue through red till yellow color.
Definition: ColorScale.cs:652
override bool InverseDefined
Definition: FunctionRealInterpolation.cs:248
FieldCollection< TIndexField, TIndex > _indexFields
Definition: UnstructuredMesh1dGeneric.cs:65
virtual string Script_CommandHelp(string[] arguments)
Prints help.
Definition: LoadableScriptBase.cs:418
static double arcth(double x)
Inverse hyperbolic cotangent.
Definition: UtilMath.cs:530
const string ArgStringInputFormat1
String input format is used.
Definition: UtilCryptoAux.cs:526
void SetConstraintHessian(int which, IMatrix value)
Sets the specified constraint function's Hessian. If CopyReferences=true (false by default) then only...
bool _reqObjectiveGradient
Definition: AnalysisResults.cs:216
static mat2 operator*(mat2 a, mat2 b)
Matrix multiplication in 2D.
Definition: Matrix2D.cs:834
Matrix3d(double xx, double xy, double xz, double yx, double yy, double yz, double zx, double zy, double zz)
Initializes 3D matrix structure with the specified components.
Definition: Matrix3DClass.cs:73
const string AttributeClass
The class attribute. Specifies one or more classnames for an element (refers to a class in a style sh...
Definition: HtmlWriter.cs:21
JobContainerType DequeueJob()
Removes the last job from the execution queue and returns it, or returns null if there are no jobs on...
Definition: ParallerJobDispatcherBase.cs:369
override double NextDouble()
A double-precision floating point number greater than or equal to 0.0, and LESS THAN 1....
Definition: Random.cs:213
string _stopRequest
Definition: ClientServerStreamBase2_Copy.cs:238
static ParallelJobDispatcherGen< InputType, ResultType > CreateDispatcher(int numServers, int sleepTimeMs)
Creates and returns a parallel job dispatcher for job containers of the current typa,...
Definition: ParallelJobContainerGen.cs:357
static IndexList CreateRandomPermutation(IRandomGenerator rand, int length)
Creates and returns a random permutation of the specified length by using the specified random genera...
Definition: IndexList.cs:66
static void Multiply(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A*B*C. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3178
double _momentumMin
Definition: NeuralTrainingParameters.cs:1336
virtual string CmdClearVariable(CommandThread cmdThread, string cmdName, string[] args)
Command. Clears the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3126
string LastResponseString
Returns the last response string.
Definition: IpcStreamClientServerBase2.cs:245
Dictionary< string, ModelParameterType > ParametersDictionaryInternal
Definition: ModelParameterSetFixedBase.cs:63
Scalar(Scalar v)
Definition: Scalar.cs:32
VectorFunctionFromScalar(params IScalarFunction[] functions)
Definition: FunctionVectorFromScalar.cs:17
string[] VariableNames
Gets names of all variables that are defined on the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:1310
virtual void NullifyAll()
Sets all objects (parameters and result objects) to null. If the references are not assigned elsewher...
Definition: FunctonVectorResults.cs:515
InterfaceInverse(string workingDirctory, string commandFileName)
Constructor.
Definition: InterfaceInv.cs:40
static void ToByteArray(byte val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1353
double MomentumMin
Minimum limit for momentum.
Definition: SerializationDtoNeural.cs:737
static string AddCertificateToStore(X509Certificate2 certificate, out bool skipped, out bool overwritten, string certificateStoreName, int storeLocation=(int) StoreLocation.CurrentUser, bool isForceOverwrites=false, bool isSkipOverwrites=false)
Adds a certificate to the specified certificate store.
Definition: UtilCrypto.cs:4386
const string AssemblyHelpLoad1
Definition: ScriptAppBase.cs:4305
static RealFunction GetWeightReciprocalPower(int power)
Creates and returns a new real polynomial weighting function object based on reciprocal power functio...
Definition: FunctionRealWeight.cs:250
bool _exit
Definition: CommandlineApplicationInterpreter.cs:298
Complex GetModulusNumber(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:41
static void ExportMaterial(string filePath, vec3 color)
Definition: MeshExportExtensions_03.cs:50
abstract void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
int _numCells
Definition: ColorScale.cs:510
static object Parse(string strValue, Type propertyType, System.Globalization.CultureInfo cultureInfo)
Converts a string to the entity of the specified type and returns that entity.
Definition: Utils.cs:2860
double yz
Definition: Matrix3D.cs:377
virtual bool CalculatedConstraintGradients
Indicates whether calculation of constraint functions gradient is/was requested.
Definition: AnalysisResults.cs:1091
virtual vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:63
string[] EmptyCommandLine
Definition: CommandlineApplicationInterpreter.cs:1965
string[] IGHomeEnvList
Possible names for environment variable that holds the software root directory.
Definition: App.cs:657
static string ToString(DSACryptoServiceProvider alg)
Creates and returns a string containing information about the specified DSA algorithm.
Definition: UtilCrypto.cs:4067
static bool Read(ref IMatrix mat, string matName)
Reads a matrix from console and assigns it to the specified matrix variable.
Definition: UtilConsole.cs:515
int NumParameters
Number of parameters.
Definition: Optimizer.cs:209
override IModelParameter ClearValue()
Clears the value of the current parameter, making it undefined (IsValueDefined becomes false).
Definition: ModelParameterTyped.cs:205
vec3 GetQuadrilateral(int i, int j)
Definition: StructuredMesh3D_03.cs:41
const string ArgPasswordBase64Bytes1
Specification of password as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:456
virtual void SetObjectiveGradient(int index, double value)
Sets the specified component of the objective function gradient.
Definition: AnalysisResults.cs:511
virtual string RunAsync(CommandThread cmdThread, string commandName, params string[] commandArguments)
Runs the command with specified name (installed on the current interpreter object) asynchronously.
Definition: CommandlineApplicationInterpreter.cs:2452
virtual void Add(GraphicPrimitive primitive)
Adds a graphic primitive to the object.
Definition: GrObjects.cs:174
override double FromReference(double referenceValue)
Transforms the specified value from reference domain (interval [0,1]) to actual domain.
Definition: ColorScale.cs:305
static bool IsAsciiDigit(char ch)
Returns true if the specified character is an ASCII digit, and false otherwise.
Definition: UtilString.cs:580
int _numEqualityConstraints
Definition: FunctionScalarResults.cs:88
bool HasDerivative
Whether derivative is defined or not. If false then CurveDerivative(double) cannot be used to calcula...
Definition: ICurve3DParameterizationWithBounds.cs:37
string ToString(string format, IFormatProvider formatProvider)
Returns a string representation of a scalar in the specified way.
Definition: Scalar.cs:222
MathNet.Numerics.LinearAlgebra.Factorization.Evd< double > EigenValueDecomposition_MathNetNumerics
Definition: MatrixDecompositions.cs:28
BoundingBoxDtoBase()
Default constructor, sets IsNull to true.
Definition: BoundingBoxDto.cs:35
mat3 _G
Definition: Function3d.cs:583
string _definitionsCommand
Definition: ExpressionEvaluatorCompiled.cs:341
string _documentAuthor
Definition: HtmlWriter.cs:184
static void SaveCsv(IVector vec, string filePath, bool append)
Saves the specified vector to a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as separator i...
Definition: ScalarFunctionScriptController.cs:1030
void GetIntSafe(int rowNumber, int columnNumber, out int value, out bool isElementDefined, out bool isElementNotNullOrEmpty, out bool isInt)
Safely gets the integer value at the specified position of the data table, if it is defined,...
Definition: StringTable.cs:903
Func2dBase _comp1
Definition: Function3d2d.cs:449
IVector GetParameters()
Returns vector of optimization parameters.
StructuredSurfaceMesh3D GenerateMesh(Func< double, vec3 > curve, Func< double, vec3 > tangent, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double eps=0.1, bool normalizeFromPrevious=false)
Generates a tubular mesh using the Parallel Transport Frame (PTF) and analytical tangent vectors.
Definition: TubularMeshGenerator_06.cs:87
NeuralTrainingLimitsDto TrainingLimits
Contains Parameters that define neural network architecture limits and trainig parameter limits.
Definition: SerializationDtoNeural.cs:1069
static void DecryptFileBasic(string inputFilePath, string outputFilePath, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the data from the specified input file by a symmetric encryption algorithm and writes decryp...
Definition: UtilCrypto.cs:2219
QuadraticBasisSafer(int dimension)
Definition: ApproxBasis.cs:531
string Location
Location where message cause occurred.
Definition: LoggerMsg.cs:105
GridGenerator1d(double from, double to, int numNodes, bool centered, double growthFactor)
Creates a 1D grid generator. Grid intervals can grow or fall in geometric series, either from the low...
Definition: GridGenerator1d.cs:66
virtual string CryptoFunctionConvert(string appName, string[] args)
Executes embedded application - conversion between different representations of data.
Definition: ScriptAppBase.cs:1432
void Example04_ExportLissajousKnot3DTube(int numLongitudinal, int numTransverse, double radius, int n1=3, int n2=4, int n3=7, double fi1=0, double fi2=0)
Creeates a tubular surface mesh from a Lissajous knot parameterization, LissajousKnot3D,...
Definition: TubularSurfaceExportExamplesTests.cs:587
virtual string CryptoFunctionGetSalt(string appName, string[] args)
Executes embedded application - generation of salts for encryption.
Definition: ScriptAppBase.cs:1346
bool AddTextWriter(TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4214
virtual void SetParameter(int index, double value)
Sets the specified optimization parameter.
Definition: FunctionScalarResults.cs:229
string _codeBlockBegin
Definition: InterfaceInterpreterBase.cs:103
int _passwordLength
Definition: UilCryptoAux1.cs:290
bool _calcGradients
Definition: FunctonVectorResults.cs:120
void CopyDataToFunctionLoader()
Copies function deffinition data from the current function DTO to the internal function loader.
Definition: ScalarFunctionScriptController.cs:667
Parametric equation of a horizontal toroid surface in form of 3D vector function of 2 variables.
Definition: Function3d2d.cs:1385
This namespace contains those general classes for the IGLib base library that are not put into other ...
Definition: 0NameSpaceIG.Lib.cs:13
static void WriteFacet(StreamWriter writer, vec3 v1, vec3 v2, vec3 v3)
Auxiliary method for ExportToStl(StructuredSurfaceMesh3D, string), writes a single facet to the strea...
Definition: MeshExportExtensions.cs:143
override bool Equals(object obj)
Indicates whether obj is equal to this instance.
Definition: Scalar.cs:125
static readonly PhysicalConstant micro
micro- (µ), SI prefix for 10^-6.
Definition: Constants.cs:745
bool IsEnabled(LogLevel logLevel)
override ScalarFunctionScriptController CreateScalarFunctionController(int length)
Creates and returns a new vector cast to the interface type IVector.
Definition: ScalarFunctionDto.cs:193
int NumPoints2
Definition: StructuredMesh3D_02.cs:19
Complex AreEqual()
Returns boolean value, true or false, from comparison equality between two complex numbers.
Definition: Complex.cs:520
Definition: IsExternalInit.cs:7
static string GetAssemblyDirectory(Assembly assembly)
Returns the directory containing the specified assembly.
Definition: UtilSystem.cs:3041
static void Copy(IMatrix a, ref IMatrix result)
Copies components of a matrix to another matrix. Resulting matrix is allocated or reallocated if nece...
Definition: MatrixBase.cs:1566
double c
Definition: Function3d2d.cs:1175
override double f2(double u, double v)
Definition: Function3d2d.cs:1231
static volatile Assembly[] _referencedAssembliesDirectWithoutGac
Assemblies directly referenced by the current executale assembly. Calculated only once,...
Definition: UtilSystem.cs:2332
ReporterBase(object obj, ReportDelegate reportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and the delegate to per...
Definition: ReporterMsg.cs:1264
string _neuralVerificationDataFilename
Definition: NeuralFileManager.cs:136
int NumHiddenNeuronsThirdMax
Maximum number of hidden neurons in third hidden layer.
Definition: SerializationDtoNeural.cs:850
void AppendFunctonDefinition(StringBuilder sb, string functionName, string definitionString, int numIndents)
Appends to the apecified string builder the C# definition of a double function returning double....
Definition: RealFunctionScriptLoader.cs:409
SerializationDto()
Definition: SerializationDtoBase.cs:150
double _constantValue
Definition: FunctionRealBasic.cs:541
virtual void AddInputFieldDefinitions(params InputFieldDefinition[] definitions)
Adds a set of input field definitions by calling AddInputFieldDefinition.
Definition: SimKosecFileManagerBase.cs:1033
int MaxCount
Gets or sets the maximal number of objects that can be stored by this object store.
Definition: UtilObjectStore.cs:92
virtual void Solve(IVector b, ref IVector x)
Solves a system of linear equations A*x=b, and stores the solution in the specified vector.
Definition: MatrixDecompositions.cs:290
static double Sqrt(double a)
Returns the square root of a specified number.
Definition: UtilMath.cs:1092
virtual string LibraryDirectory
Returns directory where library will be compiled, which will be the directory of the executable that ...
Definition: Loader.cs:871
Vector3d RowZ
Gets or sets the z-row of the 3D matrix.
Definition: Matrix3DClass.cs:467
XmlElement TreatedElement
Returns Treated if this node is Xml element, or null if it is not or if treated is null.
Definition: XmlUtilities.cs:2340
static string DefaultRequestEnd
Default string (line) that ends any multiline request.
Definition: ClientServerStreamBase2_Copy.cs:68
virtual string InterpreterCommand
Gets or sets the command that invokes the interpreter. This may be a full path to the executable,...
Definition: InterfaceInterpreterBase.cs:138
Generic Vector interface
Definition: VectorBase.cs:22
static object _lockGlobal
Definition: Utils.cs:33
virtual void ReadAnalysisInputMath(string filePath, ref AnalysisResults anpt)
Reads analysis input data (request) from the specified file in the standard IGLib format,...
Definition: OptFileManager.cs:1030
double ToReal(double tolerance=0.0)
Definition: Complex.cs:326
virtual double[,] ToArray()
Creates and returns a rectangular 2D array that contains a component-wise copy of the matrix.
Definition: MatrixBase.cs:408
void SetHessian(IMatrix value)
Sets the functions' Hessian. If CopyReferences=true (false by default) then only the reference is cop...
static void MultiplyDiagonal(IVector diag, IMatrix a, ref IMatrix result)
Right-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matri...
Definition: MatrixBase.cs:4493
static void ArrayDividePlain(IMatrix a, IMatrix b, IMatrix result)
Element-by-element division. This operation can be performed in place. This is a plain version of the...
Definition: MatrixBase.cs:2471
Vector3d(double x, double y, double z)
Initializes components of a 3D vector with the specified values.
Definition: Vector3Dclass.cs:192
override double RefInverse(double y)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:738
GraphicPrimitive that has a protected Coordinates[] array.
Definition: GrObjects.cs:364
void Set(double comp)
Sets components of the vector to the specified value.
Definition: Matrix3D.cs:427
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:953
Definition: SingleTypeConverterFromDelegate.cs:8
virtual void Report_TextWriter(ReportType messagetype, string location, string message, Exception ex)
Launches a report via text writers. Report is launched by using special delegates for this kind of re...
Definition: ReporterMsg.cs:4737
bool SetTextWriter(TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4049
void LogError(string location, string message, Exception ex)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:671
ModelParameter(string name, Type type, string title, string description=null, object defaultValue=null, object value=null, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=ModelParameter.DefaultIsDefaultWhenValueNotDefined)
Comprehensive constructor, initializes all fields of the type.
Definition: ModelParameter.cs:29
void LogWarning(string message, Exception ex)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:732
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealPenalty.cs:238
static Assembly[] GetReferencedAssembliesRecursiveWithoutGac()
Returns an array containing the executable assembly and all its referenced assemblies (directly or in...
Definition: UtilSystem.cs:2387
static color ScaleGreen(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:649
XmlNode NextOrCurrentNode(XmlNodeType NodeType, string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2189
virtual string CryptoFunctionTimeKeyGeneration(string appName, string[] args)
Executes embedded application - measuring time of password generaton utilities.
Definition: ScriptAppBase.cs:1393
bool hasMore()
Definition: PortScannerSimple.cs:152
List< double > _values
Definition: FunctonVectorResults.cs:97
void Reset(int componentIndex)
Resets the specified component of vector of minimal coordinates to UndefinedMin, and the same compone...
Definition: BoundingBox.cs:599
mat2(double component)
Initializes 2D with the specified component.
Definition: Matrix2D.cs:374
static void MapCoordinatesToScalars(Field< vec3 > referenceField, Field< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 3D unstructured set fo points from the specified field of grid coordina...
Definition: FieldGeneric.cs:465
static xdouble Exp(xdouble a)
Returns e raised to the specified power.
Definition: UtilMath.cs:1690
static void MapCoordinates1dPlain(Field< vec3 > referenceField, Field< vec3 > targetField, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:378
static int _lastId
Definition: ExpressionEvaluatorCompiled.cs:43
static readonly PhysicalConstant Bq
Becquerel, the SI derived unit of radioactivity (decays per unit time). Bq = 1/result.
Definition: Constants.cs:1044
double[] _elements
Definition: VectorDto.cs:54
bool _reqConstraintGradients
Definition: FunctionScalarResults.cs:103
SortedDictionary< string, InterpreterVariable > _variables
Local variables.
Definition: CommandlineApplicationInterpreterBase.cs:1291
double a
Parameter of the Archimedean spiral, coefficient in its equation r(φ) = b * φ.
Definition: ConicalSpiralArchimedian3D.cs:30
virtual void SetGradientReference(IVector reference)
Sets the function gradient. Only the reference is copied.
Definition: FunctionScalarResults.cs:288
List< KeyValueSortable< char, char > > _inverseEscapeSequences
Definition: StringParser.cs:203
Base cls. for application scripts that can also be used on its own.
Definition: ScriptAppBase.cs:39
string MsgNeuralOutputReadyPath
File path of the message file indicating that the approximated output is ready to be read....
Definition: NeuralFileManager.cs:481
ScriptLoader used for testing.
Definition: Loader.cs:38
override bool InverseDefined
Definition: FunctionRealPenalty.cs:361
override double Value2(double x, double y)
Calculates and returns value of the second component of the current function.
Definition: Function3d2d.cs:785
Base class for parameterized real-valued functions of single variable. Parameters that completely def...
Definition: FunctionRealParametric.cs:246
IComparer< PointContainerType > _storedDistanceComparer
Definition: DistanceComparer.cs:693
string _keyDescriptions
Definition: SampledDataCsv.cs:626
double MomentumMin
Minimum limit for momentum.
Definition: NeuralTrainingParameters.cs:1340
string MessagePrefix
Definition: IpcStreamClientServerBase.cs:180
bool _reqValue
Definition: FunctionScalarResults.cs:70
bool AllowSingleFunction
Whether a single function can be used for evaluating penalty terms corresponding to different constra...
Definition: AnalysisResutlsInt.cs:592
static void MapCoordinatesToScalars(Field< vec2 > referenceField, Field< double > targetScalarField, IFunc2d scalarMap)
Generates scalar values for a 2D unstructured set fo points from the specified field of grid coordina...
Definition: FieldGeneric.cs:822
vec3 _b
Definition: Function3d.cs:593
Definition: SerializationDtoBase.cs:750
const string ArgAsymExportPrivateKey
Specification that assymmetric private keys are be exported (or printed), too.
Definition: UtilCryptoAux.cs:374
Base class for all mesh classes.
Definition: Mesh.cs:16
bool TryConvert(object source, out object target, Type targetType)
Definition: FromStringTypeConverterViaJson.cs:38
vec3 _b
Definition: Function3d.cs:497
void SetPenaltyFunction(int which, double barrierLength, double barrierHeight, double zeroEnd)
Sets the penalty function used for evaluation of the specified penalty term.
Definition: AnalysisResults.cs:2511
virtual int NumParameters
Number of parameters.
Definition: FunctonVectorResults.cs:135
void RemoveScalarField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh2dGeneric.cs:359
Data Transfer Object (DTO) for bounding boxes of type IG.Num.BoundingBox. Used to store,...
Definition: BoundingBoxDto.cs:175
int NumHiddenNeuronsThirdNum
Number of hidden neurons in third hidden layer.
Definition: NeuralTrainingParameters.cs:1879
const string DefaultFunctionArgumentHessianName
Default name of hessian vector in function arguments in script functions.
Definition: ScalarFunctionScriptLoader.cs:79
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: PointContainer.cs:190
color _color
Definition: GrProperties.cs:71
string KeyElementTypes
A keyword string that introduces variable element types in the CSV file containing sampled data and /...
Definition: SampledDataCsv.cs:656
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
static readonly PhysicalConstant n
nano- (d2), SI prefix for 10^-9.
Definition: Constants.cs:753
const string SystemUserName
Definition: ScriptAppBase.cs:3697
override PointLink< PointContainerType, PointType > CreateLink(PointContainerType point)
Creates and returns a new link object that points to the specified point (indirectly through point co...
Definition: PointContainer.cs:133
static int GetNumConstants()
Returns the number of scalar constants that specify the current function.
Definition: Function2d.cs:537
ScriptLoaderTest()
Definition: Loader.cs:42
virtual mat2 Hessian(vec2 parameters)
Calculates and returns Hessian of the current 2D scalar function and returns it (in the form of a mat...
Definition: Function2d.cs:732
static string _defaultKeyNames
Definition: SampledDataCsv.cs:141
T Deserialize< T >(Stream deserializationStream)
Deserializes an object from the specified stream containing JSON representation of the object....
virtual int NumVerificationPoints
Gets number of verification points.
Definition: NeuralApproximatorBase.cs:2008
static double Norm1Plain(Vector a)
Returns the 1-norm (Manhattan or Taxicab norm, sum of element absolute values) of the specified vecto...
Definition: VectorBase.cs:561
void FromStringIConvertible_ShouldConvertToDouble(string input, double expected)
Definition: ToStringTypeConverterViaIConvertibleTests.cs:35
override bool UseConsole
Gets or sets the flag specifying whether reporting using the system console is performed or not.
Definition: ReporterMsg_Derived.cs:459
const string FuncNameDerivativeDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: RealFunctionScriptLoader.cs:105
static string TransformErrorMessage(string message)
Transforms the specified error message - adds information about the roor cause of the error,...
Definition: FrameworkDependencyException.cs:44
object _mainLock
Definition: SerializationDtoBase.cs:498
MatrixDto()
Creates a DTO for storing state of a matrix object of any matrix type
Definition: MatrixDto.cs:283
bool _determinantCalculated
Definition: MatrixDecompositions.cs:671
void TrainNetworkMultiple(int numIterations)
Performs a specified number of training iterations where the prescribed number of epochs (contained i...
Definition: NeuralApproximatorBase.cs:2559
InterpreterType Interpreter
Returns interpreter that handles command execution on the current command thread.
Definition: CommandlineApplicationInterpreterBase.cs:1649
void Legacy_StandardSpeedTestGeometricSeries_DirectElementCalculation_OLD()
Performs the stanard speed test with calculation of a finite geometric series, with standard paramete...
Definition: SpeedTests.cs:134
LoadableScriptBase()
Argument-less constructor. If argument-less constructor is called then initialization is not performe...
Definition: LoadableScriptBase.cs:152
Definition: ClientServerStreamBase2_Copy.cs:13
int NumExitLevels
Definition: CommandlineApplicationInterpreterBase.cs:1220
virtual int Length
Definition: SampledDataDto.cs:119
bool _isInput
Definition: SampledDataCsv.cs:1142
bool _cmpNumViolated
Definition: AnalysisComparer.cs:106
string LastResponseString
Returns the last response string.
Definition: ClientServerStreamBase2_Copy.cs:440
const string TestId
String ID of the corresponding test.
Definition: UtilSpeedTesting.cs:226
List< PointLinkType > Neighbors
List of connected points ("neighbors").
Definition: PointContainer.cs:231
virtual string AppGetSalt(string appName, string[] args)
Executes command-line action - generates a random salt bytes.
Definition: UilCryptoAux1.cs:3012
override void AppendValue(IMatrix value)
Appends a matrix value to the interpreter command file contents.
Definition: InterfaceInv.cs:228
string Name
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:77
ThreadPriority ThreadPriority
Priority of the server thread.
Definition: ClientServerStreamBase2_Copy.cs:849
static void ArraySubtract(IVector a, double scal, IVector result)
Subtraction of a scalar from all components of a vector. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1677
abstract VectorBase GetNewBase()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
static Complex GetNegative(Complex c)
Returns negative value of c .
Definition: Complex.cs:446
string _inverseDefinitionString
Definition: RealFunctionScriptLoader.cs:174
virtual string CmdApplicationInfo(CommandThread cmdThread, string cmdName, string[] args)
Execution method that prints some information about the current application.
Definition: CommandlineApplicationInterpreter.cs:6322
void Reset()
Resets the timer. Its state becomes identical to the state right after creation (as it has not been u...
Definition: UtilTime.cs:212
virtual string LibraryPath
Path to the dll where code is compiled. We take the directory where executable is located.
Definition: Loader.cs:898
const string _defaultVectorName
Definition: UtilConsole.cs:425
Base class for objects that perform waiting until a condition is fulfilled.
Definition: WaitCondition.cs:43
static bool _isWindowsOs
Definition: UtilSystem.cs:271
CryptoManager()
Definition: UilCryptoAux1.cs:26
virtual vec2 Gradient(vec2 parameters)
Calculates and returns gradient of the current 2D scalar function.
Definition: Function2d.cs:713
static Process ExecuteSystemCommand(string command, params string[] args)
Executes system command with arguments synchronously (blocks until the process that is created exits)...
Definition: UtilSystem.cs:354
int SpacesPerIndent
Definition: JsonPPStrategyContext.cs:12
T ConvertToType< T >(object value)
Converts the specified value to the specified target type.
Definition: BasicTypeConverter.cs:57
string _anInJsonPath
Definition: OptFileManager.cs:133
Converts a JSON string to a strongly typed object using System.Text.Json.
Definition: FromStringTypeConverterViaJson.cs:10
int Depth
Gets or sets the current indentation level for on-line output. This should normally be done by callin...
Definition: ReporterMsg.cs:870
double _targetedTotalTime
Definition: UilCryptoAux1.cs:379
const string AnOutMathFilename
Default file name of analysis output file in standard IGLib format.
Definition: OptFileConst.cs:39
Definition: TubularMeshGenerator_02.cs:13
void ModelParameter_CreationWithNameAndType_SuccessfullyCreated()
Definition: ModelParameterTests.cs:35
override double f2(double u, double v)
Definition: Function3d2d.cs:1736
string ConvertTyped< SourceType >(SourceType source)
Definition: ToStringTypeConverterViaParseReflection.cs:18
static void ExampleMathNetNumericsQR()
Example of how to use QR decomposition from Math.NET numerics.
Definition: TestSpeed.cs:972
abstract MatrixBase GetNewBase()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
double StartParameter2
Definition: Torus.cs:80
virtual bool IsInitialized
Whether the object has been initialized or not.
Definition: LoadableScriptBase.cs:250
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareKeyValueStrict
Comparison of keys and then values (if keys are equal) and finally the (possibly unique) ordering par...
Definition: Utils.cs:3166
override double Value(vec2 parameters)
Calculates and returns value of the current 2D quadratic function.
Definition: Function2d.cs:578
static string GetHashMd5Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the MD5 hash string of the specified stream.
Definition: UtilCrypto.cs:1266
bool Exit
Whether the exit flag is set, usually causing interpreter to stop.
Definition: CommandlineApplicationInterpreterInterface.cs:60
string ActiveVectorFieldName
Gets or sets name of the currently active vector field. This determines the currently active vector f...
Definition: StructuredMesh2dGeneric.cs:422
void AsyncWaitAll()
Waits until all asynchronously commands that have been eventually executed by the current interpreter...
Definition: CommandlineApplicationInterpreter.cs:2553
static string DefaultKeyComment
Default key for comment in the current line.
Definition: SampledDataCsv.cs:103
const string KeyUseTextLogger
Definition: ReporterMsg.cs:2311
int _errorCode
Definition: AnalysisResults.cs:224
override IVector GetPointCoordinates(IVector point)
Returns vector of co-ordinates (or input parameters) of the specified point.
Definition: PointCloudConcrete.cs:91
Complex AreNotEqual()
Returns boolean value, true or false, from comparison inequality between two complex numbers.
Definition: Complex.cs:527
static xdouble arctan(xdouble a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1634
virtual double Value3(vec2 parameters)
Calculates and returns value of the third component of the current function.
Definition: Function3d2d.cs:313
mat2 Transpose
Gets transpose of the current matrix.
Definition: Matrix2D.cs:625
override LoadableScalarFunctionBase CreateScalarFunction()
Creates and returns a new scalar function object where functions are defined by compiled user defined...
Definition: ScalarFunctionScriptExample.cs:22
virtual void AllocateHessiansList()
Allocates space for the list of functions' Hessians.
Definition: FunctonVectorResults.cs:606
object Lock
Used for locking internal fields.
Definition: ExpressionEvaluatorCompiled.cs:73
List< int > Indices
Indices contained in the index list.
Definition: IndexListDto.cs:43
const string KeyReportingLevel
Definition: ReporterMsg.cs:2306
static Vector2d operator-(Vector2d v)
Unary negation, returns the negative operand.
Definition: Vector2Dclass.cs:491
bool HasDerivative
Definition: MoebiusStrip.cs:86
char _messageFalseSeparator
Definition: IpcStreamClientServerBase.cs:251
const string AttributeStyle
The style attribute. Specifies an inline CSS style for an element.
Definition: HtmlWriter.cs:27
virtual string Language
Programming language in use.
Definition: ExpressionEvaluatorCompiled.cs:86
string _keyElementTypeOutput
Definition: SampledDataCsv.cs:475
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareKeyValue
Comparison of keys and then values (if keys are equal).
Definition: Utils.cs:3161
virtual int Id
Unique ID for objects of the currnet and derived classes.
Definition: CommandlineApplicationInterpreterBase.cs:1821
Stack frame for a block of command-line interpreter commands.
Definition: CommandlineApplicationInterpreterBase.cs:685
Definition: UtilSpeedTesting.cs:222
static string GetAssemblyAssemblyFullName(Assembly assembly)
Returns assembly name of the specified assembly.
Definition: UtilSystem.cs:3057
ValueType Value
Typed value of the parameter.
Definition: IModelParameter.cs:19
void ReportWarning(string location, string message)
Launches a warning report.
Definition: ReporterMsg.cs:3363
VectorFunctionFromScalar()
Definition: FunctionVectorFromScalar.cs:13
static void KillAllApplicationsByWindowTitle(string mainWindowTitle, bool caseSensitive)
Kills all running applications that have the specified main window title.
Definition: UtilSystem.cs:1841
int _numParameters
Definition: SimKosecFileManager.cs:70
static void LoadCsv(string filePath, int rowNum, string separator, ref IVector vecRestored)
Reads a vector from the specified row of a CSV file. If the specified row does not exisist in the fil...
Definition: ScalarFunctionScriptController.cs:1122
static string GetAsymmetricalgorithmHash(AsymmetricAlgorithm algorithm, bool includePrivate=false, bool skipPrivateIfNotExportable=false, HashType hashType=HashType.SHA1)
Returns a hash value for the specified Asymmetric algorithm, which depends on algorithm keys.
Definition: UtilCrypto.cs:4611
bool Calculated
Definition: Optimizer.cs:312
virtual IMatrix GetObjectiveHessian()
Returns the objective function's Hessian.
Definition: AnalysisResults.cs:678
Definition: Interpreter.cs:28
string _commandDirectory
Definition: InterfaceInterpreterBase.cs:88
ScriptLoaderBase _loader
Definition: ScalarFunctionScriptLoader.cs:944
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:651
override bool RepairInputParameters(IVector parameters)
Repairs simulation parameters, if necessary, in such a way that values are consistent with simuation ...
Definition: SimKosecFileManager.cs:220
virtual bool IsAnResultsReady()
Gets a flag telling whether analysis output data is ready.
Definition: OptFileManager.cs:770
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1177
int _numAbortedJobs
Definition: ParallerJobDispatcherBase.cs:1202
virtual double Norm1
1-norm (Manhattan norm or Taxicab norm), sum of absolute values of components.
Definition: VectorBase.cs:448
bool AddTextLogger(string filename)
Creates a TextWriter from the file name and adds it to the list of TextWriters on which reporting is ...
Definition: ReporterMsg.cs:5100
virtual IAnalysisResults GetCopy()
Returns an exact deep copy of the current object.
Definition: AnalysisResults.cs:1306
bool SaveConvergenceRms
Definition: NeuralTrainingParameters.cs:551
ScalarFunctionScriptDtoBase(int spaceDimension)
Constructor, prepares the current DTO for storing a scalar function of the specified dimension.
Definition: ScalarFunctionDto.cs:45
Definition: FunctionNumeric.cs:13
CsvData()
Constructs a new string table, a data structure compatible with CSV file format.
Definition: StringTable.cs:30
Base IGlib class for reporting, tracing and logging; provides a global reporter and a basis for creat...
Definition: ReporterMsg.cs:1181
static Matrix Identity(int d)
Creates a square identity matrix of dimension d*d.
Definition: Matrix.cs:401
void SetInterpolation(double x1, double y1, double x2, double y2)
Initializes the linear interpolation function with specified two values.
Definition: FunctionRealInterpolation.cs:90
List< InputFieldDefinition > _optimizationParameters
Definition: SimKosecFileManagerBase.cs:645
virtual string AssemblyFunctionInfo(string appName, string[] args)
Executes embedded application - writing to the console information about the specified assembly.
Definition: ScriptAppBase.cs:3929
Definition: RealFunctionScriptExample.cs:39
static string ToStringMath(IMatrix mat)
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:4985
static long fallingPower(long n, long p)
Calculates and returns the falling power of the specified number.
Definition: UtilMath.cs:614
int _SubSubVersion
Definition: App.cs:702
override XmlDocument Doc
Xml document that represents the message.
Definition: XmlUtilities.cs:1229
bool _running
Definition: UtilTime.cs:120
override double Value(IVector parameters)
Returns the value of this function at the specified parameter.
Definition: FunctionScalarExamples.cs:229
static void MapCoordinatesToScalarsPlain(StructuredField2d< vec3 > referenceField, StructuredField2d< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 2D structured grid embedded in 3D space from the specified field of gri...
Definition: StructuredField2dGeneric.cs:345
IVector _toleranceMax
Definition: NeuralTrainingParameters.cs:1512
SortedList< string, IpcStreamServerBase > _pipeServers
Definition: CommandlineApplicationInterpreter.cs:5335
virtual string SessionDirectory
Gets or sets the current session'result directory. Setting of this directory should normally be left ...
Definition: App.cs:1504
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealPenalty.cs:307
Complex NegativeNumber(Complex a)
Definition: NumberOperationsComplex.cs:53
string GetElementOrNull(int rowNumber, int columnNumber, out bool isDefined)
Returns the specified element on the data table or null if that element is not defined,...
Definition: StringTable.cs:333
void ReadElementNumSamplingPoints()
Reads numberr of sampling points of input data elements from the CSV, from the current position on (i...
Definition: SampledDataCsv.cs:2886
byte[] _lastGeneratedBytes
Definition: UtilCryptoAux.cs:765
StringBuilder _str
Definition: StringParserBuffer.cs:139
T DeserializeString< T >(string strSerialized)
Deserializes an object from JSON - serialized string representation and returns it.
Definition: SerializerBase.cs:176
static double TestComputationalTimesLU(int numEq, int outLevel)
Test of LU decomposition.
Definition: TestSpeed.cs:63
virtual string SubstituteVariableOrExpressionReference(CommandThread cmdThread, string str)
Returns value of the referenced variable if the specified string represents a variable reference (beg...
Definition: CommandlineApplicationInterpreter.cs:404
void StartServer()
Starts the queue server.
Definition: ParallerJobDispatcherBase.cs:782
TWClass()
Definition: ReporterMsg.cs:3585
List< IVector > _constraintGradients
Definition: AnalysisResults.cs:204
int _outputLength
Definition: SampledDataCsv.cs:1036
const string XmlNsAttribute
Definition: XmlUtilities.cs:878
void CapturedVar_StaticCaptureVar_WorksCorrectlyWithoutStatingVariableTye()
Definition: CapturedVarTests.cs:60
ColorMapType
Definition: ColorMap.cs:6
bool ReqObjectiveGradient
Indicates whether calculation of objective function gradient is/was requested.
Definition: AnalysisResutlsInt.cs:351
char[] _expC
Definition: StringParser.cs:146
LogRecord Create(ReportType messagetype, string location, string message, Exception ex)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:138
override double Norm
Gets a 2 norm of the current 3D vector.
Definition: Vector3Dclass.cs:406
NeuralApproximatorAForgeFakeDto()
Definition: SerializationDtoNeuralApproximator.cs:577
NamedPipeServerBase()
Prevent default constructor.
Definition: IpcNamedPipes.cs:32
void ReadAppSettings()
Reads common reporter settings (i.e. settings that are not assigned for any named group) from the app...
static double prod(params double[] numbers)
Product of the specified values.
Definition: UtilMath.cs:307
static bool CheckFileHashMd5Hex(string filePath, string hashValue)
Checks whether the specified MD5 hash value matches the actual hash value of the specified file.
Definition: UtilCrypto.cs:1408
int NumZeros
Returns number of zeros of the current cubic function.
Definition: FunctionRealInterpolation.cs:1228
int _numInputParameters
Definition: SimKosecFileManagerBase.cs:174
static string HandleJaggedArray(Array jaggedArray, int indentLevel=0, string indentation=ArrayIndentation, string openBracket=ArrayBracketOpen, string closedBracket=ArrayBracketClosed, string separator=ArraySeparator)
A helper method to handle jagged arrays dynamically.
Definition: CollectionExtensions.cs:190
NumberType Absolute(NumberType a)
Returns magnitude, or absolute value, of a
OptFileAnalysisClient(string directoryPath)
Constructs optimization file client.
Definition: OptFileAnalysisClient.cs:34
SerializationBinderCascadedImmutable(IEnumerable< SerializationBinderBase > binders)
Constructs the serialization bider with all the specified binders added.
Definition: SerializationBinderCascaded.cs:88
static double atan2(double a, double b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1241
int _sectionLevel
Definition: HtmlWriter.cs:543
void PulseThread()
Definition: WaitConditionFile.cs:35
static string DefaultKeyDefaultValues
Default key for introduction of default values of input data elements.
Definition: SampledDataCsv.cs:251
virtual void ExecuteSystemCommandsInteractive()
Reads commands with their arguments ont by one from the console and executes them as system commands.
Definition: CommandlineApplicationInterpreter.cs:1418
const string DescriptionWhenConvertedFromIncompatibleClass
Definition: SampleClasses.cs:93
String[] Authors
Definition: App.cs:862
static int DefaultNumEquations
Definition: CommandlineApplicationInterpreter.cs:6645
int NumX
Number of nodes in X direction.
Definition: SimKosecFileManager.cs:88
ExampleTestClass(ITestOutputHelper output)
This constructor, when called by the test framework, will bring in an object of type ITestOutputHelpe...
Definition: ExampleTestClass.cs:26
bool righthanded
Whether the helix orientation is right-handed (true) or left-handed (false).
Definition: HelixCurve3D.cs:30
virtual void AllocateObjectiveHessian()
Allocates space for objective function Hessian.
Definition: AnalysisResults.cs:875
int _numSentJobs
Definition: ParallerJobDispatcherBase.cs:1150
const string CryptoGetKey
Definition: ScriptAppBase.cs:1275
void SetRestoringInternalState(bool doRestore)
Sets the flag indicating whether internal state of the (trained) neural network should be restored,...
Definition: SerializationDtoNeuralApproximator.cs:223
int[] NumHiddenNeuronsSecondValues
Values of number of hidden neurons in the second layers that will appear in the table.
Definition: NeuralTrainingParameters.cs:1805
virtual double Norm2
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:417
static PenaltyPower GetPenaltyPower(double barrierLength, double barrierHeght, int power)
Creates and returns a new power penalty function consisting of sticked together constant zero-valued ...
Definition: FunctionRealPenalty.cs:84
bool IsInputOutputDefined
Whether it is known if the element is input or output element.
Definition: SampledDataCsv.cs:1140
object Convert(object source)
Definition: ToStringTypeConverterViaIConvertible.cs:39
virtual void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
Definition: AnalysisResults.cs:422
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArray3DToIntJaggedArray3DObjectToIntJaggedArray3D()
Definition: CollectionTypeConverterTests .cs:684
override double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
Definition: Function3d2d.cs:599
Base class for 3D vector functions of 2 variables (implementations of the IFunc3d2d interface) that d...
Definition: Function3d2d.cs:190
void CopyResultsFrom(NeuralApproximatorBase nn)
Copies only results from the trained network to the current object.
Definition: NeuralTrainingParameters.cs:726
ParallelJobContainerGen(SimpleFunctionDelegate< InputType, ResultType > evaluationDelegate, InputType inputData)
Creates a new parallel job container with inptu data assigned.
Definition: ParallelJobContainerGen.cs:74
override void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
Definition: IpcStreamClientBase.cs:316
override int Length
Definition: ParsableFromString.cs:17
BoundingBoxBase(IVector min, IVector max)
Constructs a bounding box of the specified dimension and initializes it in such a way that minimal an...
Definition: BoundingBox.cs:345
static ColorRGBA Grayscale(double u)
Definition: ColorMap.cs:73
override IVector Parameters
Parameters that define the specific function out of parametric familiy of scalar functions.
Definition: FunctionScalarParametric.cs:119
string _IGHomeIdFileString
Definition: App.cs:638
bool IsSkipDeletes
Definition: UilCryptoAux1.cs:433
override vec3[] Coordinates
Definition: GrObjects.cs:435
virtual string ProcessFunctionListApplications(string appName, string[] args)
Embedded application. Lists all running applications sarisfyin specified conditions.
Definition: ScriptAppBase.cs:4641
override MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:489
List< double > GetNodeListReference()
Returns a list containing generated 1D node positions. This method can return a reference to the inte...
Vector function results. Used to transfer parameters input (e.g. vector of parameters,...
Definition: FunctonVectorResults.cs:26
Complex Coth()
Definition: Complex.cs:812
void AllocateHessiansList()
Allocates space for the list of functions' Hessians.
static Matrix2d operator-(Matrix2d a)
Unary negation for 2D matrices, returns the negative operand.
Definition: Matrix2DClass.cs:702
Base cls. for various special function loadable scripts.
Definition: ScriptAppBase.cs:5270
int _p
Power p in expression 1/(1+|x|^p) for function value.
Definition: FunctionRealWeight.cs:262
const string CryptoHelpCertInfo
Definition: ScriptAppBase.cs:1503
static Complex Pow(Complex x, Complex power)
Definition: Complex.cs:647
static Assembly GetAssemblyByFileName(string assemblyName, bool caseSensitive=false, bool loadIfNecessary=true)
Finnds and returns assembly specified by file name.
Definition: UtilSystem.cs:2207
Implements blocking until the specified file is created (becomes existent). File is specified in cons...
Definition: WaitConditionFile.cs:915
static void FromByteArray(byte[] bytes, out Int16 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2007
bool _commandStopServing
Definition: ParallelJobServerBase.cs:390
static Vector3d Zeros()
Generates an 3-dimensional vector filled with 0.
Definition: Vector3Dclass.cs:313
string SaltString
Salt, in form of byte array, to be used in generation of keys, initialization vectors,...
Definition: UtilCryptoAux.cs:750
static bool TestMatrixProducts()
Tests various matrix and vector products with fixed tolerance of 1.0E-6 and without printing reports.
Definition: MatrixBase.cs:7550
UnstructuredMeshGeometry1d(int numElements, string fieldName)
Constructs a new unstructured grid with the specified number of elements and name.
Definition: UnstructuredMeshGeometry1dGeneric.cs:33
const string NeuralTrainingLimitsFilename
Name of the file where sets of training limits are stored.
Definition: NeuralFileConst.cs:62
SampledDataSetDto TrainingData
Definition: SerializationDtoNeuralApproximator.cs:60
virtual string TestId
A distinctive string ID of the test. Its value should be defined as a public constant somewhere close...
Definition: SpeedTestInfo.cs:56
static vec2 operator+(vec2 a, vec2 b)
Vector addition.
@ s
Second, an SI unit for time.
int Id
Definition: ToStringTypeConverterViaJsonTests.cs:143
static void SetRandom(IVector vec)
Sets the current vector such that it contains random elements on the interval (0,1].
Definition: VectorBase.cs:974
override void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
Definition: Function3d2d.cs:569
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray3DToStringJaggedArray3DObjectToIntArray3D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:965
StopWatch1 _timer
Definition: LoadableScriptOpt.cs:53
IScalarFunctionResults GetCopy()
Returns an exact deep copy of the current object.
double _inputSafetyFactorMax
Definition: NeuralTrainingParameters.cs:1401
double StartParameter1
Definition: Sphere.cs:61
static void ExampleWaitEvents(string fileOrDirectoryPath, int numEvents)
Waits (blocks execution) until a given number of the specified file system events are registered....
Definition: WaitConditionFile.cs:471
override MatrixBase GetNewMatrixBase()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector3Dclass.cs:151
double Trace
Gets matrix trace (sum of diagonal elements).
Definition: Matrix3D.cs:712
IVector _inputParameters
Definition: SampledData.cs:46
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealBasic.cs:592
Cylindrical parameterization of a curve in 3D. Beside the CurveCylindrical and (optional) CurveDeriva...
Definition: ICurve3DCylindricalParameterization - Copy.cs:10
virtual void SetObjectiveGradientReference(IVector reference)
Sets the objective function gradient. Only the reference is copied.
Definition: AnalysisResults.cs:498
vec2 Normalized2()
Returns normalized this 2D vector in 2 norm.
Definition: Matrix2D.cs:156
BoundingBox3d(double[] min, double[] max)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1558
double c
Definition: Function3d2d.cs:958
void SetNeuralBusy()
Sets the falg that indicates that the approximation server is busy.
Definition: NeuralFileManager.cs:512
double GetIntervalLength(int componentIndex)
Returns interval length for the specified co-ordinate component (i.e. difference between the upper an...
Definition: BoundingBox.cs:1081
const string ConstHelpCustomApp
Definition: ScriptAppBase.cs:5305
CommandStackFrame(CodeBlockType blockType, ThreadType thread, int stackLevel)
Constructor, sets the block type.
Definition: CommandlineApplicationInterpreterBase.cs:850
bool SetTextWriter(TextWriter writer)
Sets the text writer to which reporting is also performed.
Definition: ReporterMsg.cs:4015
ReportLevel ReportingLevel
Gets or sets level of output for reporting (console output, message boxes, etc.).
Definition: ReporterMsg.cs:897
override void CopyFromPlain(MappingDefinition obj)
Definition: NeuralMapData.cs:186
void AddBlockEnterCommands(params string[] commands)
Adds the specified strings to the list of commands that can enter the current kind of the code block.
Definition: CommandlineApplicationInterpreterBase.cs:990
override void SetDefaultReportDlg()
Sets the error reporting delegate to the default value.
Definition: ReporterMsg_Derived.cs:306
override double f1(double u, double v)
Definition: Function3d2d.cs:1666
static void ExampleRelativePath()
Tests calculation
Definition: UtilSystem.cs:4706
bool _TextLoggerWriteIntro
Definition: ReporterMsg.cs:4810
Paraboloid()
Constructs a rotationally symmetric paraboloid.
Definition: Function3d2d.cs:855
static double Log2(double a)
Returns the base 2 logarithm of a specified number.
Definition: UtilMath.cs:1147
int _ID
Definition: UtilTime.cs:100
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareValueKey
Comparison of values and then keys (if values are equal).
Definition: Utils.cs:3175
static ColorScale CreateColorBlind(double minValue, double maxValue)
Creates and returns a continuous color scale that is adapted to color blind people in general.
Definition: ColorScale.cs:758
virtual int Dimension
Dimension of the parameter space.
Definition: ScalarFunctionScriptController.cs:58
static int DefaultOutputLevel
Default output level for objects of this and derived types.
Definition: ParallerJobDispatcherBase.cs:1009
static readonly PhysicalConstant rad
Radian, the SI derived unit of angle. Plane angle at which the circle arc length defined by this angl...
Definition: Constants.cs:896
virtual void AppendCommandArgument(IMatrix value)
Appends a matrix argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:648
static void CreateFunctionDefinitionsArray(string namesString, string[] separators, ref string[] namesArray, bool trimSpaces=true, bool allowMultipleSeparators=false)
Parses a string that contains delimited parameter names, extract an array of individual parameter nam...
Definition: ScalarFunctionScriptController.cs:498
static RealFunction GetWeightGauss(double Kx, double Sx)
Creates and returns a new real polynomial weighting function object based on Gaussian function (exp(-...
Definition: FunctionRealWeight.cs:48
virtual void CancelAll()
Cancel the current waiting for the condition on all threads.
Definition: WaitCondition.cs:105
static void Negate(Matrix3d m, ref Matrix3d res)
Negates the specified 3D matrix and stores its copy in the resulting matrix.
Definition: Matrix3DClass.cs:727
static int AnnDD
Definition: App.cs:2246
static HashType CheckFileHashSupportedTypesHex(string filePath, string hashValue)
Chechs all supported types of hash value of a file.
Definition: UtilCrypto.cs:1383
string _libraryDirectory
Definition: Loader.cs:840
virtual void InvalidateTrainingDependencies()
Invalidates all data that must be recalculated after training of the network is done....
Definition: NeuralApproximatorBase.cs:2440
virtual void TabAn2d(IVector pont0, IVector point1, IVector point2, int numPoints1, bool centered1, double factor1, double scaling1, int numPoints2, bool centered2, double factor2, double scaling2, bool printTab, bool printParam, bool printList, bool printObj, bool printConstr, bool printGradobj, bool printGradconstr)
Definition: InterfaceInv.cs:664
vec2 Gradient0
Vector of linear coefficients (equal to gradient of the function).
Definition: Function2d.cs:459
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:1105
List< SerializationBinderBase > ContainedBindersPrivate
List of contained serialization binders.
Definition: SerializationBinderCascaded.cs:95
DlgFunctionTransformation InverseFunctionDlg
Definition: FunctionReal.cs:708
MathNet.Numerics.LinearAlgebra.Double.DenseMatrix Matrix_MathNetNumerics
Definition: Matrix.cs:14
VectorDtoBase ErrorsVerificationMeanAbs
Maximal errors calculated on training data.
Definition: SerializationDtoNeural.cs:243
Proxy class that stores the object's unique ID (generated by a static instance of the IdGenerator cla...
Definition: UtilIdRegistration.cs:101
virtual string CmdPipeClientCreate(CommandThread cmdThread, string cmdName, string[] args)
Command. Creates a new client to the interpreter pipe server. The client can send command to the serv...
Definition: CommandlineApplicationInterpreter.cs:5763
static color ScaleBlueRedYellow(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:707
int _d1
Definition: StructuredField2dGeneric.cs:152
static ModelParameterSetBase< ModelParameterType > CreateExampleParameterSet2()
Creates a sample ModelParameterSet object, prints its content to console, and returns it.
Definition: ModelParameterSetFixedBase.cs:191
Definition: Interpreter.cs:51
virtual string SoftwareRoot
Gets or sets the software root directory. Setting it should normally be left to the system.
Definition: App.cs:1653
override void LoadNetworkSpecific(string filePath, bool useSerializationBinderIfSpecified=true)
Restores neural network from a file where it has been stored before.
Definition: NeuralApproximatorAforgeFake.cs:30
virtual bool ReqGradient
Indicates whether calculation of function gradient is/was requested.
Definition: FunctionScalarResults.cs:445
PasswordAlgorithmNone(bool publicParameters)
Definition: UtilCryptoAux.cs:1020
double ff
The number of half-twists by which the generating figure-eight curve is rotated by 180 degrees (Ï€/2)....
Definition: KleinBottle.cs:42
BoundingBox1d(double minX, double maxX)
Creates an 1D bounding box with the specified bounds.
Definition: BoundingBox.cs:1816
bool LiesOutside(params double[] coordinates)
Returns true if the speciifed co-ordinates lie outside of the bounding box, and false otherwise....
Definition: BoundingBox.cs:661
Definition: NeuralMapData.cs:987
virtual bool MultipleNetworks
Flag indicating whether multiple neural networks are used to approximate multiple outputs (one networ...
Definition: NeuralApproximatorBase.cs:631
static string GetAssemblyResourcesInfo(Assembly assembly, bool includeEmbedded=true, bool includeResx=true, int outputLevel=1)
Returns a string containing informatio nabout resources contained in the specified assembly,...
Definition: UtilSystem.cs:4002
static vec3 Tangent(double t)
void IncrementNumSentJobs()
Increments by one the number of sent jobs (all jobs sent to the current dispatcher for execution).
Definition: ParallerJobDispatcherBase.cs:1159
override void CopyFromPlain(SampledDataElement obj)
Definition: SampledDataDto.cs:57
static DerivedTypesRgistryBasic< INeuralApproximator > TypesRegistry
Registry of INeuralApproximator types, which enables to retrieve an ANN approximator type based on it...
Definition: NeuralApproximatorBase.cs:543
MatrixDtoBase[] Hessians
Definition: VectorFunctionResultsDto.cs:165
int MaxIterations
Gets or sets maximal number of iterations.
Definition: Optimizer.cs:71
void RemoveIndexField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh1dGeneric.cs:206
override string Description
Function description.
Definition: ScalarFunctionScriptBase.cs:139
override double f1(double u, double v)
Definition: Function3d2d.cs:1177
void SetInterpolation(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
Initializes the cubic interpolation function with specified four function values.
Definition: FunctionRealInterpolation.cs:905
static double NormStatic(IVector a)
Returns Euclidean norm of the specified vector.
Definition: VectorBase.cs:510
static double root2(double a)
Returns the square root of a specified number.
Definition: UtilMath.cs:361
virtual double Distance(PointType pt1, PointType pt2)
Returns distance between the specified two points.
Definition: DistanceComparer.cs:606
bool _calcConstraints
Definition: FunctionScalarResults.cs:107
string ValueTypeString
Readable name of the actual type of the captured entity's value, the ValueType, produced by Type....
Definition: ICapturedVar.cs:58
bool _isObjectPrepared
Definition: Loader.cs:925
TScalarField GetScalarField(string name)
Returns scalar field with the specified name.
Definition: StructuredMesh2dGeneric.cs:278
XmlElement GetElement(string xpath)
Returns the first ELEMENT node in the current XML document that satisfies the specified XPath express...
Definition: XmlUtilities.cs:379
A single element of a sampled data, contains vector of input parameters and vector of output values.
Definition: SampledData.cs:20
void Log(ReportType messagetype, string message)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:656
bool VerificationOutputsCalculated
Whether outputs have been calculated, after last training, in the training points (excluding verifica...
Definition: NeuralApproximatorBase.cs:2027
const string ArgPasswordNumIterations1
Specification that number of iterations used in key generation algorithm follows.
Definition: UtilCryptoAux.cs:421
void TypeConversionHelper_ConversionToObjectAndBackTest< OriginalType >(OriginalType original, bool restoreObjectBackToValue=true)
Like TypeConversionHelper_ConversionToObjectAndBackTest<OriginalType, TargetType, RestoredType>(Origi...
Definition: TypeConversionHelperTests_Obsolete.cs:37
static string _defaultKeyMinimalValues
Definition: SampledDataCsv.cs:217
static Process OpenFileInDefaultApplication(string filePath)
Opens the specified file in the default system's application for handling this kind of prcesses,...
Definition: UtilSystem.cs:520
static readonly PhysicalConstant SunRadius
Sun mean radius, 6.955e8 numrows.
Definition: Constants.cs:1706
bool DoLogging(ReportType reptype)
Returns true if the report of a given type should be logged in log files (according to ReportingLevel...
string _serverAddress
Definition: IpcPipes.cs:569
CholeskyDecomposition(IG.Num.Matrix A)
Constructor.
Definition: MatrixDecompositions.cs:883
CommandThread _mainThread
Definition: CommandlineApplicationInterpreter.cs:233
Quadratic _refquad
Definition: FunctionRealInterpolation.cs:1017
LogRecord CreateInfo(string location, string message)
Creates and returns an info log record initialized according to parameters.
Definition: LoggerMsg.cs:303
virtual double NormEuclidean
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:426
string _anInXmlPath
Definition: OptFileManager.cs:135
virtual double OutputBoundSafetyFactor
Gets or sets output safety factor.
Definition: NeuralTrainingParameters.cs:143
string _messagePrefixWithSeparator
Definition: IpcStreamClientServerBase.cs:285
Exception _ex
Definition: LoggerMsg.cs:117
double ReferencDerivative(double x)
Definition: FunctionReal.cs:1286
bool _performDownSizing
Definition: SortedUniqueItemList.cs:93
Func3d2dBase()
Definition: Function3d2d.cs:241
CommandThread AddNewThread()
Definition: CommandlineApplicationInterpreter.cs:268
StructuredMesh3d(int dimx, int dimy, int dimz, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Constructs a 3D (unconnected) unstructured grid based on structured grid by transformation of co-ordi...
Definition: StructuredMesh3d.cs:112
PointContainer(PointType point, int index)
Definition: PointContainer.cs:121
TVectorField GetVectorField(string name)
Returns vector field with the specified name.
Definition: UnstructuredMesh1dGeneric.cs:427
Unstructured mesh in 1D embedded in 3D space.
Definition: UnstructuredMesh1d3d.cs:18
XmlElement CurrentElement
Definition: XmlUtilities.cs:1320
override ElementType CreateObject()
Creates and returns a new object of the type whose data is represented by the current DTO (Data Trans...
Definition: NeuralMapData.cs:51
virtual string AppEncryptSymmetricPlain(string appName, string[] args)
Executes command-line action - symmetric encryption of files or text by using PLAIN class of methods.
Definition: UilCryptoAux1.cs:1285
IEnumerator< ElementType > GetEnumerator()
Definition: VectorBase.cs:149
const string ConstSystem
Name of the command for the system-related embedded applications.
Definition: ScriptAppBase.cs:328
bool TreatWarning
Returns a boolean value indicating whether warnings are treated by the reporter in its current state.
Definition: ReporterMsg.cs:2693
override Matrix TryGetNew()
Returns a newly created object eligible for storage, or null if such an object can not be created....
Definition: MatrixBase.cs:7847
override bool IntegralDefined
Definition: FunctionRealInterpolation.cs:231
IComparer< Type > Comparer
Gets or sets the comparer. If a new comparer is set then re-sorting of the list is performed....
Definition: SortedUniqueItemList.cs:156
Stream stream
Definition: ReporterMsg.cs:3579
char _currentCharacter
Definition: JsonPPStrategyContext.cs:83
IVector _tolMaxRelative
Definition: NeuralTrainingParameters.cs:1567
Quadratic function, f(x) = a2*x*x + a1*x + a0. Specific properties: Zero - returns a zero....
Definition: FunctionRealInterpolation.cs:346
void Add(T item)
Definition: SampleClasses.cs:453
override bool ValueDefined
Definition: FunctionRealWeight.cs:1065
void AddTag(string tagName, string text, bool withLineBreak)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:615
const double RefExecutionsPerSecond_HpLaptop24
Standard speed test with finite geometric series - average result (in iterations per second) measured...
Definition: UtilSpeedTesting.cs:218
virtual void ClearAnResultsReady()
Clears the analysis results ready flag.
Definition: OptFileManager.cs:811
virtual string RunAppDataStructures(string[] args)
Runs a data structures demo - related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:5169
double _testDelayRelativeError
Definition: ParallelJobContainerBase.cs:285
string _ivString
Definition: UilCryptoAux1.cs:320
static void TestStaticMethodSpecific()
A test method, just prints some output.
Definition: MatrixBase.cs:7643
MappingDefinitionElement(int originalElementIndex, int mappedElementIndex, string originalName, string originalTitle, string originalDescription)
Constructor.
Definition: NeuralMapData.cs:271
double StartParameter2
Definition: KleinBottle.cs:84
byte[] _saltBytes
Definition: UilCryptoAux1.cs:311
string BaseDefinitionsJint
Definition: ExpressionEvaluatorJint.cs:63
bool TryConvert(object source, out object target, bool indented)
Definition: ToStringTypeConverterViaJson.cs:65
virtual int NumParameters
Gets number of parameters of the current vector function (-1 for not defined, in case that function w...
Definition: FunctionVectorBaseGeneral.cs:96
virtual IMatrix Hessian
Function Hessian (matrix of second derivatives). If CopyReferences=true (false by default) then only ...
Definition: FunctionScalarResults.cs:313
static AsymmetricAlgorithmType GetAsymmetricAlgorithmType(AsymmetricAlgorithm algorithmObject)
Returns the asymmetric encryption algorithm type, i.e. an enumeration of type SymmetricAlgorithmType,...
Definition: UtilCrypto.cs:3803
virtual void AddReferencedAssembly(string assemblyFile)
Adds an additional referenced assembly by name of the assembly file. Assmebly is only added if it is ...
Definition: Loader.cs:1032
byte[] SaltBytes
Salt, in form of byte array, to be used in generation of keys, initialization vectors,...
Definition: UtilCryptoAux.cs:755
int TextWriterFlush()
Flushes all text writers of the Writer's TextWriter subsystem.
Definition: ReporterMsg.cs:4576
int NextPort()
Definition: PortScanner.cs:422
IOptimizationData _optimizationData
Definition: Optimizer.cs:120
object Lock
Object used for thread locking the current object.
Definition: AnalysisResults.cs:2386
static double Multiply(IVector left, IMatrix a, IVector right, ref IVector result)
R=a^T*M*b. Left-multiplies a matrix with a vector (transposed), right multiplies the result vith anot...
Definition: MatrixBase.cs:4273
bool CompareSumPenalties
Whether sum of penalty terms is compared.
Definition: AnalysisComparer.cs:148
double NormEuclidean
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3D.cs:630
static readonly PhysicalConstant EarthAlbedo
Earth albedo, 0.367.
Definition: Constants.cs:1498
static int SkipNumber(string str, int beginpos, bool skipspaces)
Returns index of the first character in str after the representation of a number (either floating poi...
Definition: StringParser0.cs:275
static void TestFunction(IFunc2d f, double xmin, double xmax, double ymin, double ymax, int numPoints)
Demonstrates use of a 2D function by printing to the console some values and gradients of the functio...
Definition: Function2d.cs:289
List< string > AppAssemblyHelpStrings
List of help strings corresponding to installed assembly related commands.
Definition: ScriptAppBase.cs:3893
void AddFileCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new file system - related embedded application's command (added as sub-command of the base com...
Definition: ScriptAppBase.cs:736
ExplicitlyConvertibleToDerived()
Definition: SampleClasses.cs:207
const string ArgBinaryOutputFormatLongInt
Binary output format (and possibly input, if not specified separately) used is long integer.
Definition: UtilCryptoAux.cs:519
override string ToString()
Exports the light definition as a readable string (useful for debugging).
Definition: LightingDefinition_05.cs:59
bool ReqObjective
Indicates whether calculation of objective function is/was requested.
Definition: AnalysisResutlsInt.cs:348
int Dim1
Returns the first dimenson of the structured mesh (number of mesh points in the first direction).
Definition: StructuredField2dGeneric.cs:158
Definition: PortScanner.cs:9
Definition: MeshExportExtensions_06.cs:12
abstract bool AreEqual(CharType ch1, CharType ch2)
Returns true if the specified characters are equal, false otherwise.
static string DefaultReportLocation_Console(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Delegate for assembling a location string for this kind of report.
Definition: ReporterMsg_Derived.cs:143
static BoundingBox Create(params IVector[] points)
Creates and returns a minimal bounding box that contains all the specified points.
Definition: BoundingBox.cs:1301
static readonly PhysicalConstant EarthAxialTilt
Earth axial tilt, 23.439281°.
Definition: Constants.cs:1490
virtual DistanceComparer< PointContainerType, PointType > CreateDefaultDistanceComparer()
Creates and returnws a distance comparer of hte default type for the current type of point of clouds.
Definition: PointCloud.cs:221
string _multilineMark
Definition: ExpressionEvaluatorCompiled.cs:331
IMatrix Hessian
Function Hessian (matrix of second derivatives). If CopyReferences=true (false by default) then only ...
Definition: FunctionScalarResultsInt.cs:125
static new xdouble one
One (value 1.0).
Definition: UtilMath.cs:1591
bool UseSubVersion
Whether or not subversion number is used.
Definition: App.cs:1260
string _msgAnInputReadyPath
Definition: OptFileManager.cs:148
PasswordAlgorithmType
Enumeration for selecting the algorithm for generation of secret keys, initialization vectors,...
Definition: UtilCryptoAux.cs:57
static void ToByteArray(UInt16 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1477
const string ArgKeyLength
Specification that length of the key follows.
Definition: UtilCryptoAux.cs:434
virtual void SpecificTypeConverter_RoundTripConversion_IntToIntObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:48
int OutputLevel
Level of output during operation.
Definition: UilCryptoAux1.cs:108
double LinearCombinationValue(IVectorFunctionResults evaluationData, IVector coefficients)
Returns value of linear combination of functions contained in this vector function,...
Definition: FunctionVectorBaseGeneral.cs:336
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: SerializationDtoNeuralApproximator.cs:101
virtual IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: FunctonVectorResults.cs:218
List< char > _closedBrackets
Definition: StringParser.cs:134
static void TestPerformance(int numPoints, int numServers, int maxEnqueued, double delayTimeSeconds, double delayTimeRelativeError, int sleepTimeMs, int clientOutputLevel)
Test of parallel job execution by calculating the specified real function of one variable in a number...
Definition: ParallelJobContainerBase.cs:550
string FileName
Definition: XmlUtilities.cs:1117
int hidden
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:121
Func2dBasePlain_ToConsider()
Constructor.
Definition: Function2d.cs:651
IdProxy()
Definition: UtilIdRegistration.cs:103
Client to the pipe server (classes derived from IpcStreamClientServerBase2).
Definition: IpcStreamClientBase.cs:21
static Exception ReviseException(Exception ex, string messageaddition, Type newtype, bool sametype, bool keepmessage, bool oldasinner)
Takes an existing exception and returns a modified exception based on it.
Definition: ReporterMsg.cs:1619
override double f2(double u, double v)
Definition: Function3d2d.cs:1437
double _maxY
Definition: Function3d2d.cs:724
void RemoveScalarField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh3dGeneric.cs:374
bool TreatInfo
Returns a boolean value indicating whether info messages are treated by the reporter in its current s...
Definition: ReporterMsg.cs:2697
Complex ConjugateNumber(Complex a)
Definition: NumberOperationsComplex.cs:59
virtual string RunLoadedScript(string commandName, string[] arguments)
Executes the specified command that has been dynamically loaded form a script.
Definition: CommandlineApplicationInterpreter.cs:2937
virtual void SetDefaultReportMessageDlg()
Sets the error message assembling delegate to the default value. This default delegate does not utili...
Definition: ReporterMsg.cs:1311
void RunSingleJobInThread()
Methods that runs the job on the serving thread, for the case when a new thread is allocated for each...
Definition: ParallelJobServerBase.cs:690
static void UpdateBounds(Field< double > field, IBoundingBox bounds, int componentIndex)
Updates the specified component of the specified bounds (object of type IBoundingBox) in such a way t...
Definition: FieldGeneric.cs:139
virtual string ClassName
Name of the JavaScript class that is compiled to execute the evaluated code.
Definition: ExpressionEvaluatorCompiled.cs:100
XmlNode GetNextOrCurrentElement()
Moves the current node to the current or the first sibling element after the current node.
Definition: XmlUtilities.cs:1628
IVector _maxAux
Definition: BoundingBox.cs:399
override string TypeName
Definition: Vartypes.cs:136
const string ArgBinaryOutputFormatBase64
Binary output format (and possibly input, if not specified separately) used is hexadecimal.
Definition: UtilCryptoAux.cs:514
static void GetRandomBytes(ref byte[] byteArray, int numBytes)
Fills the specified byte array with a specified number of cryptographically strong random bytes.
Definition: UtilCrypto.cs:314
void SetDefinitionColors(color[] colors)
Sets the definition colors that define the color scale.
Definition: ColorScale.cs:257
string User
Gets name of the user of the program.
Definition: App.cs:1340
static void ToByteArray(byte val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1338
virtual bool IsSymmetric(double relativeRMSTolerance=0.0)
Returns true if the specified matrix is symmetric within some tolerance, and false if not....
Definition: MatrixBase.cs:662
void AddHeading1(string headingText)
Adds a new level 1 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:690
virtual List< String > NoticeShort()
Returns a list of text lines introducing the module or application in a condensed way.
Definition: App.cs:1870
bool AppSettingsWarnings
Gets or sets the flag that specifies whether a warning message is launched when reading of applicatio...
Definition: ReporterMsg.cs:2249
virtual string LanguageName
Language used by compiler.
Definition: Loader.cs:719
IVector Max
Sets the vector of maximal values point coordinates. Needed for calculation of relative coordinate ve...
Definition: DistanceComparer.cs:341
VectorDtoBase ErrorsTrainingRms
RMS errors calculated on training data.
Definition: SerializationDtoNeural.cs:156
static void CholeskySolve(IMatrix CholeskyMatrix, IMatrix B, ref IVector auxX, ref IMatrix X)
Calculates inverse of the matrix from its specified Cholesky-decomposed matrix.
Definition: MatrixBase.cs:6698
override string ToString()
Definition: FunctonVectorResults.cs:778
virtual void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionScalarRadial.cs:533
static string RandomString(int length, CharType flags, IRandomGenerator rndgen=null)
Returns a randomly generated string of a specified length whose characters are of specified type(resu...
Definition: UtilString.cs:491
virtual void AllocateHessian()
Allocates space for function Hessian.
Definition: FunctionScalarResults.cs:420
A RealFunction class representing bell like polynomial weighting function with finite support,...
Definition: FunctionRealWeight.cs:1036
string _msgFunctionOutputReadyFilename
Definition: NeuralFileManager.cs:867
static int GetNumNullElemets(SampledDataSet sampledDataSet)
Returns number of null elements of the specified sampled data set.
Definition: SampledData.cs:2335
bool UnRegisterFactory< VectorType >()
override VectorBase GetNewBase()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector3Dclass.cs:115
char _multiLineCharacter
Definition: ExpressionEvaluatorCompiled.cs:356
bool CalculatedGradient
Indicates whether calculation of function gradient is/was requested.
Definition: FunctionScalarResultsInt.cs:219
override double f3(double u, double v)
Definition: Function3d2d.cs:1741
bool _calcObjectiveHessian
Definition: AnalysisResults.cs:236
virtual bool CheckSoftwareRootValidity(string rootpath)
Verifies whether the specified directory is a valid software root directory. Global is verified by th...
Definition: App.cs:1607
readonly ITestOutputHelper _testOutputHelper
Definition: TestBase.cs:94
const string ArgHashValue
Specification of hash value follows (only with -c, for a single input file).
Definition: UtilCryptoAux.cs:549
const AlignmentVertical DefaultVerticalAlignment
Default vertical alignment.
Definition: Alignment.cs:72
static void TestSpeedBlockCreateRemove(string filePath, int numSwitches, int sleepMs, bool waitDirectory)
Test of speed of reaction of file/ directory creation and removal blocking waits. A specified number ...
Definition: WaitConditionFile.cs:584
static readonly PhysicalConstant AU
Astronomical unit, non-SI unit of length, AU = 1.49597870691e11 numrows. Average distance from Sun to...
Definition: Constants.cs:1180
override bool Condition()
Returns false if the monitored file exists, and true if not.
Definition: WaitConditionFile.cs:1468
UnstructuredMesh1d3d(int length, string fieldName, string fieldDescription)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d3d.cs:55
static readonly PhysicalConstant BohrRadius
Bohr Radius.
Definition: Constants.cs:518
Parametric Klein bottle surface with mirror symmetry.
Definition: KleinBottle.cs:20
WeightReciprocalPower(int power, double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:272
new Type TargetType
Target type, the type of values TO which the current converter converts. Should correspond to TTarget...
Definition: ISingleTypeConverter.cs:40
static Counter operator*(Counter a, Counter b)
Definition: Scalar.cs:523
This is just an example of a concrete vector factory, which creates vector objects of type ComplexVec...
Definition: VectorFactory.cs:74
bool CalculatedHessians
Indicates whether calculation of functions' Hessians are/was requested.
Definition: FunctionVectorResultsInt.cs:301
string DocumentStyle
CSS string with internal style definitions.
Definition: HtmlWriter.cs:171
static int DefaultSleepTimeMs
Default sleeping time, in milliseconds, used by parallel job data objects when waiting for fulfillmen...
Definition: ParallerJobDispatcherBase.cs:1084
double NormInfinity
Get the infinity norm of the matrix - maximum over rows of sum of absolute values of components.
Definition: Matrix2DClass.cs:553
static void GetAppSetting(string key, ref bool value, out bool assigned, bool otherformatsallowed)
Reads a boolean value from the application configuration file and assigns it to the specified variabl...
Definition: ReporterMsg.cs:1918
ReportType Type
Type of the logged message.
Definition: LoggerMsg.cs:96
volatile int _outputLevel
Output level for objects of this class.
Definition: ParallerJobDispatcherBase.cs:1016
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:512
static double arccot(double x)
Arc cotangent, inverse of 1/tan(x).
Definition: UtilMath.cs:1234
DistanceComparerVector(PointContainerVector referencePoint, DistanceDelegate< IVector > distanceFunction, IVector lengthScales)
Constructs a new comparer according to input distance to a reference poiont (type IVector).
Definition: PointCloudConcrete.cs:125
void GetErrorsVerificationMeanAbs(ref IVector errors)
Calculates the mean absolute errors of output values for the verification elements of the training se...
Definition: NeuralApproximatorBase.cs:2393
Vector2d CrossProduct(Vector2d v)
Returns vector product of the current and the specified vector.
Definition: Vector2Dclass.cs:435
static void SaveBinary(SampledDataSet sampledData, string filePath)
Saves the specified sempled data to the specified file in binary format. The file is owerwritten if i...
Definition: SampledData.cs:1051
virtual string ToStringMath()
Returns a string representation of this vector in a standard IGLib form (Mathematica-like format but ...
Definition: VectorBase.cs:3163
Matrix2d(double xx, double xy, double yx, double yy)
Initializes 2D matrix structure with the specified components.
Definition: Matrix2DClass.cs:74
int _numHiddenNeuronsThirdMin
Definition: NeuralTrainingParameters.cs:1839
IRealFunctionPenalty GetPenaltyFunction(int which)
Returns penalty function corresonding to the specified constraint.
bool _calcConstraints
Definition: AnalysisResults.cs:230
Base class for matrices.
Definition: MatrixBase.cs:325
static readonly PhysicalConstant MoonEquatorialGravity
Moon equatorial surface gravity acceleration, 1.622 numrows/result^2.
Definition: Constants.cs:1610
bool _calcHessians
Definition: FunctonVectorResults.cs:122
static void TestToString()
Test conversion to strings with invariant culture info.
Definition: Utils.cs:2757
Miscellaneous constants.
Definition: Constants.cs:1364
VectorDtoBase ToleranceRms
Tolerance over RMS error of outputs over training points. Training will continue until error becomes ...
Definition: SerializationDtoNeural.cs:86
const string ArgSaltBase64Bytes1
Specification of password as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:476
override bool DerivativeDefined
Definition: FunctionRealInterpolation.cs:1463
UnstructuredMesh3d(int dimx, int dimy, int dimz, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Constructs an (unconnected) unstructured grid of nodes based on 3D structured grid obtained by transf...
Definition: UnstructuredMesh3d.cs:107
IVector GetInputParameters(int which)
Returns the vector of input parameters of the specified element of the sampled data set.
Definition: SampledData.cs:320
int NumEpochs
Number of epochs actually spent at training.
Definition: SerializationDtoNeural.cs:268
delegate double DlgFunctionHigherDerivative(double x, int order)
Represents derivative of real function of real variable of arbitrary order.
static readonly PhysicalConstant EarthOrbitalSpeed
Earth average orbital speed - 29.783 km/result.
Definition: Constants.cs:1548
mat3 Multiply(double b)
Multiplies the current 3D matrix with the specified scalar and returns the product.
Definition: Matrix3D.cs:830
bool OriginalElementIndexSpecified
Definition: NeuralMapData.cs:35
static void LoadSampledDataCSV(string filePath, int inputLenght, int outputLenght, bool namesSpecified, bool titleSpecified, bool descriptionSpecified, ref SampledDataSet sampledData, ref InputOutputDataDefiniton definitionData)
Loads sampled data and definition data from single CSV file.
Definition: SampledData.cs:1437
static int GetNumConstants(int dim)
Returns the number of constants that specify the linear function of the specified dimension.
Definition: FunctionScalarExamples.cs:181
void IEnumerableElementTypeIsRetrievedCorrectlyForGenericCollectionInterfaces()
Definition: IGLibCoreReflectionTests.cs:73
char _messageSeparator
Definition: IpcStreamClientServerBase.cs:216
string _inverseDefinitionString
Definition: RealFunctionScriptBase.cs:103
void Serve()
Definition: ParallelJobServerBase.cs:503
PortList2 portList
Definition: PortScanner.cs:20
static Matrix3d Create(IMatrix mat)
Creates and returns a 3D matrix that is a copy of another (general) matrix. That matrix should be a 3...
Definition: Matrix3DClass.cs:149
virtual void WaitForConnection(NamedPipeServerStream pipe)
Waits until a client connects to the specified server pipe.
Definition: NamedPipes_Copy.cs:201
void MakeUniform()
Resets the parameters in such away that the generated grid is uniform (equidistant intervals) and wit...
Definition: GridGenerator1dFunc.cs:110
override double StartParameter
Definition: ConicalSpiralArchimedian3D.cs:45
override bool ValueDefined
Definition: FunctionRealInterpolation.cs:1448
virtual string CryptoFunctionGetInitializationVector(string appName, string[] args)
Executes embedded application - generation of initialization vectors for encryption.
Definition: ScriptAppBase.cs:1337
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealBasic.cs:576
@ RSA
Specifies the RSA asymmetric algorithms.
static double _defaultUpperBound
Definition: ScalarFunctionScriptController.cs:778
static void ExportMeshToObj(this StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, bool exportSurfaces=true, bool exportWireframe=true, string surfaceMaterialName="SurfaceMaterial", string wireframeMaterialName="WireframeMaterial")
Exports a structured mesh to OBJ format, including vertex normals, surfaces, and optional wireframe.
Definition: MeshExportExtensions.cs:26
double GetIntervalLength(int i)
Returns the length of the specified interval between generated nodes of the grid. If necessary,...
override double Norm2
Gets a 2 norm of the current 3D vector.
Definition: Vector3Dclass.cs:409
object _mainLock
Definition: NeuralTrainingParameters.cs:2604
static void FromByteArray(byte[] bytes, out UInt64 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2299
override int Length
Gets dimension of the vector.
Definition: Vector2Dclass.cs:35
bool RemoveTextWriters()
Removes all text writers from the TextWriter subsystem. If appropriate, the corresponding text writer...
vec3(double comp)
Initializes all component of a 3D vector with the specified value.
Definition: Matrix3D.cs:52
bool LiesOutside(IVector coordinates)
Returns true if the speciifed co-ordinates lie outside of the bounding box, and false otherwise.
static SerializationTestClass CreateTestObject(int d1, int d2, int dim3d1, int dim3d2, int dim3d3)
Creates an object for testing serialization.
Definition: SerializerBase.cs:955
virtual Matrix2d GetCopyThis()
Returns a copy of the current 2D matrix.
Definition: Matrix2DClass.cs:419
IVector _inputRange
Definition: NeuralTrainingParameters.cs:216
string Script_Run(string[] arguments)
Runs internal script command.
Definition: LoadableScriptBase.cs:695
static double Min(double a, double b, double c, double d, double e)
Smallest of five numbers.
Definition: UtilMath.cs:920
Classes whose instances have unique integer IDs.
Definition: IIdentifiable.cs:12
string _msgNeuralOutputReadyPath
Definition: NeuralFileManager.cs:157
static string _defaultMsgRequestEnd
Definition: IpcStreamClientServerBase.cs:465
IRandomGenerator _randGen
Definition: LoadableScriptOpt.cs:65
static xdouble th(xdouble a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:1850
void SetDiagonal(double diagonalElement)
Sets the current matrix to the diagonal matrix with all diagonal elements equal to the specified valu...
Definition: Interpreter.cs:38
string CodeName
Gets or sets code name of the program.
Definition: App.cs:982
void SaveCsv(string filePath)
Saves the data of the current object values into a CSV file. If the file already exists then its cont...
Definition: StringTable.cs:1179
Matrix_MathNetNumerics _copyMathNetNumerics
Copy of the current matrix as Math.Net numerics matrix.
Definition: Matrix.cs:693
void AllocateConstraintHessian(int which)
Allocates space for the specified constraint fucnction's Hessian.
MathNet.Numerics.LinearAlgebra.Factorization.Svd< double > SingularValueDecomposition_MathNetNumerics
Definition: MatrixDecompositions.cs:30
Used in serialization / deserialization benchmark tests.
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:76
double _firstStartCpuTime
Definition: UtilTime.cs:108
virtual void SpecificTypeConverter_RoundTripConversion_NonintegerDoubleToIntObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:115
virtual void Add(params ModelParameterType[] parameters)
Adds the specified parameter objects to the currrent parameter set at keys that equal to parameter na...
Definition: ModelParameterSetBase.cs:85
static bool CheckFileHashSha1Hex(string filePath, string hashValue)
Checks whether the specified SHA-1 hash value matches the actual hash value of the specified file.
Definition: UtilCrypto.cs:1420
int _outputLength
Definition: SampledData.cs:231
static bool operator!=(ExplicitlyConvertibleToDerived lhs, ExplicitlyConvertibleToDerived rhs)
void ModelParameter_CreationWithNameAndType_DefaultValueShouldNotBeDefined()
Definition: ModelParameterTests.cs:74
List< string > FreeParameters
List of free parameters from the parsed command-line.
Definition: UilCryptoAux1.cs:348
UnstructuredMesh1d2d(int length, string fieldName, string fieldDescription)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d2d.cs:55
virtual Logger Logger
Gets the logger that is used to log errors and warnings.
Definition: Loader.cs:459
static void OrthogonalProjection(IVector original, IVector onWhich, ref IVector result, double tolerance=0.0)
Calculates orthogonal projection of the original vector on the specified vector, and stores the proje...
Definition: VectorBase.cs:1580
override double NormEuclidean
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3DClass.cs:615
int MaxEpochs
Maximal number of epochs performed in the training procedure.
Definition: SerializationDtoNeural.cs:50
virtual void AllocateValuesList()
Allocates space for list of function values.
Definition: FunctonVectorResults.cs:562
static void SaveRequestMath(IAnalysisResults anres, string filePath, bool append)
Saves the specified analysis request to a file.
Definition: AnalysisResults.cs:1842
override void CopyFromPlain(MappingDefinitionElement obj)
Definition: NeuralMapData.cs:138
string _blockCommandLine
Definition: CommandlineApplicationInterpreterBase.cs:1246
void RemoveEscapeSequence(string code, char character)
Removes the specified character reference from the parser.
Definition: StringParser.cs:287
Temporary file stream. Based on a temporary file proveded by the system, which is automatically close...
Definition: UtilSystem.cs:34
BoundingBox2d(double[] coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1707
bool IsKeyNumInputParameters(string str)
Whether the specified string is a keyword introducing the number of input parameters.
Definition: SampledDataCsv.cs:546
abstract void Hessian1(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the first component of the current function and returns its component through t...
int Age
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:78
Scalar(double v)
Definition: Scalar.cs:33
bool _compareByVerificationRmsError
Definition: NeuralTrainingParameters.cs:2968
ElementDtoType[] Elements
Definition: ArrayDto.cs:57
double Det
Gets matrix determinant.
Definition: Matrix3DClass.cs:654
virtual void EndCodeBlock()
Ends a code block in the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:411
string KeyNumSamplingPoints
A keyword string that introduces variable discretization steps in the CSV file containing sampled dat...
Definition: SampledDataCsv.cs:823
virtual double NumericalDerivative(double x, double stepsize)
Calculates numerical derivative of this function. Central difference formula is used.
Definition: FunctionReal.cs:367
IdProxy _idPproxy
Proxy object that implements the IIdentifiable interface for this object.
Definition: InterpreterCommandLine.cs:60
static ColorScale CreateBlueRedYellow(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that runs from blue through red till yellow color.
Definition: ColorScale.cs:989
static SymmetricAlgorithmType GetSymmetricAlgorithmType(string typeString)
Returns the SymmetricAlgorithmType value corresponding to the specified string.
Definition: UtilCrypto.cs:1538
static void GetArguments(string commandLine, ref List< string > ret)
Parses a command line and extracts arguments from it. Arguments can be separated according to usual r...
Definition: UtilString.cs:246
virtual void SetRandom()
Sets the current vector such that it contains random elements on the interval (0,1].
Definition: VectorBase.cs:387
virtual bool IsValueDefined
Specifies whether value is defined for the funciton represented by the current DTO.
Definition: ScalarFunctionScriptController.cs:90
TargetType ConvertTyped< TargetType >(string source)
Definition: FromStringTypeConverterViaJson.cs:14
int Id
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:84
static string SymmetricAlgorithmTypeToString(SymmetricAlgorithmType algorithmType)
Returns standard string representation of the specified symmetric encryption algorithm type.
Definition: UtilCrypto.cs:1596
static readonly PhysicalConstant mbar
Millibar, non-SI unit of pressure, mbar = 100 Pa = 100 kg/numrows result^2. Use is not encouraged.
Definition: Constants.cs:1269
static readonly PhysicalConstant Hz
Hertz, the SI derived unit of frequency. 1/result.
Definition: Constants.cs:886
static double StandardDeviation(IEnumerable< double > sample)
Returns estimation of the standard deviation of a random value based on the specified sample.
Definition: UtilMath.cs:780
Matrix2d(double[,] A)
Initializes a 2D matrix with elements of a rectangular array.
Definition: Matrix2DClass.cs:119
virtual void SetVariable(string variableName, bool value)
Command - sets a boolean interpreter variable.
Definition: InterfaceInv.cs:318
const string VarNameFunctionArgumentParametersName
Name of variable (internal in class defined in loadable script) that holds the names of function argu...
Definition: ScalarFunctionScriptLoader.cs:66
IWaitFileEvent _removal
Definition: WaitConditionFile.cs:1124
virtual void WaitForConnection(NamedPipeServerStream pipe)
Waits until a client connects to the specified server pipe.
Definition: IpcPipes.cs:216
static List< string > _soundExtensionsDotNet
Definition: UtilSystem.cs:4194
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArray3DToIntArray3DObjectToIntJaggedArray3D()
Definition: CollectionTypeConverterTests .cs:752
static string GetHashFunctionString(Object obj)
Returns a string-valued hash function of the specified object.
Definition: Utils.cs:244
Definition: DefaultCharacterStrategy.cs:5
Base class for 3D vector functions of 2 variables (base for implementation of IFunc3d2d interface).
Definition: Function3d2d.cs:238
static readonly PhysicalConstant lm
Lumen, the SI derived unit of luminous flux. lm = cd sr = cd
Definition: Constants.cs:1026
virtual double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionReal.cs:904
override void UpdateInputParametersManual(IVector inputParameters)
Prepares current values of input parameters in the simulation input thet will be written to the simul...
Definition: SimKosecFileManager.cs:272
object waitlock
Definition: WaitCondition.cs:60
ReporterConsole(object obj, ReportDelegate reportdelegate, ReserveReportErrorDelegate reservereportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg_Derived.cs:291
double ScalarProduct(Vector3d v)
Returns scalar product of the current and the specified vector.
Definition: Vector3Dclass.cs:437
Definition: LightSource.cs:92
CylindricalBilliardKnot_WrongParameterization(int n, int p, double a=0.3)
Definition: CylindricalBilliardKnot.cs:87
virtual void RunOnAborted()
Called when 'aborted' notification is triggered (within the method NotifyJobAborted).
Definition: ParallelJobContainerBase.cs:370
bool _convergenceRmsEnabled
Definition: NeuralTrainingParameters.cs:548
SerializerJson()
Definition: SerializerJson.cs:30
bool EnableRaisingEvents
If true, events are raised by file system watched, otherwise events are not raised....
Definition: WaitConditionFile.cs:341
void TypeConversionHelper_RoundTripConversion_NonintegerDoubleToIntObjectToDouble_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:179
bool RemoveTextLogger(TextWriter writer)
Removes the first object from Loggers that contains the specified TextWriter. If appropriate,...
Definition: ReporterMsg.cs:5236
bool AddTextWriter(string filename, bool append, bool writeintro)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4305
override void ReferenceGradientPlain(IVector x, IVector gradient)
Returns the first derivative of this function at the specified parameter.
Definition: FunctionScalarRadial.cs:119
static bool IsUserIgor
Returns true if the current user logged on the computer is Igor, or false otherwise.
Definition: UtilSystem.cs:153
override string[] TypeNames
Definition: Vartypes.cs:110
static xdouble Log(xdouble a, xdouble logBase)
Returns the logarithm of a specified number in a specified base.
Definition: UtilMath.cs:1740
static bool TryParse(string s, out Complex result)
Parses complex number from its string representation.
Definition: Complex.cs:952
override bool Condition()
Returns true if unblocking condition is satisfied, and false otherwise.
Definition: WaitConditionFile.cs:858
VectorBase()
Definition: VectorBase.cs:31
static Assembly[] GetLoadedAssemblies()
Returns a list of all currently loaded assemblies in the applicattion.
Definition: UtilSystem.cs:2287
virtual SerializationTestArrayMember[][] JaggedArray2D
Definition: SerializerBase.cs:771
CspProviderFlags AsymFlags
Asymmetric CSP (crypto service provider) flags.
Definition: UilCryptoAux1.cs:198
override VectorBase GetCopyBase()
Creates and returns a copy of the current vector, which is of the same type as the current vector.
Definition: Vector.cs:457
AsymmetricAlgorithm _asymAlgorithm
Definition: UilCryptoAux1.cs:193
static string GetAssemblyName(Assembly assembly)
Returns the simple name of the specified assembly.
Definition: UtilSystem.cs:3025
void Unregister()
Unregisters the current object if it is currently registered. Can be performed several times,...
Definition: ExpressionEvaluatorJs.cs:477
string Name
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:36
LoadableScriptBase Script
Script object where the command is installed.
Definition: LoadableScriptBase.cs:498
Definition: TestSerializers.cs:12
override BoundingBox CreateBoundingBox(int dimension)
Creates and returns a new bounding box of the specified dimension.
Definition: BoundingBoxDto.cs:195
object DefaultValueObject
Default value of the parameter, stored as object.
Definition: IModelParameter.cs:59
override bool ValueDefined
Tells whether value of the function is defined by implementation. Always true for this case.
Definition: FunctionScalarExamples.cs:86
static void Map(IBoundingBox original, IBoundingBox target, IVector value, ref IVector result)
Mapping from one bounding box to another. Maps a vector from the original to the target space....
Definition: BoundingBox.cs:1375
abstract void GetInputParametersManual(ref IVector inputParameters)
Gets the current values of input parameters form the input file. This method must be overridden in de...
bool TextWriterWriteIntro
Specifies whether introduction text is written before logging of messages begins or not.
Definition: ReporterMsg.cs:4001
ITestOutputHelper Output
Definition: TestBase.cs:21
static double rand()
Returns a uniformly distributed random number greater than or equal to 0.0, and less or equal than 1....
Definition: UtilMath.cs:373
override int NumParameters
Gets number of parameters that define the current function out of parametric family of functions....
Definition: FunctionRealParametric.cs:192
virtual string[] GetReferencedAssemblies()
Returns an array of assemblies (paths, sometimes only file names) that are currently referenced by th...
Definition: Loader.cs:1228
bool IsOutputFormatHex
Whether output is in form of hexadecimal encoded byte array.
Definition: UilCryptoAux1.cs:509
static object StaticLock
Static lock object accessible only from the current class.
Definition: UtilTime.cs:32
override MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:742
ObjectRegister()
Creates an object that generates unique IDs (in the scope of the current instance) and provides regis...
Definition: ObjectRegister.cs:26
bool _calcObjectiveGradient
Definition: AnalysisResults.cs:232
virtual double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionReal.cs:895
List< int > TrainingTableDimensions
List of dimensions of the table of training results.
Definition: NeuralTrainingParameters.cs:2652
int _numOutputValues
Definition: SimKosecFileManagerBase.cs:186
StreamWriter _outputStream
Definition: IpcNamedPipes.cs:599
override bool ComponentWiseEvaluation
Returns true, indicating that individual components of functions and eventually their deirvatives is ...
Definition: FunctionVectorBase.cs:272
int _maxEpochs
Definition: NeuralTrainingParameters.cs:1448
SampledDataSetDto()
Definition: SampledDataDto.cs:103
bool _threadStarted
Flag used to signal that command data has been picked by the executing thread and so object access ca...
Definition: InterpreterCommandLine.cs:152
vec3[][] NodeNormals
Definition: StructuredMesh3D_03.cs:17
Matrix2d DyadicProduct(Vector2d v)
Returns dyadic product of the current and the specified vector.
Definition: Vector2Dclass.cs:443
double Norm1
Get the 1 norm of the matrix - maximum over columns of sum of absolute values of components.
Definition: Matrix2DClass.cs:548
IBoundingBox InputNeuronsRange
Gets the range in which data should be for input neurons, used for scaling from actual input to input...
Definition: NeuralApproximatorBase.cs:351
string BlockCommanddLine
Commandline that started the current block. It may have been saved when the current block of code was...
Definition: CommandlineApplicationInterpreterBase.cs:1253
void RemoveChecked(Type item)
Temoves the item from the list that is equal to the specified item. NOT thread safe.
Definition: SortedUniqueItemList.cs:255
const int MinPasswordLength
Minimal password length for encryption.
Definition: UtilCryptoAux.cs:258
static void ExportMeshSurfaceToObj(StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, string surfaceMaterialName="SurfaceMaterial")
Exports only the surface mesh to an OBJ file.
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:831
const string ProcessHelpKillApplications
Definition: ScriptAppBase.cs:4877
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
Definition: Sphere.cs:49
override void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
Definition: ClientServerStreamBase2_Copy.cs:1169
Defines classes that can be converted to strings and whose values can be parsed from strings....
Definition: Vartypes.cs:191
static double DefaultLearningRateMin
Default value for minimum learning rate in neural networks.
Definition: NeuralTrainingParameters.cs:1223
CommandUseReference(int interpreterId, string commandName)
Creates a new command reference.
Definition: Interpreter.cs:69
static double Norm1Static(IVector a)
Returns the 1-norm (Manhattan or Taxicab norm, sum of element absolute values) of the specified vecto...
Definition: VectorBase.cs:574
List< IMatrix > ConstraintHessians
Constraint functions' Hessians (matrices of second derivatives). If CopyReferences=true (false by def...
Definition: AnalysisResutlsInt.cs:248
BoundingBox(double[] coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1453
bool IsInfinity
Indicates whether the current Scalar represents infinity.
Definition: Scalar.cs:103
static int GetNumConstants()
Returns the number of scalar constants that specify the current function.
Definition: Function2d.cs:450
int NumHiddenLayers
Number of Hideden layers.
Definition: NeuralTrainingParameters.cs:386
IAnalysisResults CurrentGuess
Results of the current guess (usually last analysis that has been performed).
Definition: Optimizer.cs:91
static void SetRandomAntiSymmetric(IMatrix mat, IRandomGenerator rnd)
Sets the specified matrix such that it is antisymmetric and contains random elements on the interval ...
Definition: MatrixBase.cs:991
virtual void SetCalculateObjective(bool flagValue)
Sets the flag for calculation of objective function.
Definition: InterfaceInv.cs:375
void Script_AddRunFileByScriptCommand(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Adds the Run comand to the script's interpreter and performs the necessary additional tasks.
Definition: ScriptAppBase.cs:399
Constant(double constantValue)
Constructs a new constant function.
Definition: FunctionRealBasic.cs:516
LogRecord CreateError(string message)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:237
static readonly PhysicalConstant degarc
Degree of arc, non-SI unit of plane angle, degarc = 1° = (π/180) rad.
Definition: Constants.cs:1106
BoundingBox3d(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
Creates a 3D bounding box with the specified bounds.
Definition: BoundingBox.cs:1506
IVector ToleranceRms
Tolerance for RMS.
Definition: NeuralTrainingParameters.cs:1499
static int DefaultSleepTimeMs
Default sleeping time, in milliseconds, used by parallel job data objects when waiting for fulfillmen...
Definition: ParallelJobServerBase.cs:131
override vec2 Gradient(vec2 parameters)
Calculates and returns gradient of the current 2D linear function.
Definition: Function2d.cs:490
static RealFunction GetIdentity()
Creates and returns a new real identity (or linear) function object.
Definition: FunctionRealBasic.cs:377
static void CalculateIntervalLenghts(List< double > nodes, ref List< double > lengths)
Calculates lengths of subsequent intervals defined by the first list, and stores it to the second lis...
Definition: GridGenerator1dBase.cs:585
File analysis client. Passes direct analysis request to the server and gets analysis results from it.
Definition: OptFileAnalysisClient.cs:26
virtual void SendResponse(string responseString)
Sends the specified response string back to the server.
Definition: ClientServerStreamBase2_Copy.cs:686
PenaltyEvaluator()
Constructs non-initialized penalty evaluator (wihout any penlaty functions). WARNING: Crated penalty ...
Definition: AnalysisResults.cs:2354
override double[] GetParameters()
Returns parameters of the current parametric function as an array. Since this class is for one parame...
Definition: FunctionScalarRadial.cs:347
const string NeuralOutputeXmlFilename
Default file name of neural networks approximation output file in XML format.
Definition: NeuralFileConst.cs:81
TIndexField ActiveIndexField
Gets active index field. Has protected setter.
Definition: StructuredMesh3dGeneric.cs:94
abstract double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray2DToIntArray2DObjectToIntArray2D()
Definition: CollectionTypeConverterTests .cs:415
override double CurvePolar(double t)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
string[] InitializationArguments
Arguments used by the initialization method.
Definition: LoadableScriptBase.cs:107
static int[][][] IntJaggedArrayNonrectangular3x2x4
Sample 3D jagged array of int (type int[][][]), for use in tests. The array does not correspond to a ...
Definition: SampleCollections.cs:174
double LinearCombinationSecondDerivative(IVectorFunctionResults evaluationData, IVector coefficients, int rowNum, int columnNum)
Returns the specified component of Hessian of combination of functions contained in this vector funct...
Definition: FunctionVectorBaseGeneral.cs:422
StructuredSurfaceMesh3D GenerateMeshByFrenet(Func< double, vec3 > curve, Func< double, vec3 > tangent, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double h=1e-3)
Generates a tubular mesh using the Frenet frame and analytical or fallback tangent function.
Definition: TubularMeshGenerator_06.cs:193
double ScalarProduct(vec3 v)
Returns scalar product of the current and the specified vector.
Definition: Matrix3D.cs:179
bool HasDerivative
Definition: HelixCurve3D.cs:56
override void GetBytesInternal(int numBytes, ref byte[] outputBytes)
Returns the next generated key of the specified length.
Definition: UtilCryptoAux.cs:934
Singular value decomposition of a matrix.
Definition: MatrixDecompositions.cs:1410
UnstructuredMesh2d(int numElements)
Creates a new unstructured mesh with the specified number of elements.
Definition: UnstructuredMesh2dGeneric.cs:41
Matrix LeftSingularVectors
Returns the left singular vectors.
Definition: MatrixDecompositions.cs:1458
static void ToByteArray(char val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1306
mat3(double xx, double xy, double xz, double yx, double yy, double yz, double zx, double zy, double zz)
Initializes 3D matrix structure with the specified components.
Definition: Matrix3D.cs:392
static AnalysisResults CreateExample(int numParameters, int numConstraints, bool reqObjective, bool reqConstraints, bool reqObjectiveGradient, bool reqConstraintGradients, bool reqObjectiveHessian, bool reqConstraintHessians)
Creates an example analysis results object according to parameters, with some arbitrary result compon...
Definition: AnalysisResults.cs:2254
ComponentType[][] ToJaggedArray()
Creates and returns a jagged 2D array that contains a component-wise copy of the matrix.
EllipsoidParametric(double a, double b, double c)
Constructs parametric definition of an origin-centered ellipsoid by the specified values of half-axes...
Definition: Function3d2d.cs:951
List< string > _blockExitCommands
Definition: CommandlineApplicationInterpreterBase.cs:942
bool StopServerWhenAllJobsDone(double timeoutInSeconds)
Waits until all jobs are completed or timeout occurs, and then stops the server. Returns a flag indic...
Definition: ParallerJobDispatcherBase.cs:537
bool DerivativeDefined
Whether calculation of function derivative is implemented.
Definition: RealFunctionScriptLoader.cs:151
WaitDirectoryCreation(string filePath)
Definition: WaitConditionFile.cs:743
void AddNewLine()
Adds a newline to HTML.
Definition: HtmlWriter.cs:568
void Conversion_UsingBaseClassOperator_Works()
Definition: ReflectionTypeConverterTests.cs:118
virtual void UpdateAuxiliaryData()
Updates precalculated auxiliary data that are used for faster calculations.
Definition: ColorScale.cs:322
string ConditionExpression
For loopig and branching blocks, this property contains the condition expression of the block,...
Definition: CommandlineApplicationInterpreterBase.cs:1241
WaitCondition(int minSleepMs, double maxRelativeLatency)
Creates event waiter with properties initialized to specified values (or to default valuse for those ...
Definition: WaitCondition.cs:146
double a0
Returns the constant term coefficient of the cubic function.
Definition: FunctionRealInterpolation.cs:991
InputFieldDefinition GetOptimizationParameterDefinition(int id, string name)
Finds and returns the specified optimization parameter definition. GetDefinition
Definition: SimKosecFileManagerBase.cs:810
static byte[] GetRandomBytes(int numBytes)
Creates and returns an array of cryptographically strong random bytes of the specified size.
Definition: UtilCrypto.cs:329
virtual void SetDefaultReportLocationDlg()
Sets the error location assembling delegate to the default value. This default delegate does not util...
Definition: ReporterMsg.cs:1303
Matrix2d(double component)
Initializes 2D with the specified component.
Definition: Matrix2DClass.cs:84
void NotifyJobAborted()
Notifies this job data container that its job has been aborted.
Definition: ParallelJobContainerBase.cs:413
const string VarNameInverseDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: RealFunctionScriptLoader.cs:97
ReporterBase()
Constructor. Initializes all error reporting delegates to default values and sets auxliary object to ...
Definition: ReporterMsg.cs:1219
Data Transfer Object (DTO) for index lists of type IndexList. Used to store, transfer,...
Definition: IndexListDto.cs:27
static bool operator<=(xdouble a, xdouble b)
Definition: UtilMath.cs:1435
bool ComponentWiseEvaluation
Tells whether the function supports evaluation of individual components. If not then evaluation is pe...
Definition: FunctionVectorInt.cs:57
static void Copy(IVector a, IVector result)
Copies components of a vector to another vector. WARNING: dimensions of the copied vector and result ...
Definition: VectorBase.cs:1156
virtual IModelParameter< ValueType > UpdateValue(ValueType newValue)
Definition: ModelParameterTyped.cs:213
ParsableFromString(string parsedString)
Definition: ParsableFromString.cs:19
string KeyData
Keyword that introduces the sampled data.
Definition: SampledDataCsv.cs:430
bool _commandStopServing
Definition: ParallerJobDispatcherBase.cs:501
override void InitializeThis(string[] arguments)
Inializes the current script object.
Definition: LoadableScriptOpt.cs:348
string _valueDefinitionString
Definition: ScalarFunctionScriptBase.cs:91
void AsyncCallback(IAsyncResult asyncResult)
Definition: PortScanner.cs:177
virtual void RunJob()
Performs the job by the data contained in the current job container.
Definition: ParallelJobContainerGen.cs:266
ScalarFunctionQuadratic(IMatrix hessian, IVector gradient0, double scalarTerm)
Creation of a quadratic scalar function. WARNING: Matrix argument is interpreted as Hessian,...
Definition: FunctionScalarExamples.cs:327
IMatrix GetConstraintHessian(int which)
Returns Hessian of the specified constraint function.
Surface mesh in 3 dimensions.
Definition: Mesh.cs:154
void AlternateCreateRemoveExample()
Alternately creates and removes the specified file or directory in its own thread.
Definition: WaitConditionFile.cs:1252
vec2 rowy
Gets or sets the y-row of the 2D matrix.
Definition: Matrix2D.cs:471
static RealFunction GetReciprocal()
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:188
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:554
void Conversion_UsingInterfaceOperator_Ignored_WhenDisabled()
Definition: ReflectionTypeConverterTests.cs:134
const string ArgPasswordNumIterations
Specification that number of iterations used in key generation algorithm follows.
Definition: UtilCryptoAux.cs:419
abstract double Inverse(double y)
Returns Inverse of the current function applied to function argument. Throws an exception if the inve...
void LoadModule(string moduleName)
Loads and initializes the specified module.
int NumObjectives
Number of objective functions (usually 1, always less or equal to 1 - since this is not meant for mul...
Definition: AnalysisResultsDto.cs:70
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: OptimizationInputData.cs:27
static bool IsDouble(string str)
Returns a boolean value indicating whether the specified string is a valid representation of a number...
Definition: UtilString.cs:794
string RemovePipeServers(params string[] serverNames)
Removes the specified interpreter's named pipe servers. Servers are stopped and their pipes closed....
Definition: CommandlineApplicationInterpreter.cs:5421
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: OpenSquareBracketStrategy.cs:10
XmlNode NextNodeConditional(XmlNodeType NodeType, string NodeName, string NodeValue, bool IncludeCurrent)
Moves the current node to the first sibling node of the current node that satisfies the specified con...
Definition: XmlUtilities.cs:2079
const string FuncNameValueDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: ScalarFunctionScriptLoader.cs:101
bool IsDouble(int rowNumber, int columnNumber)
Returns a flag specified whether the specified element of the data table exists and represents a numb...
Definition: StringTable.cs:946
string DataDirectory
Directory for data and messages exchange through files.
Definition: NeuralFileManager.cs:72
int _numParameters
Definition: FunctonVectorResults.cs:90
int _numHiddenNeuronsThirdMax
Definition: NeuralTrainingParameters.cs:1857
LoadableScriptSpecialFunctionBase()
Definition: ScriptAppBase.cs:5276
XmlDocument Data
Definition: App.cs:683
double c
Definition: Function3d2d.cs:1664
General utilities.
Definition: Utils.cs:27
static EventLogEntryType ReportType2EventLogEntryType(ReportType rt)
Returns the System.Diagnostics.EventLogEntryType value corresponding to the given ReportType....
Definition: ReporterMsg.cs:2848
virtual string OutputDirpath
Path of the directory where output files are located. Setter takes only pure directory name,...
Definition: SimKosecFileManagerBase.cs:468
static bool _GlobalInitialized
Definition: ReporterMsg.cs:1549
Definition: Optimizer.cs:103
virtual bool CommandArgumentsInNewLines
Whether command arguments are listed in separate lines or not.
Definition: InterfaceInterpreterBase.cs:253
virtual bool HasDerivative
Definition: LissajousKnot3D.cs:71
static AsymmetricAlgorithm GetAsymmetricAlgorithm(AsymmetricAlgorithmType algorithmType, string containerName=null, string xmlString=null, CspProviderFlags flags=CspProviderFlags.NoFlags, string certificateFilePath=null, string certificateName=null, string certStore=null)
Creates (if necessary) and returns a new asymmetric algorithm whose keys are either created or obtain...
Definition: UtilCrypto.cs:4835
static string DefaultReportMessage_Trace(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Delegate for assembling a report message for this kind of report.
Definition: ReporterMsg.cs:5788
override void InitializeThis(string[] arguments)
Script initialization, defined just for formal reasons.
Definition: ScalarFunctionScriptBase.cs:36
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: ScalarFunctionScriptExample.cs:108
static readonly PhysicalConstant EarthRotationPeriod
Earth rotation period, 0.99726968 l = 23h 56min 4.1 result = 86164.1 result.
Definition: Constants.cs:1482
virtual bool ReqGradients
Indicates whether calculation of function gradients is/was requested.
Definition: FunctonVectorResults.cs:656
void CapturedVar_StaticVarType_WorksCorrectlyWithCastValueNull()
Definition: CapturedVarTests.cs:191
string MsgRequestBegin
Definition: IpcStreamClientServerBase.cs:512
int _outputLevel
Definition: UilCryptoAux1.cs:109
Blocking execution of the current thread until the specified directory begins to exist.
Definition: WaitConditionFile.cs:740
static void AddResolveFailed(ResolutionIdentity resId)
Definition: UtilSystem.cs:2727
static int SkipInteger(string str, int beginpos)
Returns index of the first character in str after the representation of an integer number....
Definition: StringParser0.cs:260
string TypeAssemblyQualifiedName
Assembly qualified name of the type of object whose data is contained by the current DTO.
Definition: SerializationDtoBase.cs:766
TimeSpan _ValidityPeriod
Definition: App.cs:714
const string CryptoHelpGetFileHash
Definition: ScriptAppBase.cs:1127
IGraphicSet GetChildSet(int i)
Returns the specified child graphic set contained in the current graphic set.
Definition: GraphicalObjectsBase.cs:44
static ColorRGBA CoolWarm(double u)
Definition: ColorMap.cs:65
override bool InverseDefined
Definition: FunctionRealInterpolation.cs:782
void Json_InitOnlyRecord_ShouldRoundTripCorrectly()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:127
bool CalculatedConstraints
Flag indicating whether calculation of constraint functions is required or not.
Definition: AnalysisResultsDto.cs:249
static string PasswordAlgorithmTypeToString(PasswordAlgorithmType passwordAlgorithmType)
Returns standard string representation of the specified password generation algoithm.
Definition: UtilCrypto.cs:181
int AlphaNum
Number of alpha values.
Definition: SerializationDtoNeural.cs:748
virtual double OutputBoundsSafetyFactor
Safety factor by which interval lenghts of output data bounds are enlarged after bounds are automatic...
Definition: NeuralApproximatorBase.cs:1653
virtual void AddEnterExitCommands_While(CommandStackFrame frame)
Adds block enter/exit commands for the "While" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:726
double double double z CurveCylindrical(double t)
virtual string CmdRunAsync(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs the specified command-line asynchronously.
Definition: CommandlineApplicationInterpreter.cs:4891
VectorDtoBase Parameters
Vector of parameters at which response functons are requested.
Definition: AnalysisResultsDto.cs:82
static void LoadJson(string filePath, ref ScalarFunctionScriptController controllerRestored, ref ScalarFunctionScriptDto dto)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: ScalarFunctionScriptController.cs:973
static double e
Natural logarithmic base.
Definition: UtilMath.cs:82
static string ToString(AsymmetricAlgorithm alg)
Creates and returns a string containing information about the specified RSA algorithm.
Definition: UtilCrypto.cs:4094
void FindFirstDataCell(out int row, out int column)
Finds the first data cell for data inroduced by a key, provided that the key that introduces the data...
Definition: SampledDataCsv.cs:2120
virtual void SetDimensions(int d1, int d2)
Sets all three dimensions of the current 2D structured field.
Definition: StructuredField2dGeneric.cs:190
IVector _parameters
Definition: FunctonVectorResults.cs:95
Memory representation of CSV data.
Definition: StringTable.cs:19
string HashValue
Hash value, usually used for checking consistency.
Definition: UilCryptoAux1.cs:279
int OutputLength
Number of output values in the data.
Definition: SampledDataCsv.cs:1040
Scalar functions of vector arguments, with eventual affine transformation of parameters....
Definition: FunctionScalarInt.cs:17
static bool IsInt(string str)
Returns a boolean value indicating whether the specified string is a valid representation of an integ...
Definition: UtilString.cs:763
vec3 Normalized1()
Returns normalized this 3D vector in 1 norm.
Definition: Matrix3D.cs:166
IVector _refGrad
Definition: FunctionScalarBase.cs:41
DateTime ExpireTime
Gets or sets the expiration time of the program. Property is automatically updated if the validity pe...
Definition: App.cs:1166
Definition: VectorFactory.cs:14
Matrix3d NormalizedEuclidean()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix3DClass.cs:633
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:895
static new SerializerJson Global
Gets a global helper object for JSON serialization.
Definition: SerializerJson.cs:44
XmlElement ParentElement
Definition: XmlUtilities.cs:1319
bool _runnable
Definition: LoadableScriptOpt.cs:313
void Serve()
Method executed in the queue server thread. Excecutes eventual enqueued jobs as job servers become id...
Definition: ParallerJobDispatcherBase.cs:694
override FunctionControllerType CreateObject()
Creates and returns a new vector of the specified type and dimension.
Definition: VectorFunctionDto.cs:156
Tests for type conversion utilities.
Definition: TypeConversionHelperTests_Obsolete.cs:17
string _functionArgumentHessianName
Definition: ScalarFunctionScriptLoader.cs:146
virtual void AppendValue(int value)
Appends an integer value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:501
bool IsGlobal
Gets a flag indicating whether the current variable is a global variable.
Definition: CommandlineApplicationInterpreterBase.cs:432
Definition: SampleClasses.cs:70
static bool DefaultIsKeysCaseSensitive
Default value for the flag indicating whether keys should be treated as case sensitive.
Definition: SampledDataCsv.cs:51
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:1085
static void SaveJson(NeuralTrainingParameters trainingParameters, string filePath, bool append)
Saves (serializes) the specified training parameters object to the specified JSON file.
Definition: NeuralTrainingParameters.cs:904
virtual void ReportInfo(string errorString)
Used in the current class to launch an informative message.
Definition: UilCryptoAux1.cs:52
object ConvertCollections(object value, Type sourceType, Type targetType, bool enableNullableHandling, bool enableCollectionConversion)
Definition: TypeConversionHelperObsolete.cs:108
string GetErrorsReport(bool printDecorations, bool newLinesAfter)
Returns a string that contains reports for all errors contained in the logger. If there are no logs t...
Definition: LoggerMsg.cs:537
virtual string[] FunctionNames
Names of function functions.
Definition: VectorFunctionScriptController.cs:414
BoundingBox(IVector coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1429
static int GetHashFunctionInt(object obj)
Returns an integer hash function of the specified object.
Definition: Utils.cs:215
int TextLoggerWriteLine(string str)
Similar to TextLoggerWrite(), except that a newline is added at the end of the string.
Definition: ReporterMsg.cs:5482
override bool DerivativeDefined
Definition: FunctionRealInterpolation.cs:670
bool IsForceDeletes
Definition: UilCryptoAux1.cs:431
bool IsTestMode
Whether the current job data conntainer is in test mode. In this mode, delays specified by internal v...
Definition: ParallelJobServerBase.cs:92
virtual double Norm1
Gets the one norm of the matrix, the maximum column sum of absolute values.
Definition: Matrix.cs:1067
readonly PPScopeState _scopeState
Definition: JsonPPStrategyContext.cs:35
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:178
virtual void SetConstraintHessians(List< IMatrix > values)
Sets constraint functios' Hessians. If CopyReferences=true (false by default) then only the list refe...
Definition: AnalysisResults.cs:742
string Attribute(string key)
Returns the value of the specified attribute of the current node. If the attribute does not exist the...
Definition: XmlUtilities.cs:1325
bool _calculatedObjectiveHessian
Definition: AnalysisResultsDto.cs:216
XmlNode Back()
Moves the current to the previous node, if that node exists. Only one step backwards is enabled.
Definition: XmlUtilities.cs:1869
string Name
Definition: SerializerBase.cs:625
void CapturedVar_StaticVarType_WorksCorrectlyWithoutStatingVariableTye()
Definition: CapturedVarTests.cs:38
void ImplicitConversion_FromCelsiusToDouble_Works()
Definition: ReflectionTypeConverterTests.cs:92
static VectorStore VectorStore
Gets the matrix store for recycling auxiliary matrices.
Definition: VectorBase.cs:920
string _originalDescription
Definition: NeuralMapData.cs:335
Func3dBaseNoHessian()
Definition: Function3d.cs:85
static IList< Assembly > GetLoadedAssemblies(IList< Assembly > assemblyList, bool clearBefore=true)
Adds all loaded assembly from the current application domain to the specified list,...
Definition: UtilSystem.cs:2300
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: NamedPipes_Copy.cs:630
IVector InitialGuess
Gets or sets initial guess used in optimization.
Definition: Optimizer.cs:272
virtual void Indices(int flatIndex, out int row, out int column)
Returns (through output arguments) row and column indices corresponding to the specified flat index i...
Definition: MatrixBase.cs:553
abstract PointContainerType CreatePointContainer(PointType point)
Creates and returns a new point container that wraps the specified point.
static void ArrayPower(IMatrix a, double power, IMatrix result)
Element-by-element raise to power. WARNING: dimensions of matrices must match, otherwise an exception...
Definition: MatrixBase.cs:2549
virtual void Add(params(string Key, ModelParameterType Parameter)[] keysAndParameters)
Adds the specified parameter objects to the currrent parameter set at the specified keys....
Definition: ModelParameterSetBase.cs:73
ExpressionEvaluatorCompiled()
Initializes ID and calls the main initialization method (which will typically be overridden in every ...
Definition: ExpressionEvaluatorCompiled.cs:28
Class representing a key-value pair where sorting can be performed both with respect to key and with ...
Definition: Utils.cs:3123
List< NeuralTrainingParameters > TrainingParameters
Contains Parameters that define neural network architecture and trainig procedure,...
Definition: NeuralTrainingParameters.cs:2639
bool _measureCpuTime
Definition: UtilTime.cs:123
static byte[] GetValidAsymmetricAlgorithmKey(byte[] key, AsymmetricAlgorithm algorithm, bool useLargestKey=false)
For the specified asymmetric encryption algorithm, this function takes the specified key and checks i...
Definition: UtilCrypto.cs:3913
bool SetTextLogger(Stream stream, bool writeintro)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:4899
virtual void WaitForConnection(NamedPipeServerStream pipe)
Waits until a client connects to the specified server pipe.
Definition: IpcNamedPipes.cs:205
bool _mathNetNumericsConsistent
Whetherr the Math.Net Matrix copy is consistent.
Definition: Matrix.cs:696
string ActiveVectorFieldName
Gets or sets name of the currently active vector field. This determines the currently active vector f...
Definition: UnstructuredMesh1dGeneric.cs:416
void initEscapeSequences()
Initializes data structures used for escape sequences.
Definition: StringParser.cs:211
IVector _errorsVerificationMeanAbs
Definition: NeuralTrainingParameters.cs:530
virtual string CmdRunSystem(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs the specified command-line by the operating system. The first argument is the command t...
Definition: CommandlineApplicationInterpreter.cs:4555
static string[][] StringJaggedArrayNonrectangular2x3
Sample 2D jagged array of strings (type string[][]), for use in tests. The array does not correspond ...
Definition: SampleCollections.cs:121
TVectorField AddVectorField(string fieldName, string fieldDescription)
Creates a new vector field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: StructuredMesh2dGeneric.cs:481
static int SkipInteger(string str, int beginpos, bool skipspaces)
Returns index of the first character in str after the representation of an integer number....
Definition: StringParser0.cs:247
double[] Max
Maximal values of coordinates.
Definition: BoundingBoxDto.cs:58
static int Combine< T1 >(T1 value1)
Definition: HashCodeHelper.cs:46
static string GetErorString(Exception e)
Returns an error string that concisely describes information contained in the specific exception (inc...
Definition: ReporterMsg.cs:6282
virtual IVector GetParameters()
Returns vector of optimization parameters.
Definition: FunctionScalarResults.cs:200
bool HessianDefined
Whether calculation of function Hessian is defined.
Definition: ScalarFunctionScriptLoader.cs:138
int NumParameters
Gets number of parameters that define the specific function out of parametric family of scalar functi...
Definition: FunctionScalarParametric.cs:35
Definition: SampleClasses.cs:147
Parsig data from character arrays. Provides various parsing and writing utilities on character buffer...
Definition: StringParser.cs:15
virtual void InitEnd()
Finalizing part of initialization. Auxiliary object is not affected because default delegates do not ...
Definition: ReporterMsg.cs:1343
override void CopyToPlain(ref IMatrix mat)
Copies data from the current DTO to a matrix object.
Definition: MatrixDto.cs:178
Func< object, object > FindOperatorMethod(Type definingType, Type sourceType, Type targetType)
Definition: ReflectionTypeConverter.cs:121
string[][] _hessianDefinitionStrings
Definition: ScalarFunctionScriptLoader.cs:156
static MatrixStore MatrixStore
Gets the matrix store for recycling auxiliary matrices.
Definition: MatrixBase.cs:806
override double f1(double u, double v)
Definition: Function3d2d.cs:1392
virtual XmlData Doc
Gets or sets the class' data storage. This is normally not accesst directly, but through s methods.
Definition: XmlUtilities.cs:42
IVector _outputMax
Definition: DistanceComparer.cs:422
static bool TestCsvStringConversion(string[][] values, string separator, bool printResults)
Tests conversion of a 2D jagged array of string values to a CSV formatted string and back....
Definition: UtilCsv.cs:454
NumberType AbsoluteSquare(NumberType a)
Returns square of the absolute value of a .Square of absolute value (magnitude) of a .
int NumHiddenNeuronsThirdMin
Minimum number of hidden neurons in third hidden layer.
Definition: SerializationDtoNeural.cs:848
static readonly PhysicalConstant FineStructureConstant
Fine-structure constant, a coupling constant characterizing the strength of the electromagnetic inter...
Definition: Constants.cs:548
TraceSwitch _LoggingSwitch
Definition: ReporterMsg.cs:2961
void NotifyServerIdle(ParallelJobServerBase< JobContainerType > server)
Notifies the current parallel job dispatcher that the specified server has become idle.
Definition: ParallerJobDispatcherBase.cs:856
void RemoveScalarField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh3dGeneric.cs:359
void ClearNeuralInputReady()
Clears the falg that indicates that the approximation input data is ready.
Definition: NeuralFileManager.cs:567
Implements blocking until the specified directory is deleted (becomes nonexistent)....
Definition: WaitConditionFile.cs:1507
string _msgFunctionInputReadyPath
Definition: NeuralFileManager.cs:866
override string ToString()
Returns a stirng containing the server data.
Definition: IpcNamedPipes.cs:345
virtual void AppendCommandArgumentVariableReference(string variableName)
Appends a variable reference to the current argument block.
Definition: InterfaceInterpreterBase.cs:558
static Matrix3d Diagonal(IVector diagonalVector)
Creates a new diagonal d1*d2 matrix based on the diagonal vector.
Definition: Matrix3DClass.cs:238
void Resize(int newCount, bool keepElements=false)
bool RemoveTextLogger(string filename)
Removes the first object from Loggers whose TextWriter has been created form the file with the specif...
Definition: ReporterMsg.cs:5263
CapturedVar(DeclaredType variable)
Definition: CapturedVar.cs:92
void ExpandOrShrinkInterval(double factor, double zeroIntervalLengthReplacemnt)
Symmetrically expands or shrinks the intervals between the bounds for all components for the specifie...
Definition: BoundingBox.cs:937
IVector Parameters
Parameters that define the specific function out of parametric familiy of functions.
Definition: FunctionRealParametric.cs:27
bool AsyncEndInvokeInCallback
Flag indicating whether Endinvoke must be called in the callback of asynchronous command calls.
Definition: CommandlineApplicationInterpreter.cs:2515
virtual bool IsViolated(int which, double equalityTolerance)
Returns true if the specified constraint is violated according to the current analysis results,...
Definition: AnalysisResults.cs:1324
static readonly PhysicalConstant h
hecto- (h), SI prefix for 10^2.
Definition: Constants.cs:646
bool _calculatedConstraintHessians
Definition: AnalysisResultsDto.cs:218
TrackedThread(ThreadStart start)
Creates a new tracked thread with the specified thread start delegate.
Definition: TracedThread.cs:42
void Log(ReportType messagetype, string message, Exception ex)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:622
static string DefaultPipeName
Default pipe name.
Definition: ClientServerStreamBase2_Copy.cs:38
bool MoveNext()
Definition: VectorBase.cs:169
Key generation algorithm that uses a Rfc2898DeriveBytes object (PBKDF2 algorithm).
Definition: UtilCryptoAux.cs:884
List< int > _epochNumbers
Definition: NeuralApproximatorBase.cs:618
int NumEqualityConstraints
Number of equality constraints.
Definition: Optimizer.cs:48
static SampledDataSet CreateExampleQuadratic(int inputLength, int outputLength, int numElements)
Craates and returns a sample data set object where input parameters are calculated randomly in a box-...
Definition: SampledData.cs:2565
override void PrepareNetwork()
Prepares neural network for use. If networks have not yet been created accordinfg to internal data,...
Definition: NeuralApproximatorAforgeFake.cs:55
override void CopyFromPlain(VectorFunctionScriptController functionController)
Copies data to the current DTO from a scaalr function object.
Definition: VectorFunctionDto.cs:175
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
Definition: MatrixDecompositions.cs:661
int Dim2
Returns the second dimenson of the structured mesh (number of mesh points in the second direction).
Definition: StructuredField3dGeneric.cs:182
double Zero3
Returns the third zero of the current cubic function. Throws InvalidOperationException if the functio...
Definition: FunctionRealInterpolation.cs:1202
string Code
Generated script code.
Definition: ScalarFunctionScriptLoader.cs:499
CodeBlockType
Represents type of the interpretation block for which a stack frame exists on command thread.
Definition: CommandlineApplicationInterpreterBase.cs:364
override void NextBytes(byte[] buffer)
Fills the elements of a specified array of bytes with random numbers.
Definition: Random.cs:450
static string _defaultPipeName
Definition: ClientServerStreamBase2_Copy.cs:34
abstract void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
virtual string VariableReferenceEnd
String that ends a code block in interpreted files.
Definition: InterfaceInterpreterBase.cs:296
const string KeyTextWriterAppend
Definition: ReporterMsg.cs:2314
static char _resourceSeparator
Definition: UtilSystem.cs:3576
byte[] GetPasswordBytes()
If the generator has public parameters (flag IsParametersPublic) then the password in form of a byte ...
Definition: UtilCryptoAux.cs:789
virtual ValueType DefaultValue
Definition: ModelParameterTyped.cs:95
int Index
Idex of the current sampled data element in arrays or list (or in SampledDataSet objects),...
Definition: SampledData.cs:41
override string Execute(string inputCode)
Executes the specified code and returns the result. Throws exception if errors occur when interpretin...
Definition: ExpressionEvaluatorJint.cs:172
virtual bool TryConvert(object source, out object target)
Converts the value source of type SourceType to a value of type TargetType and stores the converted ...
Definition: SingleTypeConverterBaseGeneric.cs:42
ResultType RunJob(InputType input)
Calculates and results of the job corresponding to the current job container, based on the specified ...
Definition: ParallelJobContainerGen.cs:325
double dd
Definition: FunctionRealPenalty.cs:169
static double ScalarProductPlain(IVector a, IVector b)
Scalar product of teo vectors. This is a plain version of the method that does not perform any consis...
Definition: VectorBase.cs:1874
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealBasic.cs:126
const string AssemblyResources
Definition: ScriptAppBase.cs:3986
bool TreatWarning
Returns a boolean value indicating whether warnings are treated by the reporter in its current state.
Definition: ReporterMsg.cs:912
Position mark in the XML document
Definition: XmlUtilities.cs:1642
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
GrPrimitiveSettings _settings
Definition: GrObjects.cs:259
ILogger CreateLogger(string categoryName)
const int MinSaltLength
Minimal salt length for encryption.
Definition: UtilCryptoAux.cs:264
IGraphicSet Parent
Definition: GraphicalObjectsBase.cs:28
XmlNode GetNextOrCurrentElement(string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1614
ApplicationCommandlineBase()
Constructor.
Definition: ApplicationCommandLineBase.cs:19
const string ArgAlgorithmType
Specification of algorithm type follows.
Definition: UtilCryptoAux.cs:329
double a
Definition: Function3d2d.cs:917
override void CopyFromPlain(INeuralApproximator obj)
Definition: SerializationDtoNeuralApproximator.cs:590
ReflectionTypeConverterTests(ITestOutputHelper output)
Definition: ReflectionTypeConverterTests.cs:26
double GetMaximalResidual()
Returns sum of constraint function values corresponding to violated constraints in the current analys...
static readonly PhysicalConstant da
deca- (da), SI prefix for 10^1.
Definition: Constants.cs:638
double _outputBoundSafetyFactor
Gets or sets output safety factor.
Definition: NeuralTrainingParameters.cs:139
override void GetInputParametersManual(ref IVector inputParameters)
Gets the current values of input parameters form the input file. This method must be overridden in de...
Definition: SimKosecFileManager.cs:396
override double NormEuclidean
Gets the Forbenius norm of the matrix, the square root of sum of squares of all elements.
Definition: Matrix.cs:1049
int Id
Gets unique ID of the current interpreter. Command Id is unique across all objects of this type and d...
Definition: UtilIdRegistration.cs:122
int _topFrameIndex
Definition: CommandlineApplicationInterpreterBase.cs:1758
Vector2d(double[] components)
Constructs a vector from a 1-D array.
Definition: Vector2Dclass.cs:223
virtual bool CansetBarrierHeight(int which)
Returns a flag that tells whether characteristic barrier height can be set for the penalty function o...
Definition: AnalysisResults.cs:2560
List< string > _keywords
Definition: HtmlWriter.cs:225
void GetDoubleSafe(int rowNumber, int columnNumber, out double value, out bool isElementDefined, out bool isElementNotNullOrEmpty, out bool isDouble)
Safely gets the numerical value (of type double) at the specified position of the data table,...
Definition: StringTable.cs:1055
static void ExampleCopyDir()
Examp
Definition: UtilSystem.cs:5455
virtual bool IsDefaultWhenValueNotDefined
Definition: ModelParameter.cs:206
Func3dLinear(vec3 gradient0, double scalarTerm)
Creation of a linear 3D scalar function.
Definition: Function3d.cs:481
override void CalculateOutput(IVector input, int[] indices, ref IVector filteredOutput)
Calculates and returns the required output values corresponding to the specified inputs,...
Definition: NeuralApproximatorBase.cs:2836
virtual void PrintCompleteCode()
Prints the complete code that has been input up to now to the console.
Definition: ExpressionEvaluatorCompiled.cs:427
bool IsNamesSynchronized
Definition: VectorFunctionScriptController.cs:313
const string IGLibAuthor
Definition: Utils.cs:3110
static readonly PhysicalConstant mile
Nautical mile, non-SI unit of length, mile = 1852 numrows. Use is not encouraged.
Definition: Constants.cs:1223
object Obj
Auxiliary object used by the delegates that perform error reporting. The object is used to provide ad...
Definition: ReporterMsg.cs:3052
static int GetHashCode(IMatrix mat)
Returns hash code of the specified matrix.
Definition: MatrixBase.cs:4756
vec3 Gradient0
Vector of linear coefficients (equal to gradient of the function).
Definition: Function3d.cs:501
void AddIndexField(TIndexField field, string name)
Adds the specified index field to the collection of index fields under the specified name.
Definition: StructuredMesh3dGeneric.cs:188
override string ToString()
Definition: ModelParameterTyped.cs:237
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
void AddIdleServer(ParallelJobServerBase< JobContainerType > server)
Adds the specified parallel job server to the idle list.
Definition: ParallerJobDispatcherBase.cs:126
int CertificateStoreLocation
Location of the certificate store (usually used to filter certificate stores).
Definition: UilCryptoAux1.cs:250
void AllocateVertexColors()
Allocate space for VertexColors, if not yet allocated, according to mesh sizes (NumPoints1 and NumPoi...
Definition: StructuredSurfaceMesh3D.cs:102
static double IntegralSimpson(DlgFunctionValue f, double from, double to, int numintervals)
Returns numerical integral of a function calculated by the composite Simpson's rule....
Definition: FunctionNumeric.cs:26
Definition: ColorScale.cs:428
Base class for input or output data element mapping definition.
Definition: NeuralMapData.cs:256
TrackedThread(ParameterizedThreadStart start)
Creates a new tracked thread with the specified parameterized thread start delegate.
Definition: TracedThread.cs:30
Vector GetNewVectorThis(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: Matrix.cs:851
void SetPoints(params IPointContainer< PointType >[] points)
Sets the points to be contained in the current point cloud to the specified set of points that are em...
Definition: PointCloud.cs:168
string _independentVariableName
Definition: RealFunctionScriptLoader.cs:169
override void Run(string[] args)
Entry method of the application.
Definition: ApplicationIgShellBase.cs:23
static IdGenerator _idGenerator
Static object that generates IDs for this class:
Definition: UtilIdRegistration.cs:263
UnstructuredMesh2d(int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy)
Constructs a (unconnected) unstructured grid based on 2D regular grid with grid direction parallel to...
Definition: UnstructuredMesh2d.cs:69
virtual bool HessianDefined
Whether calculation of function Hessian is defined. Default is false.
Definition: Function2d.cs:682
int RowCount
Gets the number of rows.
Definition: MatrixBase.cs:33
static RealFunction GetWeightPol7(double Kx, double Sx)
Creates and returns a new real polynomial weighting function object based on 7th order polynomial....
Definition: FunctionRealWeight.cs:1018
static int ReadInteger(ref int number, string str, int startpos)
Reads an integer from a string, starting at a specified position and skipping eventual leading spaces...
Definition: StringParser0.cs:83
double Phi
Gets the argument of the current complex number. This is the angle parameter of the polar coordinates...
Definition: Complex.cs:203
static string GetHashSha1Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA1 hash string of the specified stream.
Definition: UtilCrypto.cs:1287
static string PrettyPrintJson(this string unprettyJson)
Definition: JsonPrettyPrinter.cs:11
static Counter Zero
Returns a counter with value 0.
Definition: Scalar.cs:419
double MaxX
Domain upper bound in X direction.
Definition: SimKosecFileManager.cs:82
List< CommandMethod > AppFileMethods
List of methods used to perform file commmands.
Definition: ScriptAppBase.cs:730
static string GetApplicationInfo(int infoLevel=3, bool includeIglibInfo=true, int versionLevel=2, IList< Assembly > additionalAssemblies=null)
Returns a (possibly multiline) string containing basic information about the current application,...
Definition: UtilSystem.cs:3333
virtual string SetVariableValue(CommandThread cmdThread, string varName, string value)
Sets the specified variable to the specified value.
Definition: CommandlineApplicationInterpreter.cs:558
static double LdltDeterminant(IMatrix ldltMatrix)
Calculates and returns determinant of a square symmetric matrix form its specified LDLT decomposition...
Definition: MatrixBase.cs:6233
StructuredMesh2d()
Constructs a new empty 2D field (no elements contained) with no name and no description.
Definition: StructuredMesh2dGeneric.cs:33
virtual void Run(string[] args)
Runs the application.
Definition: App.cs:301
virtual double[] GetParameters()
Returns parameters of the current parametric function as an array.
Definition: FunctionScalarRadial.cs:497
static bool DefaultIsMultilineResponse
Default pipe name.
Definition: IpcStreamClientServerBase.cs:731
virtual void ResetCommands()
Definition: InterfaceInterpreterBase.cs:338
string _neuralInputXmlPath
Definition: NeuralFileManager.cs:142
bool DisposeWriter
Definition: ReporterMsg.cs:3980
const string AssemblyHelpResources1
Definition: ScriptAppBase.cs:3997
color Scale(color[] colors, double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (within the specified range) where color scale b...
Definition: Color.cs:531
string _packageName
Definition: ExpressionEvaluatorCompiled.cs:80
const string ArgCertificatePassword
Specification that certificate password (for access to private key) follows.
Definition: UtilCryptoAux.cs:384
bool CalculatedHessians
Indicates whether calculation of functions' Hessian is/was requested.
Definition: VectorFunctionResultsDto.cs:159
static void MapCoordinates(StructuredField3d< vec3 > referenceField, StructuredField3d< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 3D structured grid for a parametric volume from a reference grid according...
Definition: StructuredField3dGeneric.cs:284
static string DefaultResponseEnd
Default string (line) that ends any multiline response.
Definition: ClientServerStreamBase2_Copy.cs:84
void Register()
Registers the current object. Subsequent calls (after the first one) have no effect.
Definition: ExpressionEvaluatorJs.cs:467
virtual double[] GetNodeTable()
Returns a table containing 1D node positions. A copy of list of node positions is always created and ...
Definition: GridGenerator1dBase.cs:930
IVector GetCopy()
Returns a deep copy of the current object.
ScriptLoaderBase _scriptLoader
Definition: LoadableScriptInterpreter.cs:53
abstract object Convert(object source)
Transfer Object (DTO) for neural network training limits.
Definition: SerializationDtoNeural.cs:722
void Evaluate(IVectorFunctionResults evaluationData)
Performs evaluation of requested vector function results and writes them to the provided data structu...
virtual string CmdTestSpeedLong(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for TestSpeedLong command, performs a longer test of speed of numerical computation...
Definition: CommandlineApplicationInterpreter.cs:6595
void GetAppSetting(string reportername, string keyroot, ref int value, out bool assigned)
Reads an integer value from the application configuration file (e.g. app.config) and assigns it to th...
Definition: ReporterMsg.cs:2118
static string FindClassName(string code)
Finds and returns the name of the first class that is defined in the specified C# code block....
Definition: Loader.cs:590
static void Negate(IVector a, IVector result)
Stores a negative vector of the specified vector to another vector. WARNING: dimensions of the copied...
Definition: VectorBase.cs:1318
void CircularReference_ShouldThrowWithoutReferenceHandler()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:41
bool HasDerivative
Definition: Sphere.cs:58
static int SetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm)
On the specified symmetric encryption algorythm, sets the largest possible key size,...
Definition: UtilCrypto.cs:1891
Vector3d Multiply(double k)
Returns the current vector multiplied by the specified scalar.
Definition: Vector3Dclass.cs:463
virtual int NumParameters
Number of parameters.
Definition: Analysis.cs:93
static SampledDataSet CreateExampleLinear(int inputLength, int outputLength, int numElements, IBoundingBox region, IRandomGenerator rand)
Craates and returns a sample data set object where input parameters are calculated randomly in the sp...
Definition: SampledData.cs:2536
IVector Min
Gets or sets the vector of minimal co-ordinates of the bounding box.
Definition: BoundingBox.cs:51
bool SetTextLogger(Stream stream)
Creates a TextWriter upon the stream and sets it as the text writer to which reporting is also perfor...
Definition: ReporterMsg.cs:4883
static double SecondDerivative5Point(DlgFunctionValue f, double x, double h)
Calculates the second order derivative of a function with a 5 point formula. Error is O(h^4).
Definition: FunctionNumeric.cs:274
static double SecondDerivativeCD(DlgFunctionValue f, double x, double step)
Calculates numerical second derivative of a function according to the central difference formula....
Definition: FunctionNumeric.cs:264
virtual IAnalysisResults BestGuess
The best results so far.
Definition: OptimizationResults.cs:169
static string FindNameAfterKeyword(string code, string keyword, string allowedCharacters)
In the specified string, finds a name that follows the specified keyword, and returns it....
Definition: Loader.cs:533
void AddIndexField(TIndexField field)
Adds the specified index field to the collection of index fields.
Definition: StructuredMesh3dGeneric.cs:199
static string ToStringList(List< DataColumnDefinition > list)
Returns string representation of a list of data column definitions.
Definition: SampledDataCsv.cs:1178
void RecalculateDataBounds()
Recalculates input and output data bounds by taking into account the training data set of the current...
Definition: NeuralApproximatorBase.cs:1754
IRealFunctionParametric _functionParametric
Definition: FunctionScalarRadial.cs:442
static bool _isScriptingInitialized
Definition: Loader.cs:109
abstract StreamReader InputStream
Input stream writer of the server's named pipe.
Definition: IpcStreamClientServerBase2.cs:105
Converts values (objects) of a specific type (TSource ) to their string representation....
Definition: ITypeToStringConverters.cs:15
override double f1(double u, double v)
Definition: Function3d2d.cs:919
Extended color representation. Stores RGB components and opacity as double numbers ranging fom 0 to 1...
Definition: Color.cs:22
vec3 Cross(vec3 v2)
Definition: vec3.cs:41
bool IsJobCompleted
Flag indicating whether a job has finished.
Definition: ParallelJobContainerBase.cs:78
Definition: SampleClasses.cs:329
Definition: ReflectionTypeConverterTests.cs:180
static void EncryptFileBasic(string inputFilePath, string outputFilePath, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the data from the specified input file by a symmetric encryption algorithm and writes encryp...
Definition: UtilCrypto.cs:2175
bool IsExportPrivateKey
Whether private key is also exported or printed.
Definition: UilCryptoAux1.cs:176
bool UseTextLogger
Gets or sets the flag specifying whether reporting using a text writer is performed or not.
Definition: ReporterMsg.cs:4790
TVectorField GetVectorField(string name)
Returns vector field with the specified name.
Definition: StructuredMesh3dGeneric.cs:440
Base class for neural network approximators.
Definition: NeuralApproximatorBase.cs:531
MatrixDtoBase[] _constraintHessians
Definition: AnalysisResultsDto.cs:231
TIndexField GetIndexField(int index)
Returns the index field with the specified index.
Definition: StructuredMesh3dGeneric.cs:138
override TField CreateField(int numElements, string name, string description)
Call to this method is invalid for the current type. Call the method with three dimensions instead.
Definition: FieldCollectionGeneric.cs:28
static string UserName
Gets name of the current user.
Definition: UtilSystem.cs:127
SortedList< string, IpcStreamClientBase > IpcClients
Array of registered pipe clients, accessible through client name.
Definition: CommandlineApplicationInterpreter.cs:5377
virtual void WriteDocumentTitle()
Adds the title meta tag to the document.
Definition: HtmlWriter.cs:299
virtual bool IsAt(int position, Func< IEnumerable< CharType >, bool > stringMatcher, int stringLength)
Definition: ParsableBase.cs:116
double CoordinateLast
Gets or sets coordinate of the last generated node (usually the maximal generated coordinate).
Definition: GridGenerator1dBase.cs:27
void GetAppSetting(string reportername, string keyroot, ref List< char > value, out bool assigned)
Reads a list of characters from the application configuration file (e.g. app.config) and assigns it t...
Definition: ReporterMsg.cs:2095
override double f2(double u, double v)
Definition: Function3d2d.cs:1334
Server that creates a named pipe, listens on its input stream, and sends responses to the client.
Definition: IpcNamedPipes.cs:28
int[] NumHiddenNeuronsFirstValues
Values for number of hidden neurons in the first hidden layer.
Definition: SerializationDtoNeural.cs:836
double NormP(double p)
p-norm, p-th root of sum of absolute values of components raised to the power of p.
static double ceil(double a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:152
AsymmetricAlgorithmType _asymAlgorithmType
Definition: UilCryptoAux1.cs:184
override int RowCount
Gets the first dimension (number of rows) of the matrix.
Definition: Matrix.cs:554
bool ContainsCommand(string commandName)
Returns true if the specified command is installed on the interpreter, false if not.
Definition: CommandlineApplicationInterpreter.cs:1618
virtual void AddDefaultAssemblies()
Adds assemblies to be automatically referenced by loaded scripts.
Definition: ApplicationCommandLineBase.cs:199
override string ToString()
Returns a stirng containing the server data.
Definition: IpcNamedPipes.cs:761
static bool TryParseDefault< T >(string inputString, out T result)
Tries to parse an object of the specified type T and store it to the provided reference.
Definition: IParserHelper.cs:58
string PipeName
Definition: IpcNamedPipes.cs:91
static void FromByteArray(byte[] bytes, out UInt32 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2160
Interface for interpreters that can install commands from loadable scripts and run them.
Definition: LoadableScriptInterpreter.cs:16
int MaxEpochs
Maximal number of epochs in training.
Definition: NeuralApproximatorBase.cs:884
void SpeedTestInfo_TwoParameterConstructorWorksCorrectly()
Definition: UtilSpeedTestingTests.cs:48
static string GetStringHashSha256Hex(string stringToHash)
Computes and returns the SHA256 hash string of the specified string.
Definition: UtilCrypto.cs:834
static Scalar operator*(Scalar a, Scalar b)
Definition: Scalar.cs:159
Function f(x, y, z) = x * y * z.
Definition: Function3d.cs:650
static void SaveJson(INeuralApproximator approximator, string filePath, bool saveInternalState)
Saves a neural network approximator to a file.
Definition: NeuralApproximatorBase.cs:2923
bool HasDerivativePolar
Whether the derivative CurveDerivativePolar(double) is defined or not. If false then CurveDerivativeP...
Definition: ICurve2DPolarParameterization3D.cs:21
override VectorBase GetNewBase()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector2Dclass.cs:111
Complex Cosh()
Definition: Complex.cs:800
Contains a number of example 3D vector functions of 2 variables.
Definition: Function3d2d.cs:703
BoundingBoxDtoBase(int dimension)
Constructor, prepares the current DTO for storing a vector of the specified dimension.
Definition: BoundingBoxDto.cs:41
vec3 Color
Light color (RGB values between 0 and 1).
Definition: LightingDefinition_05.cs:29
virtual double TestComputationalTimesLU(int numEq, int outLevel)
Test of LU decomposition.
Definition: CommandlineApplicationInterpreter.cs:6776
virtual InputOutputDataDefinitonDto ZDataDefinition
Definition: ScalarFunctionDto.cs:110
static string GetCurrentProcessExecutableWithoutExtension()
Returns name of the executable file (with extension) for the current process.
Definition: UtilSystem.cs:566
KeyValueSortable(Tkey key, Tvalue value)
Definition: Utils.cs:3133
bool HasMaximum
Returns true if this cubic function has a strict maximum.
Definition: FunctionRealInterpolation.cs:1299
Definition: GrObjects.cs:455
virtual IAnalysisResults Results
Optimization results.
Definition: OptimizationResults.cs:119
int MappedElementIndex
Definition: NeuralMapData.cs:37
void RecalculateOutputDataBounds(SampledDataSet trainingData)
Recalculates output data bounds by taking into account the specified training data set.
Definition: NeuralApproximatorBase.cs:1785
static SampledDataSet CreateExampleQuadratic(int inputLength, int outputLength, int numElements, IBoundingBox region, IRandomGenerator rand)
Craates and returns a sample data set object where input parameters are calculated randomly in the sp...
Definition: SampledData.cs:2595
const new string ConstHelpMyTest
Definition: ScriptAppBase.cs:321
double GetMax(int which)
Returns the upper bound on the specified co-ordinate component of the bounding box.
static void SaveJson(ScalarFunctionScriptController functionController, string filePath, InputOutputDataDefiniton dataDefinition)
Saves (serializes) the specified script-based scalar function controller to the specified JSON file....
Definition: ScalarFunctionScriptController.cs:924
XmlNode RemoveCurrent()
Removes the current node and returns the removed node or null if the operation does not succeed....
Definition: XmlUtilities.cs:2598
Definition: IGLibCoreReflectionTests.cs:13
int MaxEpochs
Maximum number of epochs performed in training.
Definition: NeuralTrainingParameters.cs:1452
static bool IsAscii(char ch)
Returns true if the specified character is an ASCII characters, and false otherwise.
Definition: UtilString.cs:565
AnalysisResults(bool reqGradients)
1 parameter, no constraints, 1 objective function.
Definition: AnalysisResults.cs:133
bool _determinantCalculated
Definition: MatrixDecompositions.cs:440
void NotifyJobStarted()
Notifies all interested objects that the job has started.
Definition: ParallelJobServerBase.cs:184
void RemoveTensorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh3dGeneric.cs:665
Sorted list of unique items. It is guaranteed that at all times the list of containing items is sorte...
Definition: SortedUniqueItemList.cs:17
double c
Half axis of the ellipsoid in the z direction. Default is cDefault.
Definition: Ellipsoid.cs:45
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntIListToIntArrayObjectToIntList()
Definition: CollectionTypeConverterTests .cs:159
IVector ToleranceMax
Tolerance on maximal error of output over training points. Training will continue until error becomes...
Definition: NeuralTrainingParameters.cs:289
CapturedVarTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: CapturedVarTests.cs:32
string CertificatePath
Path to the certificate file (e.g. for obtaining asymmetric keys).
Definition: UilCryptoAux1.cs:233
virtual void AfterOptimization()
Auxiliary housekeeping method that should be called at the end of Optimize.
Definition: Optimizer.cs:180
TTensorField AddTensorField(string fieldName, string fieldDescription)
Creates a new tensor field of dimensions that match dimensions of the current 1D structuredmesh,...
Definition: UnstructuredMesh1dGeneric.cs:629
AlignmentVertical Vertical
Vertical Alignment.
Definition: Alignment.cs:65
void ClearWriter()
Definition: ReporterMsg.cs:3596
static Vector _parAux
Auxiliary vector whose only function is to enable calling base constructors with parameters specified...
Definition: FunctionScalarRadial.cs:217
string _objectName
Definition: SerializerBase.cs:733
ValueType DefaultValue
Typed default value of the parameter.
Definition: IModelParameter.cs:16
A data transfer object (DTO) for the NeuralApproximatorAforge class. $A Igor Mar11;
Definition: SerializationDtoNeuralApproximator.cs:574
void RemoveCommand(string commandName)
Removes the specified command reference from the interpreter.
Definition: InterpreterCommandLine.cs:279
XmlNode BackToMark(string name)
Restores the parser state to the state contained in the last mark with the specified name,...
Definition: XmlUtilities.cs:1801
XmlNode GetNextNode(XmlNodeType NodeType, string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1497
static color Mixture(bool clipComponents, double weight1, color color1, double weight2, color color2)
Returns additive mixture (linear combination) of two colors.
Definition: Color.cs:392
virtual void UpdateOptimizationParametersDefined(IVector parameters)
Updates simulation inputs according to the values of input (optimization) parameters for those parame...
Definition: SimKosecFileManagerBase.cs:872
int _IndentSpacing
Definition: ReporterMsg.cs:2481
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArrayToStringListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:194
abstract double Value3(double x, double y)
Calculates and returns value of the third component of the current function.
string _description
Definition: FunctionReal.cs:178
double MaxX
Gets the upper bound in the first coordinate.
Definition: BoundingBox.cs:1571
CollectionTypeConverterTests_DifferentElementTests(ITestOutputHelper output)
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:26
double EndParameter
Definition: SquareKnot3D.cs:55
WeightPol7(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:1047
List< double > GetNodeList()
Returns a list containing 1D node positions. A copy of list of node positions is always created and r...
const string FileCurrentDirectory
Definition: ScriptAppBase.cs:931
bool _reqObjectiveHessian
Definition: AnalysisResults.cs:220
vec2 columny
Gets or sets the y-column of the 2D matrix.
Definition: Matrix2D.cs:485
bool _calculatedObjectiveGradient
Definition: AnalysisResultsDto.cs:212
static object _lockIdCommandLine
Definition: CommandlineApplicationInterpreterBase.cs:111
static double Pow2(double x)
Square.
Definition: UtilMath.cs:1077
string GetHashFunctionString()
Returns a string valued hash function of the current matrix object.
Definition: MatrixBase.cs:785
int NumValues
Gets number of values of the current vector function (-1 for not defined, e.g. in case that function ...
Definition: FunctionVectorInt.cs:44
static ColorScale CreateBlueGreenRed(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that runs from blue through green till red color.
Definition: ColorScale.cs:1011
static string DefaultKeyTitles
Default key for introduction of titles of input and output data elements.
Definition: SampledDataCsv.cs:160
static double Pow5(double x)
5th power.
Definition: UtilMath.cs:1086
static bool IsSymmetric(IMatrix mat, double relativeRMSTolerance)
Returns true if the specified matrix is symmetric within some tolerance, and false if not....
Definition: MatrixBase.cs:1356
double YX
YX component.
Definition: Matrix3DClass.cs:323
string NeuralApproximatorType
Gets string representation of type of the current object. This is used e.g. in deserialization in ord...
Definition: NeuralApproximatorBase.cs:1291
VectorBase(IVector< ElementType > otherVector)
Definition: VectorBase.cs:69
virtual void SetGradient(int which, IVector value)
Sets the specified function gradient. If CopyReferences=true (false by default) then only the referen...
Definition: FunctonVectorResults.cs:385
ComplexVector()
Only to support serialization / deserialization.
Definition: ComplexVector.cs:23
override bool ValueDefined
Definition: FunctionRealBasic.cs:554
static ColorRGBA Rainbow(double u)
Definition: ColorMap.cs:39
Definition: NeuralMapData.cs:955
bool SetTextLogger(TextWriter writer, bool writeintro)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4853
Matrix GetNewMatrixThis()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector.cs:518
virtual int Index(int row, int column)
Calculates and returns flat index corresponding to the specified row and column indices of the curren...
Definition: MatrixBase.cs:514
bool IsKeyDescriptions(string str)
Whether the specified string is a keyword introducing variable descriptions.
Definition: SampledDataCsv.cs:646
void AllocateNodes()
Allocate space for Vertices, if not yet allocated, according to mesh sizes (NumPoints1 and NumPoints2...
Definition: StructuredSurfaceMesh3D.cs:71
virtual void ClientReadNeuralOutput(ref IVector outputValues)
Client reads the results of neural network-based approximation (output values). Messages are set and ...
Definition: NeuralFileManager.cs:698
string IndependentVariableBaseName
Base name from which names of individual components of independent variables (names of parameters use...
Definition: ScalarFunctionScriptLoader.cs:393
Client to the interpreter pipe server (classes derived from InterpreterPipeServer).
Definition: CommandlineApplicationInterpreter.cs:5216
TubularSurfaceExportExamplesTests(ITestOutputHelper output)
Calling base constructor initializes things like Output property to write on tests' output.
Definition: TubularSurfaceExportExamplesTests.cs:32
static double trunc(double a)
Calculates the integral part of a specified number.
Definition: UtilMath.cs:160
TextWriter Writer
Definition: ReporterMsg.cs:3979
SimpleFunctionDelegate< InputType, ResultType > _evaluationDelegate
Definition: ParallelJobContainerGen.cs:191
double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
double NumericalSecondDerivative(double x, double stepsize)
Calculates numerical second order derivative of this function. Central difference formula is used.
bool _isNamesSynchronized
Definition: VectorFunctionScriptController.cs:310
static void MultiplyMatTranspMat(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B^T*C. Multiplies three matrices (first argument, transposed second argument, and third argument)...
Definition: MatrixBase.cs:3759
string _keyElementTypeInput
Definition: SampledDataCsv.cs:450
readonly ConcurrentDictionary<(Type SourceType, Type TargetType), MethodInfo > _castMethodCache
Used to cache MethodInfo objects used for type conversions.
Definition: TypeConversionHelperObsolete.cs:30
virtual void AllocateComponents(int rowCnt, int columnCnt)
Allocates the array that stores matrix elements.
Definition: MatrixDto.cs:63
static Counter One
Returns a counter with value 1.
Definition: Scalar.cs:416
StructuredMesh2d(int dim1, int dim2, string fieldName)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2dGeneric.cs:52
void Read(string name)
Reads 2D vector components from a console.
Definition: Matrix2D.cs:333
static void AntisymmetricPart(IMatrix a, IMatrix result)
Stores antisymmetric part of a square matrix operand in another matrix. Antisymmetrization is perform...
Definition: MatrixBase.cs:2194
int _pos
Definition: StringParser.cs:65
virtual string DataStructuresFunctionTestCsvWriteDefinitionAndData(string appName, string[] args)
Executes embedded application - test of writing sampled data definition and data in CSV format.
Definition: ScriptAppBase1.cs:105
virtual void AddEnterExitCommands_Block(CommandStackFrame frame)
Adds block enter/exit commands for the "Block" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:661
virtual TCoord[] Coordinates
Array of coordinates.
Definition: StructuredField3dGeneric.cs:57
virtual IWaitFileEvent Removal
Definition: WaitConditionFile.cs:1140
void ClearRow(int rowNum)
Clears the specified row in the data table.
Definition: StringTable.cs:626
readonly object _lock
Definition: StringTable.cs:57
byte[] _keyBytes
Definition: UilCryptoAux1.cs:333
void Conversion_UsingInterfaceOperator_Works_WhenAllowed()
Definition: ReflectionTypeConverterTests.cs:126
bool IsGlobal
Indicates whether the current reporter is used as a global reporter or not.
Definition: ReporterMsg.cs:2473
InterpreterPipeClient(string pipeName, string serverAddress, string requestEnd, string responseEnd, string errorBegin)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: CommandlineApplicationInterpreter.cs:5245
string _serverAddress
Definition: NamedPipes_Copy.cs:482
VectorDtoBase[] Gradients
Definition: VectorFunctionResultsDto.cs:163
const string AnOutJsonFilename
Default file name of analysis output file in JSON format.
Definition: OptFileConst.cs:41
static xdouble arctg(xdouble a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1638
Func2dBase Component3
Returns the scalar function that represents the third component of the current 3D vector function of ...
Definition: Function3d2d.cs:149
static vec3 Cross(vec3 a, vec3 b)
static void Negate(Vector2d v, ref Vector2d res)
Negates the specified vector and stores its copy in the resulting vector.
Definition: Vector2Dclass.cs:474
static Module Get()
Initializes global application data for the current class of application.
Definition: App.cs:70
void ModelParameter_CreationWithNameAndType_NameAndTypeAreCorrect()
Definition: ModelParameterTests.cs:47
Base class for parameterized scalar functions with affine transformation of co-ordinates....
Definition: FunctionScalarParametric.cs:277
static void LoadSampledDataCSVinOneLine(string filePath, int inputLenght, int outputLenght, bool namesSpecified, bool descriptionSpecified, bool titleSpecified, ref SampledDataSet sampledData, ref InputOutputDataDefiniton definitionData)
Loads sampled data and definition data from single CSV file.
Definition: SampledData.cs:1213
bool _warnCommandReplacement
Definition: CommandlineApplicationInterpreter.cs:370
static readonly PhysicalConstant ReducedPlanckConstant
Planck'result constant divided by 2 Pi (used when angular frequency is used).
Definition: Constants.cs:401
IMatrix GetObjectiveHessian()
Returns the objective function's Hessian.
virtual void WriteInputParameters(IVector inputParameters)
Writes optimization input parameters to the standard location.
Definition: SimKosecFileManagerBase.cs:1355
static color ScaleGreen(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:639
string host
Definition: PortScannerSimple.cs:23
InterfaceInterpreterBase(string commandDirectory, string startDirectory, string commandFileName)
Constructor.
Definition: InterfaceInterpreterBase.cs:47
CommandThreadBase()
Definition: CommandlineApplicationInterpreterBase.cs:1733
Base class for various DTO (Data Transfer Objects) for scalar function controllers....
Definition: ScalarFunctionDto.cs:32
TrefoilKnot3D()
Empty constructor.
Definition: TrefoilKnot3D.cs:23
abstract double EndParameter
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:40
static void SetZero(IVector vec)
Sets all components of the current vector to 0.
Definition: VectorBase.cs:940
@ Valid
Indicates that variable is defined and active, i.e., it is valid and can be used.
TVectorField _activeVectorField
Definition: StructuredMesh3dGeneric.cs:401
ApplicationBase(string programName, int version, int subVersion, string release)
Constructs a new application object.
Definition: App.cs:173
int Count
Definition: ModelParameterSetFixedBase.cs:137
static void ArrayProduct(IVector a, IVector b, IVector result)
Calculates array product (element-by-element product) of two vectors and stores the result in the spe...
Definition: VectorBase.cs:2086
ScalarFunctionParametric(IVector parameters, IAffineTransformation transformation)
Cobnstructor. Creates a new parametric scalar function with the specified parameters and transformati...
Definition: FunctionScalarParametric.cs:106
virtual void AppendIndent()
Appends indentation to the contents of the command file.
Definition: InterfaceInterpreterBase.cs:366
const int TestSpeedNumEq
Number of equations used to test speed of numerical computations.
Definition: CommandlineApplicationInterpreter.cs:6523
override void CopyToPlain(ref List< ElementType > obj)
Copies data from the current DTO to the specified list objects.
Definition: ArrayDto.cs:249
virtual string CryptoFunctionCertStoreInfo(string appName, string[] args)
Executes embedded application - printing infomration about the specified certificate store.
Definition: ScriptAppBase.cs:1485
string _indentationString
Definition: InterfaceInterpreterBase.cs:107
void ModuleTest1(string name, ICommandLineApplicationInterpreter interpreter)
Loads the first built-in test module (just for testing modules).
Definition: CommandlineApplicationInterpreter.cs:6791
string GetIndent(int level)
Returns indentation string for the specified indentation level.
Definition: HtmlWriter.cs:135
static string[,,] StringArray3x2x4
Sample 3D rectangular array of strings (type string[,,]), for use in tests. Dimensions of the array a...
Definition: SampleCollections.cs:73
const char LibDefaultIndentCharacter
Library-wide default JSON serializer option for indentation character in serialized strings,...
Definition: JsonSerializationOptionsFactory.cs:73
int TextLoggerIndentSpacing
Gets or sets the number of indentation characters written per indentation level.
Definition: ReporterMsg.cs:469
virtual void SetGradient(int index, double value)
Sets the specified component of the function gradient.
Definition: FunctionScalarResults.cs:301
HyperboloidParametric2()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1151
static int SkipSeparator(string str, int startpos, char separator)
Definition: StringParser0.cs:22
IAnalysis _analysis
Definition: LoadableScriptOpt.cs:182
List< string > ParameterNamesInternal
Definition: ModelParameterSetFixedBase.cs:66
IScalarFunction F1
The second component of the current vector function.
Definition: FunctionVectorExamples.cs:58
virtual void InvalidateParameterNames()
Invalidates names of parameters. This also means that function value definition and function gradient...
Definition: VectorFunctionScriptController.cs:457
void RestoreData()
Restores sampled data definition from the data table. Position is reset before the operation begins.
Definition: SampledDataCsv.cs:3322
override void GradientPlain(IVector parameters, IVector gradient)
Calculates first order derivatives (gradient) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:503
string OptDir
Optimization directory that contains data and message files of optimization server.
Definition: ApplicationCommandLineBase.cs:117
static int _numLoadableScriptWarnings
Definition: App.cs:2340
static int GetNumConstants(int dim)
Returns the number of constants that specify the linear function of the specified dimension.
Definition: FunctionScalarExamples.cs:48
Definition: SpeedTests.cs:15
List< string > _freeParameters
Definition: UilCryptoAux1.cs:349
virtual double Value1(vec2 parameters)
Calculates and returns value of the first component of the current function.
Definition: Function3d2d.cs:297
void Load(string filepath, bool forceoverwrite)
Loads data store'result XML Doc from a file.
Definition: XmlUtilities.cs:62
vec3 NumericalDerivative(Func< double, vec3 > curve, double t, double tMin, double tMax, double h, bool restrictToInterval)
Numerically computes the derivative of a curve using central differences.
Definition: TubularMeshGenerator_06.cs:24
IOptimizationResults _optimizationResults
Definition: Optimizer.cs:142
virtual double MapInput(int componentIndex, double value)
Maps (scales and shifts) and returns specific input value to the value prepared for the corresponding...
Definition: NeuralApproximatorBase.cs:1823
override void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionRealParametric.cs:228
int FirstNonemptyColumn(int rowNum, int startColumn)
Returns number of the first non-empty cell in the specified row, from the specified starting column o...
Definition: StringTable.cs:394
bool TwoStage
Definition: Utils.cs:3204
void DecreaseDepth(int numlevels)
Decreases indentation level by the specified number of levels (can be 0 or negative).
Definition: ReporterMsg.cs:2601
vec3 Multiply(double k)
Returns the current vector multiplied by the specified scalar.
Definition: Matrix3D.cs:224
SerializerBase()
Definition: SerializerBase.cs:99
A Lisajous knot is a knot whose projection on any of the three coordinate planes is a Lissajous curve...
Definition: LissajousKnot3D.cs:26
void RecalculateOutputDataBounds()
Recalculates output data bounds by taking into account the training data set of the current object.
Definition: NeuralApproximatorBase.cs:1747
virtual bool IsConstant
Definition: ModelParameter.cs:209
Vector_MathNetNumerics _copyMathNetNumerics
Definition: Vector.cs:362
bool IsRegistered(T obj)
Returns true if the specified object is registered with the current object, false otherwise.
Definition: ObjectRegister.cs:80
static Mutex MutexGlobal
Mutex for system-wide exclusive locks.
Definition: Utils.cs:86
bool IsServerRunning
Indicates whether the server is currently running or not.
Definition: ParallelJobServerBase.cs:471
static volatile Assembly[] _referencedAssembliesDirect
Assemblies directly referenced by the current executale assembly. Assemblies from global assembly cac...
Definition: UtilSystem.cs:2341
virtual IAnalysis Analysis
Definition: OptFileManager.cs:1224
static string RandomString(int length, IRandomGenerator rndgen=null)
Returns a randomly generated string of a specified length containing alphanumeric characters....
Definition: UtilString.cs:513
object _mainLock
Definition: PointContainer.cs:185
int GetNumNullElemets()
Returns number of null elements of the current sampled data set.
Definition: SampledData.cs:640
string ScriptClassName
Name of the script class that containe definition of the compiled real function class.
Definition: ScalarFunctionScriptLoader.cs:993
double Tolerance
Gets or sets the main tolerance (its exact meaning depends on the algorithm in use).
Definition: Optimizer.cs:288
void MapInput(IVector reducedInput, ref IVector originalInput)
int GetReferenceCellIndex(double referenceValue)
Retuns index of the cell of the discrete color scale that corresponds to the specified value in the r...
virtual bool HasExecutionTime
Whether the current object has the execution time assigned.
Definition: SpeedTestInfo.cs:90
string SaltString
Salt string.
Definition: UilCryptoAux1.cs:306
void UnregisterSystemPriorityUpdating()
Unregisters the UpdateThreadPriorityFromSystem method as "event handler" for system priority changes.
Definition: ParallerJobDispatcherBase.cs:635
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: CommandlineApplicationInterpreterBase.cs:926
void ResetMax(int componentIndex)
Resets the specified maximal coordinate value to UndefinedMax.
Definition: BoundingBox.cs:624
static double rand(double min, double max)
Returns a uniformly distributed random number greater than or equal to min, and less or equal than ma...
Definition: UtilMath.cs:380
bool IsFunctionInputReady()
Returns value of the falg that indicates whether the reduced approximation input data is ready.
Definition: NeuralFileManager.cs:1096
static void DefaultReportConsole(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage)
Default delegate for reporting. For parameter descriptions, see ReportDlg.
Definition: ReporterMsg.cs:5973
double InputSafetyFactorMin
Minimum limit for input safety factor value.
Definition: SerializationDtoNeural.cs:751
List< int > _nodeNumbers
Definition: Mesh.cs:233
void OnError(object source, ErrorEventArgs e)
Handles events triggered when an error occurs.
Definition: WaitConditionFile.cs:273
void FromString_ShouldFailOnInvalidInput()
Definition: ToStringTypeConverterViaParseReflectionTests.cs:68
const string ArgIvLength1
Specification of length of the initialization vector follows.
Definition: UtilCryptoAux.cs:481
Vector2d ColumnY
Gets or sets the y-column of the 2D matrix.
Definition: Matrix2DClass.cs:411
virtual bool ValueDefined
Whether calculation of function value is defined. Defaulet is true.
Definition: Function3d2d.cs:251
bool IsOutputDataConsistent()
Definition: NeuralMapData.cs:752
int Id
Returns object's Id that is unique within a given type.
Definition: ExpressionEvaluatorCompiled.cs:48
static string GetComputerName()
Returns name of the computer on which application is running.
Definition: UtilSystem.cs:180
abstract int NumFaces
Returns the number of faces that the mesh has.
Definition: Mesh.cs:67
bool CompareObjectiveFunction
Whether value of the objective function is compared.
Definition: AnalysisComparer.cs:155
double StartParameter1
Definition: Ellipsoid.cs:79
virtual int RowCount
Number of rows of the matrix.
Definition: MatrixDto.cs:96
Vector3d Add(Vector3d a)
Returns sum of the current vector and the specified vector.
Definition: Vector3Dclass.cs:467
static void GenerateCoordinates2d(Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D unstructured grid embedded in 3D from a regular grid with grid directio...
Definition: FieldGeneric.cs:1005
SortedList< string, IpcStreamServerBase > PipeServers
Array of registered pipe servers, accessible through server name.
Definition: CommandlineApplicationInterpreter.cs:5339
char MessageFalseSeparator
Definition: ClientServerStreamBase_Copy.cs:226
double a
Width of the curve bounding box.
Definition: LissajousCurve3D.cs:57
double DDD
Definition: ReporterMsg.cs:2841
void GetRelativeCoordinates(IVector coord, ref IVector relativeCoortinates)
Converts the specified coordinates to relative coorsinates where compponents run from 0 to 1 if origi...
virtual string CmdCalcJsBlock(CommandThread cmdThread, string cmdName, string[] args)
Command. Enters a new block of JavaScript expressions that are evaluated. All lines within the block ...
Definition: CommandlineApplicationInterpreter.cs:3615
VectorRetType CreateVector(int dim=-1)
Creates and returns a vector of the specified dimension dim , or, if the parameter is less than 0,...
override bool SecondDerivativeDefined
Definition: FunctionRealBasic.cs:268
UnstructuredMesh1d3d(int length)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d3d.cs:36
void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
Module(string moduleName, int version, int subVersion, string release)
Definition: App.cs:573
double X
1st component.
Definition: Vector3Dclass.cs:352
virtual List< double > GetValues()
Returns a list of function values.
Definition: FunctonVectorResults.cs:297
override IVectorFunctionResults TryGetNew()
Returns a newly created object eligible for storage, or null if such an object can not be created....
Definition: FunctionVectorBaseGeneral.cs:552
Server that creates a named pipe, listens on its input stream, and sends responses to the client.
Definition: IpcPipes.cs:36
virtual double Derivative(IVector parameters, int which, int component)
Calculates and returns the particular component of the vector function derivative.
Definition: FunctionVectorBaseGeneral.cs:230
static double log(double a, double logBase)
Returns the logarithm of a specified number in a specified base.
Definition: UtilMath.cs:430
double _storedDistance
Definition: PointContainer.cs:244
TTensorField ActiveTensorField
Gets active tensor field. Has protected setter.
Definition: StructuredMesh2dGeneric.cs:554
IVector _toleranceRms
Definition: NeuralApproximatorBase.cs:902
InterfaceInverse(string commandDirectory, string startDirectory, string commandFileName)
Constructor.
Definition: InterfaceInv.cs:49
ReadonlyArrayAccessor(ElementType[] array)
Initializes the class with a reference to the underlying array, which will be used to access elements...
Definition: ArrayAccessors.cs:24
void AddVectorField(TVectorField field)
Adds the specified vector field to the collection of vector fields.
Definition: StructuredMesh3dGeneric.cs:511
static double max(double a, double b, double c, double d, double e, double f)
Largest of six numbers.
Definition: UtilMath.cs:233
virtual void Copy(IVectorFunctionResults results)
Copies data from another vector function results.
Definition: FunctonVectorResults.cs:740
long Value
Gets or sets
Definition: Vartypes.cs:95
double a
Parameter of the Logarithmic spiral, coefficient in its equation r(φ) = a * exp(k * φ).
Definition: ConicalSpiralLogarithmic3D.cs:31
PasswordDeriveBytes ExternalAlgorithm
External algoritgm that will do the job.
Definition: UtilCryptoAux.cs:965
override LoadableRealFunctionBase CreateRealFunction(double Kx, double Sx)
Creates and returns a new real function object where object is of real function class that has been d...
Definition: RealFunctionScriptExample.cs:24
bool _UseTextWriter
Definition: ReporterMsg.cs:3967
void AddVectorField(TVectorField field, string name)
Adds the specified vector field to the collection of vector fields under the specified name.
Definition: StructuredMesh3dGeneric.cs:500
virtual AppDomain ApplicationDomain
Application domain used by the current script loader for loading assemblies.
Definition: Loader.cs:1385
string ScriptLocation
Location of the script to be loaded.
Definition: ApplicationCommandLineBase.cs:49
static bool ResolveAlreadyFailed(ResolutionIdentity resId)
Definition: UtilSystem.cs:2724
static bool Read(ref IMatrix mat)
Reads a matrix from console and assigns it to the specified matrix variable.
Definition: UtilConsole.cs:505
ParaboloidSymmetric2D()
Creates a new untransformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:1013
static void MapCoordinates2dPlain(Field< vec3 > referenceField, Field< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:307
static double DerivativeCD(DlgFunctionValue f, double x, double step)
Calculates numerical derivative of a function according to the central difference formula....
Definition: FunctionNumeric.cs:243
InterpreterPipeServer(ICommandLineApplicationInterpreter interpreter, string pipeName, bool startImmediately=true)
Constructs a new pip server.
Definition: CommandlineApplicationInterpreter.cs:5277
const string _defaultMatrixName
Definition: UtilConsole.cs:500
abstract int InputLength
Gets or sets the number of input parameters.
Definition: VectorApproximatorBase.cs:35
int NumScalarFields
Gets the number of scalar fields.
Definition: StructuredMesh2dGeneric.cs:295
StructuredMeshGeometry3d(int dim1, int dim2, int dim3, string fieldName, string fieldDescription)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:51
bool _isCodeLoaded
Definition: Loader.cs:922
static string ResourceSeparatorString
Gets the string that is used to separate resource from the resource file (.resources).
Definition: UtilSystem.cs:3592
void SetRandom()
Sets the current matrix such that it contains random elements on the interval (0,1].
void Read()
Reads 2D vector components from a console.
Definition: Matrix2D.cs:324
virtual void SetFunction(IRealFunction function1d)
Changes the 1D function that defines the current radial function.
Definition: FunctionScalarRadial.cs:63
string _parametersString
Definition: VectorFunctionScriptController.cs:344
int DaysTillExpireFinal
Gets the number of days until the final expiration of the program or module, when the software will s...
Definition: App.cs:1232
int CompareTo(Scalar other)
Compare this Scalar with another Scalar.
Definition: Scalar.cs:145
double AlphaMax
Maximum limit for alpha value.
Definition: NeuralTrainingParameters.cs:1377
static void SetRandom(int length, int upperBound, ref IndexList indices)
Creates a prescribed number of unique random indices in the specified range.
Definition: IndexList.cs:161
override bool ValueDefined
Whether calculation of function value is defined. Defaulet is true.
Definition: Function2d.cs:134
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
Definition: MoebiusStrip.cs:77
Definition: IParserState.cs:10
int NumIndexFields
Gets the number of index fields.
Definition: StructuredMesh2dGeneric.cs:141
void ToString_ShouldConvertAndBeRoundTrippable< T >(T value)
Definition: ToStringTypeConverterViaParseReflectionTests.cs:47
double b
Half axis of the ellipsoid in the y direction. Default is bDefault.
Definition: Ellipsoid.cs:42
bool Equals(Counter a)
Indicates whether a is equal to this instance.
Definition: Scalar.cs:495
override bool TryStore(IVectorFunctionResults obj)
Definition: FunctionVectorBaseGeneral.cs:563
virtual string NumericsFunctionScriptScalarFuncitons(string appName, string[] args)
Executes embedded application - testing of definition of scalar function objects through expressions.
Definition: ScriptAppBase.cs:588
virtual bool Script_ContainsScriptCommand(string commandName)
Returns true if the specified command is script command (i.e. its first argument is command-name and ...
Definition: LoadableScriptBase.cs:636
void RecalculateOutputDataBounds()
Recalculates output data bounds by taking into account the training data set of the current object.
ScriptLoaderBase ScriptLoader
Gets the script loader that is used by the current command-line interpreter for dynamically loading c...
Definition: CommandlineApplicationInterpreter.cs:2896
virtual void RestorePreviousNumStoredParameters(CommandStackFrameBase frame)
Saves the current number of stored parameters on the command thread.
Definition: CommandlineApplicationInterpreterBase.cs:2007
void GetOptimizationParametersDefinedFromInput(IVector param)
Gets current values of input (optimization) parameters obtained from the current contents of simulati...
Definition: SimKosecFileManagerBase.cs:851
bool IsDiscrete
Gets the flag indicating whether the color scale is discrete (with a finite number of possible colors...
Definition: ColorScale.cs:453
bool IsKeyData(string str)
Whether the specified string is a keyword introducing the sampled data.
Definition: SampledDataCsv.cs:445
double Norm
Gets a 2 norm of the current 3D vector.
Definition: Matrix3D.cs:140
NumberType MultiplyNumbers(NumberType a, NumberType b)
Calculates and returns product of parameters a and b .
double SigmoidAlphaValue
Sigmoid alpha value (used in networks with sigmoid activation functions).
Definition: SerializationDtoNeural.cs:35
string ReferencedVariableName
Gets the referenced variable name.
Definition: CommandlineApplicationInterpreterBase.cs:561
string _msgAnResultsReadyPath
Definition: OptFileManager.cs:150
virtual string ToStringNewlines()
Returns a string representation of this matrix with newlines inserted after each row....
Definition: MatrixBase.cs:5115
virtual double Value(vec2 parameters)
Calculates and returns value of the current 2D scalar function.
Definition: Function2d.cs:168
virtual void Run(string[] initializationAndRunArguments)
Runs the object of the compiled loadable class (calls its Run() method) that is currently loaded by t...
Definition: Loader.cs:1491
readonly object _lock
Lock object to be used for locking the current object.
Definition: UtilTime.cs:86
static void ToByteArray(Int16 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1430
virtual string FileFunctionRelativePath(string appName, string[] args)
Executes embedded application - writing to the console information about file events for the specifie...
Definition: ScriptAppBase.cs:861
void AddElement< ElementType >(int rowNum, ElementType value)
Adds string representation of a new element of the specified type at the end of the specified row of ...
Definition: StringTable.cs:498
DistanceDelegate< PointType > _distanceFunction
Definition: DistanceComparer.cs:289
double MinX
Gets the lower bound in the first coordinate.
Definition: BoundingBox.cs:1568
Sandbox for quick tests related to type conversion.
Definition: SandboxTypeConversionTest.cs:20
override double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
Definition: Function3d2d.cs:558
const string ProcessHelpListApplicationsByWindow
Definition: ScriptAppBase.cs:4717
static void FitGridNode(double minCurrent, double maxCurrent, double minTarget, double maxTarget, ref double node)
Grid stretching to fit the specified interval bounds. Modifies position of the generated 1d grid node...
Definition: GridGenerator1dBase.cs:811
const string ConstCustom
Name of the command for a group of custom applications.
Definition: ScriptAppBase.cs:49
virtual ScalarFunctionLoader FunctionLoader
Object that is responsible for creation of scalar function objects that correspond to the definitions...
Definition: ScalarFunctionScriptController.cs:694
object _internalLock
Definition: ObjectRegister.cs:39
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:151
List< CommandMethod > AppNumericsMethods
List of methods used to perform numerics-related commmands.
Definition: ScriptAppBase.cs:561
void AddParagraph(string paragraphText, string[] attributeNameValuePairs)
Adds a new paragraph with the specified text to the HTML document.
Definition: HtmlWriter.cs:666
override LoadableRealFunctionBase CreateRealFunction(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real function object where object is of real function class that has been d...
Definition: RealFunctionScriptExample.cs:29
double rho
3D vector function of scalar argument, which gives a 3D representation of the curve....
Definition: ICurve3DCylindricalParameterization - Copy.cs:16
virtual string ReferenceMachineId
Definition: SpeedTestInfo.cs:135
static void Test()
Definition: ReporterMsg.cs:6704
const string ArgRecursiveDirectoryByLevels
Specification of a directory for recursive search of input files, sorted by levels,...
Definition: UtilCryptoAux.cs:602
ScalarFunctionRadialParametric(IRealFunctionParametric function, IVector parameters, IAffineTransformation transf)
Constructor. Creates a new radial scalar function without specifying coordinate transformation.
Definition: FunctionScalarRadial.cs:405
static string GetStringHashHex(string stringToHash, HashType hashType=HashType.Default, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash string of the specified kind of the specified string.
Definition: UtilCrypto.cs:792
static double arcctg(double x)
Arc cotangent, inverse of 1/tan(x).
Definition: UtilMath.cs:481
DateTime _firstStartTime
Definition: UtilTime.cs:114
bool IsChecked
Indicates that something is verified, not calculated (or checked in addition, after calculation).
Definition: UilCryptoAux1.cs:373
override double f2(double u, double v)
Definition: Function3d2d.cs:1703
string Compile()
Compiles the code that contains dynamically loadable definition of a real function of one variable.
Definition: RealFunctionScriptLoader.cs:605
static double TestComputationalTimesQR(int numEq, int outLevel, bool testProduct)
Test of QR decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:53
void NotifyJobStarted()
Notifies this job data container that its job has started.
Definition: ParallelJobContainerBase.cs:377
static string GetIglibDirectory()
Returns the directory containing the IGLib assembly.
Definition: UtilSystem.cs:3267
bool CommandStopServing
Flag indicating whether the server should be stopped. If set to true and server thread is runing,...
Definition: ParallelJobServerBase.cs:396
const string VarNameGradientDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: ScalarFunctionScriptLoader.cs:117
virtual bool ReqHessian
Indicates whether calculation of function Hessian is/was requested.
Definition: FunctionScalarResults.cs:449
void Serialize< T >(T serializedObject, Stream serializationStream)
Serializes the specified object and outputs it to a stream.
bool Centered
Flag specifying whether intervals grow in both direction from the center of the grid interval.
Definition: GridGenerator1d.cs:103
override double Derivative(double x, int order)
Returns the derivative of the given order of this function at the specified parameter.
Definition: FunctionReal.cs:997
void Insert(int index, string str)
Inserts the specified string at the specified position of the buffer.
IModelParameter UpdateDescription(string newDescription)
Updates the description of the current parameter (property Description).
static void TensorMultiply(Matrix m1, Matrix m2, Matrix result)
Kronecker or tensor product, A(m*n)*B(p*q)=C(mp*nq) Result is a block matrix with as many blocks as t...
Definition: Matrix.cs:1017
const string ArgSaltString
Specification of password string follows.
Definition: UtilCryptoAux.cs:464
Base class for type information classes that are used with the DerivedTypesRegistry<BaseType,...
Definition: TypeInfoBase.cs:17
int OutputLevel
Output level for the current object.
Definition: ParallelJobContainerBase.cs:205
static void GenerateCoordinates1dPlain(Field< vec3 > field, int dimx, double minxRef, double maxxRef)
Generates coordinates of a 1D unstructured grid from a regular grid with grid direction parallel to X...
Definition: FieldGeneric.cs:1095
static void ExportToObj(this StructuredMesh3D_02 mesh, string objFilePath, string materialName="defaultMaterial", string mtlFilePath=null)
Exports the mesh to an OBJ file with an optional MTL file for materials.
Definition: MeshExportExtensions_02.cs:16
void RemoveTensorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh2dGeneric.cs:665
override IVector CreateVector(int dim)
Creates and returns a new vector that is consistent with the definition of bounding box.
Definition: BoundingBox.cs:1891
vec3[][] NodeNormals
Definition: StructuredMesh3D_04.cs:17
CommandStackFrame()
Prevent default constructor of being called.
Definition: CommandlineApplicationInterpreterBase.cs:842
static bool TestMultiplyMatTransp(double tolerance, bool printReports)
Tests product A*B^T.
Definition: MatrixBase.cs:2957
static StopWatch1 Create(string label)
Definition: UtilTime.cs:73
List< CommandThread > _commandThreads
Main command thread of the interpreter (usually run in the same thread where interpreter was created)...
Definition: CommandlineApplicationInterpreter.cs:243
void PopulateJaggedArray(object target, List< object > values, Type elementType, ref int index)
Populates a jagged array with converted values from a flat list.
Definition: CollectionTypeConverter.cs:387
static readonly Lazy< TypeConversionHelper > _instance
Definition: TypeConversionHelperObsolete.cs:22
List< IVector > ConstraintGradients
Constraint function gradients. If CopyReferences=true (false by default) then only the list reference...
Definition: AnalysisResutlsInt.cs:170
Parametric equation of a toroid surface in form of 3D vector function of 2 variables.
Definition: Function3d2d.cs:1298
IEnumerable< CharType > SubString(int startIndex, int length)
Returns a substring of Parsable starting at startIndex and of length length
bool _isInputFormatHex
Definition: UilCryptoAux1.cs:466
int _index
Definition: SampledData.cs:35
string _functionArgumentParametersName
Definition: ScalarFunctionScriptLoader.cs:144
object InternalLock
Used internally for locking access to internal fields.
Definition: WaitCondition.cs:58
Vector SingularValues
Returns the singular values.
Definition: MatrixDecompositions.cs:1470
vec2 columnx
Gets or sets the x-column of the 2D matrix.
Definition: Matrix2D.cs:478
XmlNode MoveTo(string path)
Moves the current position to the first node that satisfies the absolute path specified as an XPath s...
Definition: XmlUtilities.cs:1917
DateTime CompletionTime
Time when the execution of the command has completed.
Definition: CommandlineApplicationInterpreterBase.cs:171
override void LaunchInitNotice()
Launches initialization notice.
Definition: ApplicationIgShellBase.cs:95
virtual string ModuleTestCommandName(string modulename)
Returns the standard name for the command that gets installed when a module is loaded.
Definition: CommandlineApplicationInterpreter.cs:2837
override IVector GetPointCoordinates(SampledDataElement point)
Returns vector of co-ordinates (or input parameters) of the specified point.
Definition: PointCloudSampledDataElement.cs:108
virtual bool ReqObjective
Indicates whether calculation of objective function is/was requested.
Definition: AnalysisResults.cs:978
vec3 Position
Position of the light (for Point, Spot, and Area lights).
Definition: LightSource.cs:45
bool IsEventualListedCommand(string commandLine, List< string > commands, bool isOnlyCommandName=false)
Returns true if the specified commandline can eventually represent one of the commands contained in t...
Definition: CommandlineApplicationInterpreterBase.cs:1051
override ITypeConverter TypeConverter
The type converter that is under test.
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:31
static void LoadCsv(string filePath, string separator, ref IVector vecRestored)
Reads a vector written in CSV format from a file. If there are no components then a null vector is re...
Definition: VectorBase.cs:3077
static bool IsTextFile(string filePath, int numChecked, out Encoding encoding)
Detects if the specified file is a text file and detects the encoding.
Definition: UtilSystem.cs:4339
static readonly PhysicalConstant MoonApogee
Moon apogee - least distance to the center of attraction, 405,696 km.
Definition: Constants.cs:1663
static void CopyPlain(VectorBase_MathNetNumerics a, IVector result)
Copies components of a vector to another vector. This is a plain version that does not perform any di...
Definition: VectorBase.cs:1199
static int _defatultOutputLevel
Definition: ClientServerStreamBase_Copy.cs:387
static StructuredMesh3D_02 GenerateTube(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numDivsT, int numDivsTheta)
Definition: TubularMeshGenerator_02.cs:16
override string ToString()
Returns a string containing information about the current command thread.
Definition: CommandlineApplicationInterpreterBase.cs:2088
Func3dBaseNoGradient()
Definition: Function3d.cs:106
virtual void OnBundleCompleted()
Called after completion of each bundle of training epochs (after auxiliary data is updated).
Definition: NeuralApproximatorBase.cs:2739
DateTime StartTime
Time when execution of the command has started.
Definition: CommandlineApplicationInterpreterBase.cs:168
virtual void AllocateParameters()
Allocates space for parameters.
Definition: AnalysisResults.cs:832
int InputLength
Gets or sets the number of input parameters.
Definition: IVectorApproximator.cs:19
static string GetHashSha512Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA512 hash string of the specified stream.
Definition: UtilCrypto.cs:1328
new Matrix2d T
Gets transpose of the current matrix.
Definition: Matrix2DClass.cs:586
string _sescription
Definition: CommandlineApplicationInterpreter.cs:290
static SerializerJson _global
Definition: SerializerJson.cs:40
bool DoReporting(ReportType reptype)
Returns true if the report of a given type should be shown by user interface (according to ReportingL...
int NumParameters
Gets number of parameters of the current vector function (-1 for not defined, in case that function w...
Definition: FunctionVectorInt.cs:38
List< IMatrix > _constraintHessians
Definition: AnalysisResults.cs:206
static SampledDataSet CreateExampleLinear(int inputLength, int outputLength, int numElements, IBoundingBox region)
Craates and returns a sample data set object where input parameters are calculated randomly in the sp...
Definition: SampledData.cs:2520
Real matrix class. Some operations are performed by the MathNet.Numerics.LinearAlgebra....
Definition: Matrix.cs:25
int _numHiddenNeuronsSecondNum
Definition: NeuralTrainingParameters.cs:1779
double FunctionArgumentLast
Last argument where grid generation function is evaluated.
Definition: GridGenerator1dFunc.cs:103
bool _reqObjectiveGradient
Definition: AnalysisResultsDto.cs:55
static bool QrDecomposeGrammSchmidt(IMatrix A, ref IMatrix resQ, ref IMatrix resR, double tol=1e-12)
Calculates QR decomposition of a real invertible matrix by using Gramm-Schmidt orthogonalization.
Definition: MatrixBase.cs:7188
static readonly PhysicalConstant EarthAphelion
Earth aphelion - greatest distance to the center of attraction, 152,097,701 km.
Definition: Constants.cs:1508
virtual void AddEnterExitCommands_ElseIf(CommandStackFrame frame)
Adds block enter/exit commands for the "ElseIf" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:702
abstract void Gradient(double x, double y, double z, out double gradx, out double grady, out double gradz)
Calculates gradient of the current 3D scalar function and returns its components through the specifie...
void ResetNetwork()
Resets the neural network.
double MaxY
Gets the upper bound in the second coordinate.
Definition: BoundingBox.cs:1733
void AddParallelCommand(CommandLineJobContainer commandData)
Adds a new parallel command data to the list of commands executed by in parallel.
Definition: CommandlineApplicationInterpreter.cs:2051
FrameType BaseFrame
Base stack frame, created when the thread is initialized and exists until thread is exited.
Definition: CommandlineApplicationInterpreterBase.cs:1668
static string ToStringMath(IVector vec, string elementFormat)
Returns a string representation of the specified vector in a standard IGLib form (Mathematica-like fo...
Definition: VectorBase.cs:2953
Complex Pow(int n, int rootIndex)
Definition: Complex.cs:755
virtual string ExecuteUser(ref string inpDefinitions, ref string inpCode)
Compiles definitions, if any specified, and executes code, if any specified. Eventual results and err...
Definition: ExpressionEvaluatorCompiled.cs:574
@ SHA512
Specifies the SHA512 hashing algorithm.
int Count
Number of elements of the underlying array.
Definition: IReadonlyArrayAccessor.cs:23
string _returnedValueName
Definition: RealFunctionScriptBase.cs:96
WaitFileCreationLatence(string filePath)
Definition: WaitConditionFile.cs:1441
void SetDimensions(int numParameters, int numConstraints)
Sets the dimension of the analysis results object according to the specified values.
ReportMessageDelegate ReportMessageDlgTrace
Delegate that assembles the eror message string for reporting (logging) via Pado trace mechanism.
Definition: ReporterMsg.cs:5692
virtual void SpecificTypeConverter_Speed_RoundTripConversion_IntToIntObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:202
override string Name
Server name. The same as pipe name.
Definition: NamedPipes_Copy.cs:83
@ Callable
Any callable block, such as function.
override void HessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian matrix) of this function at the specified parameters....
Definition: Function3d.cs:274
int[] GetFunctionDefinition(int which)
Returns a table of indices defining the specified function of the quadratic basis....
Definition: ApproxBasis.cs:349
virtual string DocumentDescription
Definition: HtmlWriter.cs:195
OutputElementDefinition GetOutputElementDefinition(int whichElement)
Gets the specified output element definition from DataDefinition. If data definition is not defined t...
Definition: SampledDataCsv.cs:2021
double MixedProduct(Vector3d b, Vector3d c)
Returns mixed product of the current and two other specified vectors. This equals the volume of the p...
Definition: Vector3Dclass.cs:458
Adapts that converts internal script commands (delegate of type Script_CommandDelegate) to interprete...
Definition: LoadableScriptBase.cs:483
static double DefaultToleranceRmsRelativeToRangeScalar
Default value for the tolerance on RMS error, relative to the output range.
Definition: NeuralTrainingParameters.cs:61
void SetNeuralInputReady()
Sets the falg that indicates that the approximation input data is ready.
Definition: NeuralFileManager.cs:553
bool _threadSuppressInteractive
Definition: CommandlineApplicationInterpreterBase.cs:2036
static Matrix3d Zeros()
Creates a 3D matrix filled with 0.
Definition: Matrix3DClass.cs:224
void PrivateFields_ShouldNotBeSerialized()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:131
virtual double SpeedFactor
Result: the normalized speed factor (number of executions per second divided by the result of the sam...
Definition: SpeedTestInfo.cs:149
override double[] Values
Array of field values.
Definition: FieldGeneric.cs:1326
static int maxErrIndentLevel
Definition: ReporterMsg.cs:2485
virtual string ObjectNameModified
Definition: SerializerBase.cs:745
Cloud of points where each poinr is represented by the IVector object, contains a list of containers ...
Definition: PointCloudConcrete.cs:22
virtual bool IsModule
Whether the current object represents a module (not an application).
Definition: App.cs:936
Various examples of scalar functions.
Definition: FunctionScalarExamples.cs:560
double f(double x)
Method in which comfortable mathematic functions form the base class M are used.
Definition: UtilMath.cs:1518
void Add(IList< Type > items)
Adds the specified list of items to the current list. Items are added one by one, which is not the mo...
Definition: SortedUniqueItemList.cs:308
virtual void GetIntervalLengthsTable(ref double[] result)
Stores a table of interval lengths between the generated nodes into the specified array....
Definition: GridGenerator1dBase.cs:994
static double StandardSpeedTestGeometricSeries_DirectElementCalculation_HpLaptop24(bool writeToConsole=true)
Similar as StandardSpeedTestGeometricSeries_HpLaptop24(out SpeedTestInfo, bool), which it calls to do...
Definition: UtilSpeedTesting.cs:435
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: NeuralTrainingParameters.cs:2609
virtual string[] GradientDefinitionStrings
Gradient definition strings (separately for each gradient component).
Definition: ScalarFunctionDto.cs:104
TTensorField GetTensorField(string name)
Returns tensor field with the specified name.
Definition: UnstructuredMesh2dGeneric.cs:578
TIndexField GetIndexField(int index)
Returns the index field with the specified index.
Definition: UnstructuredMesh2dGeneric.cs:129
abstract void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
CommandLine()
Creates a new command that can be used in command-line interpreters.
Definition: InterpreterCommandLine.cs:36
override void SetDefaultReportMessageDlg()
Sets the error message assembling delegate to the default value. This default delegate does not utili...
Definition: ReporterMsg_Derived.cs:322
string TextLoggerIntroText
Gets or sets the introduction string that is written before logging to a TextWriter begins....
Definition: ReporterMsg.cs:4815
VectorFunctionBase.ObjectStoreResults ResultsStore
Store of result objects for reuse.
Definition: FunctionVectorBaseGeneral.cs:579
bool IsAbsoluteTwiceDifferentiable
True if absolute value is twoce differentiable, false otherwise. Differentiability of absolute value ...
Definition: FunctionRealPenalty.cs:30
@ cd
Candela, an SI unit for luminous intensity.
virtual string CmdSetVariableBase(CommandThread cmdThread, string cmdName, string[] args, bool setCommandResult)
Command. Sets the specified interpreter variable to the specified value. Usage:
Definition: CommandlineApplicationInterpreter.cs:2986
void Insert(int index, T item)
Definition: SampleClasses.cs:487
static void InitializeScripting()
Initializes the scripting system.
Definition: Loader.cs:119
virtual double CoordinateLast
Gets or sets coordinate of the last generated node (usually the maximal generated coordinate).
Definition: GridGenerator1dBase.cs:268
PasswordDeriveBytes _externalAlgorithm
Definition: UtilCryptoAux.cs:961
double[] Params1
Parameter values in the first coordinate direction of the mesh only defined if the mesh is regular,...
Definition: StructuredSurfaceMesh3D.cs:33
virtual void AllocateHessians()
Allocates space for functions' Hessians (including space for the list, if necessary).
Definition: FunctonVectorResults.cs:612
NamedPipeClientStream _clientPipe
Definition: IpcNamedPipes.cs:518
PointCloud(params PointType[] points)
Constructs a cloud of points containing the specified points.
Definition: PointCloud.cs:35
int _highestDerivativeDefined
Definition: FunctionReal.cs:1007
string GetReport()
Returns a stirng that contains reports for all logs contained in the logger. Reporting level is Info....
Definition: LoggerMsg.cs:526
void InterpretRequestOrResponseLine(ref string responseOrRequestString, out bool isMessage, out string messageOrCommandName, out string[] messageArguments)
Returns the (eventually decoded) request or response string corresponding to the stirng that is read ...
Definition: IpcStreamClientServerBase.cs:376
static void GetApplications(string processName, bool caseSensitive, bool isFullString, ref List< Process > processList)
Gets all applications with the specified proces name, and puts them to tehe specified list.
Definition: UtilSystem.cs:1113
static void SetRandomPositiveDiagonallyDominant(IMatrix mat, IRandomGenerator rnd=null, double dominancyFactor=100.0)
Sets the specified matrix such that it is has random elements and is diagonally dominant with positiv...
Definition: MatrixBase.cs:1148
List< List< string > > _data
Definition: StringTable.cs:82
double _a2
Definition: FunctionRealInterpolation.cs:987
NumberType ConjugateNumber(NumberType a)
Returns conjugate value of parameter a . This operation has an important meaning for complex numbers ...
int TextLoggerIndentInitial
Gets or sets number fo initial indentation charactyers.
Definition: ReporterMsg.cs:466
LogRecord(ReportType messagetype, string location, string message)
Launches a report.
Definition: LoggerMsg.cs:77
virtual bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: FunctonVectorResults.cs:182
virtual string CmdNameAnalyse
Command name - analyse.
Definition: InterfaceInv.cs:166
virtual ResultType Result
Result calculated by the test.
Definition: SpeedTestInfo.cs:94
int _numParameters
Definition: FunctionVectorBaseGeneral.cs:39
void GetProduct(ref IMatrix product)
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of ...
Definition: MatrixDecompositions.cs:421
static void SaveJson(IMatrix mat, string filePath)
Saves (serializes) the specified matrix to the specified JSON file. File is owerwritten if it exists.
Definition: MatrixBase.cs:5063
double _value
Definition: FunctionScalarResults.cs:64
static string ToStringRequestMath(IAnalysisResults anres)
Returns a string representation of the specified analysis request object in a standard IGLib form (Ma...
Definition: AnalysisResults.cs:1631
override bool Equals(object obj)
Returns true if the specified object equals the current number, and false otherwise.
Definition: UtilMath.cs:1366
static double one
One (value 1.0).
Definition: UtilMath.cs:94
virtual void AllocateParameters()
Allocates space for parameters.
Definition: FunctonVectorResults.cs:534
IBoundingBox _inputNeuronRange
Definition: NeuralApproximatorBase.cs:1424
override string ToString()
Returns a stirng containing the server data.
Definition: IpcPipes.cs:356
static object _lock
Definition: Random.cs:173
override void ClearExternalAlgorithm()
Clears eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:1032
static readonly PhysicalConstant AvogadroNumber
Avogadro's number, the number of atoms in exactly 12 grams of carbon-12. Unit: none.
Definition: Constants.cs:476
static void LoadSampledDataCombinedOutputsJSON(ref SampledDataSet sampledData, params string[] fileNames)
Loads sampled data and Definition data from multiple CSV files. Sampled data consist of one output an...
Definition: SampledData.cs:1141
const string CryptoHelpGetInitializationVector1
Definition: ScriptAppBase.cs:1283
string Script_GetHelpString(string scriptCommandName)
Returns help string for internal script command with specified name, or null if help string is not in...
Definition: LoadableScriptBase.cs:603
Constants for (optimization) interface with the simulation code of Gregor Kosec.
Definition: SimKosecConst.cs:16
double[] AuxDoubleArray
Auxiliary array for temporary storage of double numbers.
Definition: SampledDataCsv.cs:2654
Parametric equation of the Enneper surface, in form of 3D vector function of 2 variables.
Definition: Function3d2d.cs:1419
int[] EpochNumbers
List of epoch numbers at which convergence data was sampled.
Definition: SerializationDtoNeural.cs:279
int Code
Definition: ReflectionTypeConverterTests.cs:201
double _determinant
Definition: MatrixDecompositions.cs:1214
static color Mixture(bool clipComponents, double[] weights, color[] colors)
Returns additive mixture (linear combination) of the specified colors.
Definition: Color.cs:437
IComparer< Type > _comparer
Definition: SortedUniqueItemList.cs:150
string MultiThreadedApplication(CommandThread commandThread, string commandName, string[] args)
Converted method that can be added to a collection of multithreaded commands, and calls the original ...
Definition: CommandlineApplicationInterpreterBase.cs:281
This class contain tests for model parameter objects (which implement the IModelParameter interface).
Definition: ModelParameterTests.cs:17
virtual string RunRepeat(CommandThread cmdThread, int outputLevel, string[] args)
Runs command several times where the first argument is number of repetitions, second argument is comm...
Definition: CommandlineApplicationInterpreter.cs:1691
object _lock
Definition: App.cs:621
static void Symmetrize(IMatrix a, ref IMatrix sym, ref IMatrix antiSym)
Stores symmetrized and antisymmetirzed matrix obtained from the specified matrix. Resulting matrix is...
Definition: MatrixBase.cs:2005
Interface implemented by IGLib's classes based on the framework's SerializationBinder class.
Definition: ISerializationBinder.cs:20
override bool InverseDefined
Definition: FunctionRealWeight.cs:200
bool HessianDefined
Whether calculation of function Hessian is defined.
Definition: Function2d.cs:27
static object InstantiateObject(Type objectType, Type superClass=null, Type notSuperClass=null)
Instantiates an object of the specified type and performs checks on type inheritance if this is speci...
Definition: UtilSystem.cs:3503
Quadratic2d()
Creates a new untransformed example quadratic polynomial in 2D.
Definition: FunctionScalarExamples.cs:1131
MappingApproximationFileManager(string directoryPath, DataMapperSimple mapper)
Definition: NeuralFileManager.cs:833
string GetServerResponse(string requestString)
Sends a request to the server and returns its response.
Definition: IpcStreamClientBase.cs:304
string _msgAnResultsReadyFileName
Definition: OptFileManager.cs:149
static int ListFilesByLevels(string directoryPath, ref List< string > pathList, List< string > auxList, int numLevels=0, bool includeList=false, bool clearOnBeginning=true, bool RelativePaths=false, bool listDirectories=true, bool listFiles=true, IList< string > searchPatterns=null)
Recursively (ordered by levels) lists files and directories within the specified directories,...
Definition: UtilSystem.cs:5025
Extension methods for vector classes.
Definition: VectorBase.cs:219
static char DefaultMessageSeparator
Definition: ClientServerStreamBase_Copy.cs:106
void AddElements(int rowNum, params string[] values)
Adds the specified elements at the end of the specified row of te data table.
Definition: StringTable.cs:520
string RunAsync(CommandThread commandThread, string[] args)
Runs a command asynchronously where the first argument is command name. Extracts command name and run...
static double Cot(double x)
Returns cotangent of the specified angle.
Definition: UtilMath.cs:1189
virtual void AllocateGradientsList()
Allocates space for list of function gradients.
Definition: FunctonVectorResults.cs:568
static Vector2d Random()
Generates 2-dimensional vector with random elements uniformly distributed on [0, 1).
Definition: Vector2Dclass.cs:299
int _id
Definition: UtilIdRegistration.cs:116
StructuredMeshGeometry3d(int dim1, int dim2, int dim3)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:28
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: CloseSquareBracketStrategy.cs:5
double[][][] ZArray3D
Three dimensional array of doubles.
Definition: SerializerBase.cs:782
static void GetAppSetting(string key, ref string value, out bool assigned)
Reads a string value from the application configuration file (e.g. app.config) and assigns it to the ...
Definition: ReporterMsg.cs:1802
OptFileManager _fileManager
Definition: OptFileAnalysisClient.cs:69
virtual TTensorField CreateTensorField(string fieldName, string fieldDescription)
Creates and returns a new tensor field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh2dGeneric.cs:619
static void GetAllApplications(ref List< Process > processList)
Gets all runnning applications, and puts them to the specified list.
Definition: UtilSystem.cs:1031
static bool Equals(IMatrix m1, IMatrix m2)
Returns true if the specified matrices are equal, false if not.
Definition: MatrixBase.cs:4788
virtual GraphicObject Parent
Gets the parent object of this object (if there exists).
Definition: GrObjects.cs:168
virtual string AppAsymExportKey(string appName, string[] args)
Executes command-line action - exports asymmetric keys specified by command-line parameters.
Definition: UilCryptoAux1.cs:3461
abstract void InstallInputMappings()
Installs definitions of default values of input fields that are automatically set before running the ...
virtual string SystemFunctionComputerName(string appName, string[] args)
Executes embedded application - writing to the console and returning the current computer name.
Definition: ScriptAppBase.cs:3630
static void DyadicProductPlain(IVector a, IVector b, IMatrix result)
Calculates dyadic product of two vectors and stores the result in the specified result matrix....
Definition: VectorBase.cs:1910
Matrix store.
Definition: MatrixBase.cs:7710
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:330
const string CryptoConvert
Definition: ScriptAppBase.cs:1407
string GetFreeParameter(int whichParameter)
Returns the specified free parameter (obtained from commans-line arguments).
Definition: UilCryptoAux1.cs:356
void UpdateNeighborDistances(IDistanceComparer< PointContainerType, PointType > distanceComparer)
Iterates through all points contained in the current cloud, and calculates and updates their distance...
Definition: PointCloud.cs:453
bool ReqValue
Indicates whether calculation of function value is/was requested.
Definition: FunctionScalarResultsInt.cs:184
double OutputSafetyFactorMin
Minimum limit for output safety factor value.
Definition: NeuralTrainingParameters.cs:1424
Registry of types with a common base type, similar to DerivedTypesRegistry<BaseType,...
Definition: DerivedTypesRgistryBasic.cs:21
bool IsMinDefined(int componentIndex)
Returns true if maximum value is defined for the specified component, false otherwise.
double MaxValue
Upper bound for values for which color scale is defines.
Definition: ColorScale.cs:289
double Maximum
Gets strict maximum of this cubic function. If the function does not have one then exeption is thrown...
Definition: FunctionRealInterpolation.cs:1335
virtual ResponseDelegate ResponseMethod
Delegate that calculates response to given request.
Definition: ClientServerStreamBase2_Copy.cs:573
bool _DataChanged
Definition: XmlUtilities.cs:35
int _Depth
Definition: ReporterMsg.cs:2481
abstract vec3[] GridCoordinates
Returns the table of grid co-ordinates. If this property is not properly implemented in the concrete ...
Definition: Mesh.cs:95
static StructuredMesh3D_03 Generate(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numT, int numTheta)
Definition: TubularMeshGenerator_03.cs:13
void SetObjectiveHessian(IMatrix value)
Sets the objective functions' Hessian. If CopyReferences=true (false by default) then only the refere...
double _equalityConstraintTolerance
Definition: AnalysisComparer.cs:61
bool _isMultilineResponse
Definition: ClientServerStreamBase2_Copy.cs:108
PointContainerVector(IVector point)
Definition: PointCloudConcrete.cs:82
bool IsNotNullOrEmpty(int rowNumber, int columnNumber)
Returns a flag telling whether the specified element is defined (it exists in the data table) and is ...
Definition: StringTable.cs:306
delegate void VoidDelegate()
HyperboloidParametric()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1102
void RemoveInputDuplicates()
Removes elements with duplibated input parameters from the current sampled data set,...
Definition: SampledData.cs:660
virtual void Connect(NamedPipeClientStream pipe, double timeOutSeconds=0)
Connects the specified pype with the server.
Definition: IpcNamedPipes.cs:678
override MatrixBase GetNewMatrixBase(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
Definition: Vector.cs:510
virtual List< InputMappingDefinitionElement > MapInputElementList
Definition: NeuralMapData.cs:633
ScalarFunctionOneParametric(IVector parameters)
Constructor. Does not define affine transformation of the function.
Definition: FunctionScalarParametric.cs:174
List< CommandMethod > AppCryptoMethods
List of methods used to perform cryptographic commmands.
Definition: ScriptAppBase.cs:1104
Definition: TypeConversionHelperObsolete.cs:9
ReportLocationDelegate ReportLocationDlgConsole
Delegate that assembles the error location string for reporting via console.
Definition: ReporterMsg_Derived.cs:116
Definition: VectorBase.cs:154
string RunFile(string filePath, string[] initializationAndRunArguments)
Executes a loadable script form a file. The file must contain definition of the loadable script class...
Definition: Loader.cs:1765
string Name
Gets the name of the physical constant.
Definition: Constants.cs:139
static void VectorProduct(IVector a, IVector b, IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:2050
static bool AsymEncryptionDecryptionTest(string testString, out string errorString, AsymmetricAlgorithm algEnc, AsymmetricAlgorithm algDec=null)
Tests whether the specified asymmetric algorithm(s) correctly encrypts/decrypts the specified string.
Definition: UtilCrypto.cs:4715
bool _keyAndDataInSameRow
Definition: SampledDataCsv.cs:1412
static RNGCryptoServiceProvider Rng
Object used to generate random bytes.
Definition: UtilCrypto.cs:285
void ModuleTest2(string name, ICommandLineApplicationInterpreter interpreter)
Loads the second built-in test module (just for testing modules).
Definition: CommandlineApplicationInterpreter.cs:6814
void Reset()
Resets the code evaluator (clears variable definitions, etc.).
Definition: ExpressionEvaluatorCompiled.cs:317
static string GetHashSha256Hex(byte[] bytesToHash)
Computes and returns the SHA256 hash string of the specified array of bytes.
Definition: UtilCrypto.cs:695
virtual void SetTransformationParameters(double kx, double sx, double ky, double sy)
Sets parameters of the affine transformation parameters for both co-ordinates.
Definition: FunctionReal.cs:866
Definition: ReporterMsg_Derived.cs:220
char _messageSeparator
Definition: ClientServerStreamBase_Copy.cs:186
override void CopyFromPlain(ElementType[] obj)
Copies data from the specified array object. All elements are copied to appropriate DTOS on the array...
Definition: ArrayDto.cs:76
double MaxX
Maximal value of the first parameter.
Definition: Function3d2d.cs:733
int[] RunParallelRepeat(int numRepeat, string command, string[] commandArguments)
Runs the specified command with arguments the specified number of times in parallel threads by using ...
Definition: CommandlineApplicationInterpreter.cs:2284
bool IsSingleValueKey(string str)
Returns a value indicating whether the specified string is a keyword for a field that has a single va...
Definition: SampledDataCsv.cs:369
ScalarFunctionScriptControllerBase(int spaceDimension)
Constructor, prepares the current DTO for storing a scalar function of the specified dimension.
Definition: ScalarFunctionScriptController.cs:43
override void InitializeExternalAlgorithm()
Initializes eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:903
List< IVector > ConvergenceErrorsVerificationRmsList
Convergence List of Rms errors calculated on verification data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:1200
virtual void WriteCommandFile()
Writes the current contents of the interpreter command file to the physical file. If the file exists ...
Definition: InterfaceInterpreterBase.cs:679
ParallelJobCallback _onStarted
Definition: ParallelJobContainerBase.cs:325
double YY
YY component.
Definition: Matrix3DClass.cs:330
int _alphaNum
Definition: NeuralTrainingParameters.cs:1382
vec3 rowz
Gets or sets the z-row of the 3D matrix.
Definition: Matrix3D.cs:543
ScalarFunctionRadialParametric(IRealFunctionOneParametric function)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:433
bool HasZero
Returns true if this cubic function has at least one real zero, false otherwise.
Definition: FunctionRealInterpolation.cs:1216
void ClearStrategies()
Definition: JsonPPStrategyContext.cs:136
double _scalingFactor
Definition: GridGenerator1d.cs:99
Type SourceType
Definition: FromStringTypeConverterViaJson.cs:12
const string ArgRecursiveDirectory1
Specification of a directory for recursive search of input files follows.
Definition: UtilCryptoAux.cs:599
static bool Read(ref double value)
Reads a floating point number (type double) from a console and assigns it to a variable....
Definition: UtilConsole.cs:180
double yx
Definition: Matrix3D.cs:377
Type ClassType
Definition: TypeInfoBase.cs:29
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system is nonsingular.
Definition: MatrixDecompositions.cs:361
TVectorField GetVectorField(int index)
Returns the vector field with the specified index.
Definition: StructuredMesh3dGeneric.cs:450
string _scriptClassName
Definition: RealFunctionScriptLoader.cs:574
bool ReadSingleInt(ref int value)
Reads a single integer value. Current line and column must be set to its key.
Definition: SampledDataCsv.cs:2047
Type SourceType
Definition: ISingleSourceTypeConverter.cs:18
static string GetHashHex(Stream stream, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hexadecimal hash string of specified type of the specified stream.
Definition: UtilCrypto.cs:1255
StructuredMeshGeometry2d(int dim1, int dim2, string fieldName, string fieldDescription)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:49
void GetDataColumnDefinitionsFromData(int keyRow, int keyColumn, bool isDouble, bool isInt)
Extracts information about data columns from the data.
Definition: SampledDataCsv.cs:2141
static string GetStringSaltedHash(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the salted hash of the specified kind of the specified string,...
Definition: UtilCrypto.cs:932
virtual TVectorField CreateVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh2dGeneric.cs:464
DistanceComparerSampledDataElement(PointContainerSampledDataElement referencePoint)
Constructs a new training element comparer according to the distance to the reference point.
Definition: PointCloudSampledDataElement.cs:136
SerializationBinderBase SerializationBinder
Serialization binder used for binary deserialization of objects of the current class.
Definition: NeuralApproximatorBase.cs:576
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
Definition: KleinBottle.cs:47
void CopyOutputsComplement(IndexList filterIndices, ref IVector[] extracted)
Copies the specified vectors (complement of the index list) of output values from the current data se...
Definition: SampledData.cs:546
ComponentType Trace
Gets matrix trace (sum of diagonal terms).
Definition: MatrixBase.cs:67
List< string > AppAssemblyNames
List of installed assemblies related command names.
Definition: ScriptAppBase.cs:3890
static ApplicationBase Global
Gets the global instance of the App class, representing the current program.
Definition: App.cs:376
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealBasic.cs:291
color Color
Point color.
Definition: GrProperties.cs:97
virtual void EnterBlock(CommandThread cmdThread, bool executeCommands=true, bool saveCommands=false)
Enters a new code block. A new stack frame is added where code is executed, such that the embedded co...
Definition: CommandlineApplicationInterpreter.cs:742
Generic Matrix interface.
Definition: MatrixBase.cs:29
XmlNode RemoveAttribute(string name)
Removes the attribute with a specified name from the currently treated XML node, and returns this nod...
Definition: XmlUtilities.cs:2432
bool RemoveTW(List< TWClass > lwriters, string filename)
Removes the first object from a list whose TextWriter has been created form the file with the specifi...
Definition: ReporterMsg.cs:3937
void Copy(string str)
Parses a counter from a string and sets the value to the parsed counter. Leading and trailing spaces ...
Definition: Scalar.cs:724
static void MapCoordinatesPlain(StructuredField2d< vec2 > referenceField, StructuredField2d< vec2 > targetField, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 2D structured grid by mapping coordinates of a reference grid by the speci...
Definition: StructuredField2dGeneric.cs:517
static void DefaultReserveReportError(ReporterBase reporter, ReportType messagetype, string location, string message, Exception ex, Exception ex1)
Default function function for reserve error reporting (called if an exception is thrown in a reportin...
Definition: ReporterMsg.cs:6148
IMatrix _Hessian
Definition: FunctionScalarResults.cs:66
static IList< string > GetAssemblyEmbeddedFileResources(Assembly assembly, ref IList< string > resourceNames, bool clearBefore=true, bool includeResourceFiles=false)
The same as GetAssemblyEmbeddedFileResources(Assembly, IList<string>, bool, bool),...
Definition: UtilSystem.cs:3881
ScalarFunctionLinear()
Definition: FunctionScalarExamples.cs:156
XmlNode NewNode
Gets or sets the newly created node (if one exists). When the newly created node is inserted into the...
Definition: XmlUtilities.cs:2351
VectorDtoBase[] ConvergenceListRms
Definition: SerializationDtoNeuralApproximator.cs:172
List< IVector > _calculatedOutputs
List of calculated outputs in points contained in (all) training data.
Definition: NeuralApproximatorBase.cs:1448
ParallelJobCallbackGen< InputType, ResultType > OnFinishedGeneric
Delegate that is executed on started event.
Definition: ParallelJobContainerGen.cs:155
static TypeConversionHelper Instance
Definition: TypeConversionHelperObsolete.cs:23
override double f3(double u, double v)
Definition: Function3d2d.cs:1622
double LearningRateMin
Minimum limit for learning rate.
Definition: SerializationDtoNeural.cs:730
bool IsEventualBlockExitCommand(string commandLine, bool isOnlyCommandName=false)
Returns true if the specified commandline can eventually represent one of the commands contained in t...
Definition: CommandlineApplicationInterpreterBase.cs:1106
string _functionArgumentName
Definition: RealFunctionScriptLoader.cs:168
IVector Min
Sets the vector of minimal values for point coordinates. Needed for calculation of relative coordinat...
Definition: DistanceComparer.cs:331
virtual double GetIntervalLength(int which)
Returns the length of the specified interval between generated nodes of the grid. If necessary,...
Definition: GridGenerator1dBase.cs:1056
List< IVector > _convergenceErrorsVerificationRmsList
Definition: NeuralApproximatorBase.cs:621
abstract bool HasDerivativePolar
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:49
virtual void ClearAnBusy()
Clears the analysis busy flag.
Definition: OptFileManager.cs:907
double _scaleX
Definition: FunctionReal.cs:842
void RecalculateInputDataBounds(SampledDataSet trainingData)
Recalculates input data bounds by taking into account the specified training data set.
Definition: NeuralApproximatorBase.cs:1762
string _valueString
Definition: ScalarFunctionScriptController.cs:100
static string DefaultKeyElementIndices
Default key for introduction of element indices of input and output data elements.
Definition: SampledDataCsv.cs:206
int NumHiddenNeuronsThirdNum
Number of numbers of hidden neurons in third hidden layer.
Definition: SerializationDtoNeural.cs:852
static readonly PhysicalConstant SunMass
Sun mass, 1.9891e30 kg.
Definition: Constants.cs:1723
string ReturnedValueName
Name of variable (within functions in the loadable scripts) that holds the returned value....
Definition: RealFunctionScriptLoader.cs:203
override bool Equals(object obj)
double Maximum
Gets strict maximum of this quadratic function. If the function does not have one then exeption is th...
Definition: FunctionRealInterpolation.cs:613
int[] GetArrayCopyInt(double[] original)
Creates and returns an array of integers that is a copy of the specified array of double values (doub...
Definition: NeuralTrainingParameters.cs:1960
int FindModuleIndex(Module m)
Definition: App.cs:313
string _filePath
Definition: HtmlWriter.cs:116
FrameType RemoveFrame()
Removes the last stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:1701
static xdouble arcsin(xdouble a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:1622
string PipeServerInfo(string serverName=null)
Returns a string containing informattion on the installed named pipe servers.
Definition: CommandlineApplicationInterpreter.cs:5468
UnstructuredMesh3d(int length, string fieldName, string fieldDescription)
Constructs a new 3D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh3d.cs:53
void UpdateInternalData()
Updates internal data dependencies. This function must be called whenever data on which other data is...
Definition: FunctionReal.cs:789
string ConstRunInteractive
Interpreter command for running in interactive mode.
Definition: ApplicationCommandLineBase.cs:42
void ReadElementMaximalValues()
Reads maximal values of input and output data elements from the CSV, from the current position on (in...
Definition: SampledDataCsv.cs:2755
Server that creates a named pipe, listens on its input stream, and sends responses to the client.
Definition: ClientServerStreamBase2_Copy.cs:478
int NumRows
Gets number of rows in the data table.
Definition: StringTable.cs:707
bool _isDiscrete
Definition: ColorScale.cs:448
BoundingBox2d(IVector coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1679
int _epochCount
Definition: NeuralApproximatorBase.cs:606
bool RemoveTextLogger()
Removes the default text writer from the TextLogger subsystem. If appropriate, the corresponding txt ...
static void LoadStringRequestMath(string requestString, ref AnalysisResults anres)
Reads analysis request data.
Definition: AnalysisResults.cs:1720
bool _transfY
Definition: FunctionReal.cs:810
LoadableScriptOptShellBaseControllable()
Creates a LoadableScriptOptBase object.
Definition: LoadableScriptOpt.cs:276
static CspProviderFlags GetCspProviderFlags(string flagString)
Returns the value of the CspProviderFlags enum corresponding to the specified string.
Definition: UtilCrypto.cs:3940
void Copy(IScalarFunctionResults results)
Copies data from another analysis results.
string DefauletFieldName
Gets name that is used for automatically created fields.
Definition: FieldCollectionGeneric.cs:148
void GetOutputRange(ref IBoundingBox bounds)
Calculates range of output values of the current sampled data set, and stores it to the specified bou...
Definition: SampledData.cs:392
virtual int GetNumViolatedConstraints(double equalityTolerance)
Returns number of violated constraints in the current analysis results. Specific constraint is violat...
Definition: AnalysisResults.cs:1389
static double E
Natural logarithmic base.
Definition: UtilMath.cs:820
int _inputLength
Definition: SampledDataCsv.cs:986
const string VarNameIndependentVariableName
Name of variable (internal in class defined in loadable script) that holds the name of local variable...
Definition: RealFunctionScriptLoader.cs:73
abstract GraphicPrimitiveType Type
Returns flags enumeration indicating the type of the graphic primitive.
Definition: GraphicalObjectsBase.cs:133
Matrix Eigenvectors
Returns the right eigenvectors.
Definition: MatrixDecompositions.cs:1167
int GetQuadraticTermIndex(int varIndex1, int varIndex2)
Returns index of the specified quadratic function in this quadratic basis. Order of indices specifyin...
Definition: ApproxBasis.cs:406
static double cube(double a)
Returns the square of a specified number.
Definition: UtilMath.cs:339
static string GetWorkspaceDirectoryPath()
Returns the workspace directory, which is primarily located through the environment variable containe...
Definition: UtilSystem.cs:4420
bool IsDataKey(string str)
Returns a value indicating whether the specified string is a keyword for a data field.
Definition: SampledDataCsv.cs:411
void AllocateHessian()
Allocates space for function Hessian.
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:883
void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
static int DefaultOutputSafetyFactorNum
Default value for number of output bound safety factors values in neural networks.
Definition: NeuralTrainingParameters.cs:1255
UnstructuredMesh1d()
Constructs a new empty unstructured mesh (no elements contained) with no name and no description.
Definition: UnstructuredMesh1dGeneric.cs:35
Command-line interpreters adapted for executing script commands.
Definition: LoadableScriptBase.cs:16
static string DefaultMsgResponseEnd
Default message that ends any multiline response.
Definition: IpcStreamClientServerBase.cs:485
static xdouble sqrt(xdouble a)
Returns the square root of a specified number.
Definition: UtilMath.cs:1826
bool CalculatedConstraintGradients
Indicates whether calculation of constraint functions gradient is/was requested.
Definition: AnalysisResutlsInt.cs:401
void ReadElementScalingLengths()
Reads scaling lengths of input and output data elements from the CSV, from the current position on (i...
Definition: SampledDataCsv.cs:2788
int NumJobServers
number of job cervers that are currently asigned to hte dispatcher.
Definition: ParallerJobDispatcherBase.cs:227
Defines the Klein's bottle (a parametric surface), a closed surface with no interior and exterior.
Definition: Function3d2d.cs:1595
void TrainNetwork(int numEpochs)
Trains neural network wiht the specified data, performing the specified number of epochs.
const double MaxIntComponentD
Maximal component of the standard System.Drawing.Color struct as double.
Definition: Color.cs:104
static xdouble sign(xdouble a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:1778
void NullifyAll()
Sets all objects (parameter and result objects) to null. If the references are not assigned elsewhere...
double NumericalIntegral(double from, double to, int numintervals)
Calculates numerical integral of this function. Simpson's formula is usually used.
Definition: GrObjects.cs:489
override void Connect(double timeOutSeconds=0)
Connects with the server.
Definition: NamedPipes_Copy.cs:639
static void KillAllApplications(string processName, bool caseSensitive)
Kills all running applications that have the specified process name.
Definition: UtilSystem.cs:1396
static List<(vec3 T, vec3 N, vec3 B)> ComputeFrames(double[] tValues, Func< double, vec3 > curve)
Definition: TubularMeshGenerator_02.cs:48
double SigmoidAlphaValue
Sigmoid alpha value (used in networks with sigmoid activation functions).
Definition: NeuralTrainingParameters.cs:107
virtual string CryptoFunctionRemoveCertificate(string appName, string[] args)
Executes embedded application - removing the certificate from certificate store.
Definition: ScriptAppBase.cs:1563
static ObjectRegister< CommandLineInterpreter > _register
Static object that providees object register and generates IDs for this class:
Definition: InterpreterCommandLine.cs:203
void Register(T obj)
Adds the specified object to the register, using its Id property. If the object is already registered...
Definition: ObjectRegister.cs:60
virtual int Id
Unique ID for objects of the currnet and derived classes.
Definition: ParallelJobContainerBase.cs:130
virtual void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
Definition: FunctonVectorResults.cs:666
void AllocateHessians()
Allocates space for functions' Hessians (including space for the list, if necessary).
override string ScriptBase
Container for compiled code that evaluates JavaScript expressions.
Definition: ExpressionEvaluatorJs.cs:370
static void OrthogonalProjection(IVector original, IVector onWhich, double onWhichProductSelf, ref IVector result, double tolerance=0.0)
Calculates orthogonal projection of the original vector on the specified vector, and stores the proje...
Definition: VectorBase.cs:1539
bool HasZero
Returns true if the linear function has a zero, false otherwise.
Definition: FunctionRealInterpolation.cs:140
bool AppSettingsRead()
Returns a flag that tells whether general configuration settings (not belonging to any group) have al...
double ObstacleLength
Length of obstacle.
Definition: SimKosecFileManager.cs:76
static bool ReadPwd(ref string value, bool printrandom, bool repeat=true)
Reads a password from console, masking the input as specified.
Definition: UtilConsole.cs:667
virtual void SetConstraintGradient(int which, IVector value)
Sets the specified constraint function gradient. If CopyReferences=true (false by default) then only ...
Definition: AnalysisResults.cs:627
virtual void WriteMetaDescription()
Adds the audescription meta tag to the document.
Definition: HtmlWriter.cs:386
ParallelServerState
Defines state of the parallel server.
Definition: ParallelJobServerBase.cs:18
object _mainLock
Definition: CommandlineApplicationInterpreterBase.cs:1772
static new xdouble Pi
Ratio of the circumference of a circle to its diameter.
Definition: UtilMath.cs:1571
TVectorField GetVectorField(int index)
Returns the vector field with the specified index.
Definition: StructuredMesh2dGeneric.cs:443
abstract void CopyToPlain(ref BaseType obj)
Copies contents of the current DTO (Data Transfer Object) to the specified object.
IVector _b
Definition: FunctionScalarExamples.cs:204
InterfaceInverse(string commandFileName)
Definition: InterfaceInv.cs:31
SerializationTestArrayMember(long longNum, double doubleNum, string str)
Definition: SerializerBase.cs:670
static void CrossProduct(IVector a, IVector b, IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:1992
virtual string[] FunctionNames
Names of function values, i.e. scalar funcitons that define return values of the vector function.
Definition: VectorFunctionDto.cs:117
virtual void SetParametersString(string parametersString)
Sets function parameter names through a string containing delimided parameters names.
Definition: VectorFunctionScriptController.cs:333
static long facCalculated(long n)
Returns factorial of the specified number - less efficient approac, but does not rely on hard coded a...
Definition: UtilMath.cs:601
static Vector3d operator/(Vector3d a, double b)
Vector subtraction.
Definition: Vector3Dclass.cs:544
static double Abs(double a)
Absolute value.
Definition: UtilMath.cs:842
PenaltyEvaluator(double barrierLength, double barrierHeight)
Constructs penalty evaluator with penalty function (common for all constraints) initialized to the de...
Definition: AnalysisResults.cs:2363
void Legacy_StandardSpeedTestGeometricSeries_OLD()
Performs the stanard speed test with calculation of a finite geometric series, with standard paramete...
Definition: SpeedTests.cs:91
string _neuralOutputFilename
Definition: NeuralFileManager.cs:143
static void Add(IMatrix a, IMatrix b, ref IMatrix result)
Sums two matrices and stores the result in the specified result matrix. Operation can be performed in...
Definition: MatrixBase.cs:2311
List< List< string > > Data
Data behind the table - list of lists of strings.
Definition: StringTable.cs:86
LoggerFactory LoggerFactory
Definition: TestBase.cs:57
virtual string AppDecryptSymmetricBasic(string appName, string[] args)
Executes command-line action - symmetric decryption of files or text by using BASIC class of methods.
Definition: UilCryptoAux1.cs:1274
static void MapCoordinatesPlain(StructuredField3d< vec3 > referenceField, StructuredField3d< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 3D structured grid for a parametric volume from a reference grid according...
Definition: StructuredField3dGeneric.cs:246
virtual string CmdTestSpeed(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for TestSpeed command, performs test of speed of numerical computations on LU decom...
Definition: CommandlineApplicationInterpreter.cs:6540
static bool TryParse< T >(string input, out T result)
Attempts to parse a string to a specific type with a format provider using reflection,...
Definition: IParserHelper.cs:18
virtual string CommentBegin
String that begins a comment.
Definition: InterfaceInterpreterBase.cs:317
void SetInputFieldValue(int fieldId, string fieldName, string fieldValue)
Sets the sepcified input field to the specified value. This is done by appending a corresponding text...
Definition: SimKosecFileManagerBase.cs:1145
Base class for classes taht contain an Xml document that can be parsed. Provides comfortable utilitie...
Definition: XmlUtilities.cs:1222
void TypeConversionHelper_RoundTripConversion_IntToIntObjectToInt_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:112
DTO (data transfer object) for vector interface (IVector).
Definition: ScalarFunctionDto.cs:173
void SaveData(string filePath)
Saves sampled data to the specified file.
Definition: SampledDataCsv.cs:1971
static readonly PhysicalConstant A
Ampere, the basic SI unit of electric current.
Definition: Constants.cs:834
StructuredSurfaceMesh3D GenerateMesh(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double hrel=1e-2, double eps=0.1, bool normalizeFromPrevious=false, bool restrictToInterval=false)
Generates a tubular mesh using the Parallel Transport Frame (PTF) and numerical tangent vectors.
Definition: TubularMeshGenerator_06.cs:61
Base class for vector function approximators.
Definition: VectorApproximatorBase.cs:14
double MinY
Gets the lower bound in the second coordinate.
Definition: BoundingBox.cs:1730
int MaxIterations
Gets or sets maximal number of iterations.
Definition: Optimizer.cs:294
bool IsNetworkTrained
Whether the network is trained (and results exist).
Definition: NeuralTrainingParameters.cs:444
virtual int NumParameters
Number of parameters.
Definition: FunctionScalarResults.cs:126
List< string > AppProcessNames
List of installed process-related command names.
Definition: ScriptAppBase.cs:4518
const string FileExtensionDecrypted
File extension for encrypted files.
Definition: UtilCryptoAux.cs:288
SerializationTestClass()
Definition: SerializerBase.cs:723
object ValueObject
Current value of the parameter, stored as object.
Definition: IModelParameter.cs:70
virtual int NumParameters
Gets number of parameters that define the current function out of parametric family of functions.
Definition: FunctionRealParametric.cs:281
Interface for simulators and other systems (used e.g. for optimization) that can calculate vector res...
Definition: IResponseEvaluatorVector.cs:17
static void InsertSortedListUnique< T >(List< T > sortedList, T insertedElement, IComparer< T > comparer)
Inserts the specified element to the appropriate position in a sorted list, in such a way that the li...
Definition: Utils.cs:748
static void MultiplyMatTransp(IMatrix a, IMatrix b, IMatrix result)
R=A*B^T. Multiplies a matrix by transpose of another matrix and stores the result in the specified re...
Definition: MatrixBase.cs:2893
Definition: ModelParameterTests.cs:12
override InputMappingDefinitionElement CreateObject()
Definition: NeuralMapData.cs:104
static bool MutexCheckAbandoned(Mutex m)
Check whether the specified mutex has been abandoned, and returns true if it has been (otherwise,...
Definition: Utils.cs:49
static void MultiplyTranspMatMat(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B*C. Multiplies three matrices (transposed first argument, second argument, and third argument)...
Definition: MatrixBase.cs:3445
Example cls. for testing function of loadable scripts.
Definition: LoadableScriptExamnple.cs:13
RandGeneratorThreadSafe()
Initializes a new instance of random generator, using a time-dependent default seed value.
Definition: Random.cs:187
static char RandomCharNumeric(IRandomGenerator rndgen=null)
Returns a random numeric character (0-9)
Definition: UtilString.cs:386
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:281
int IntR
Gets or sets the red RGB component as integer in the range 0 to 255. Getter clips the returned value ...
Definition: Color.cs:130
Generic base class for Data Transfer Objects (DTO). This class is used as template for producing conc...
Definition: SerializationDtoBase.cs:49
Complex Negative
Gets the negative value of the current complex number.
Definition: Complex.cs:227
string MsgTestSpeed
Message that requires a kind of speed test to be performed on the other side.
Definition: IpcStreamClientServerBase.cs:559
static xdouble Log(xdouble a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:1706
static double Arcosh(double x)
Inverse hyperbolic cosine.
Definition: UtilMath.cs:1292
static void Examples()
Examples of using the Counter class
Definition: Scalar.cs:747
static readonly PhysicalConstant at
Technical atmosphere, a deprecated non-SI unit of pressure, at = 98066.5 Pa (Pa = kg/(numrows result^...
Definition: Constants.cs:1335
virtual void AppendComment(string str, bool withNewlines)
Appends a vomment to the contents of the command file.
Definition: InterfaceInterpreterBase.cs:378
static void Add(IVector a, IVector b, ref IVector result)
Sums two vectors and stores the result in the specified result vector. WARNING: dimensions of operand...
Definition: VectorBase.cs:1395
static new ReporterConsole Global
Gets the global reporter object. This is typically used for configuring the global reporter.
Definition: ReporterMsg_Derived.cs:389
EigenValueDecomposition(Matrix A)
Constructor.
Definition: MatrixDecompositions.cs:1146
static void ToByteArray(UInt32 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1569
ParallelJobContainerGen()
Creates a new parallel job container.
Definition: ParallelJobContainerGen.cs:57
static Encoding StringEncoding
Gets the character encoding that is used for calculating hashes of strings.
Definition: UtilCrypto.cs:77
static void SaveJson(MappingDefinition mapDataDef, string filePath)
Saves mapping data definition to the specified JSON file. File is owerwritten if it exists.
Definition: NeuralMapData.cs:874
override VectorBase GetNewBase()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector.cs:489
override double Value3(double x, double y)
Calculates and returns value of the third component of the current function.
Definition: Function3d2d.cs:793
ISingleTypeConverter HasConverter(Type sourceType, Type targetType)
WeightReciprocalPower(int power, double Kx, double Sx)
Definition: FunctionRealWeight.cs:268
void EnsureCapacity(int capacity)
Ensures that the buffer has at least the specified capacity.
Definition: StringParser.cs:116
XmlNode Parent
Definition: XmlUtilities.cs:1645
Generates tubular surface meshes around space curves using Frenet or Parallel Transport Frames.
Definition: TubularMeshGenerator_06.cs:14
bool _copyReferences
Definition: FunctonVectorResults.cs:105
string LastRequestString
Returns the last request string.
Definition: IpcStreamClientServerBase2.cs:235
static ThreadStart _onThreadPriorityChange
Definition: UtilSystem.cs:2078
BoundingBox1d(double[] min, double[] max)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1862
string _variableName
Definition: CommandlineApplicationInterpreterBase.cs:405
void AddElements< ElementType >(int rowNum, params ElementType[] values)
Adds string representations of the specified elements of the specified type at the end of the specifi...
Definition: StringTable.cs:542
double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
static void FromByteArray(byte[] bytes, out UInt32 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2197
double _minValue
Definition: ColorScale.cs:272
static void ExportMeshSurfaceToObj(this StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, string surfaceMaterialName="SurfaceMaterial")
Exports only the surface mesh to an OBJ file.
static void SaveCsv(IVector vec, string filePath, bool append)
Saves the specified vector to a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as separator i...
Definition: VectorBase.cs:3035
ReportLocationDelegate ReportLocationDlgTrace
Delegate that assembles the error location string for reporting (logging) via Pado trace mechanism.
Definition: ReporterMsg.cs:5689
XmlNode Current
Definition: XmlUtilities.cs:1645
void TypeConversionHelper_ConversionToObjectAndBackTest< OriginalType, TargetType, RestoredType >(OriginalType originalValue, RestoredType expectedRestoredValue, bool restoreObjectBackToValue=true)
Performs test of conversion via TypeConversionHelper from a value of type OriginalType to an object ...
Definition: TypeConversionHelperTests_Obsolete.cs:71
static void QrSolve(IMatrix factorQ, IMatrix factorR, IVector b, ref IVector x)
Solves a system of eauations with the specified QR decomposition of a real symmetric square matrix.
Definition: MatrixBase.cs:7289
TIndexField AddIndexField(string fieldName, string fieldDescription)
Creates a new index field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: StructuredMesh2dGeneric.cs:172
static Matrix3d operator+(Matrix3d m)
Unary plus for 3D matrices, returns the operand.
Definition: Matrix3DClass.cs:771
void Tabulate(double from, double to, int numPoints, bool printDerivatives, bool printSecondDerivatives)
Tabulates the current function and eventually its first and second derivatives (when available) on th...
Definition: FunctionReal.cs:301
const string ArgTime
Prescribed or expected time of exection (e.g. in time measurements).
Definition: UtilCryptoAux.cs:319
virtual vec2 Gradient2(vec2 parameters)
Calculates and returns gradient of the second component of the current function.
Definition: Function3d2d.cs:355
IVector ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: NeuralApproximatorBase.cs:138
char _previousChar
Definition: JsonPPStrategyContext.cs:52
TTensorField GetTensorField(string name)
Returns tensor field with the specified name.
Definition: StructuredMesh3dGeneric.cs:596
ExampleClassScalarField()
Definition: FieldGeneric.cs:1312
virtual string CmdNameWrite
Command name - analyse.
Definition: InterfaceInv.cs:90
void ModelParameter_CreationWithDescriptionSpecified_DescriptionIsCorrect()
Definition: ModelParameterTests.cs:168
FieldCollection3d()
Constructor.
Definition: FieldCollectionGeneric.cs:23
IReporter Reporter
Definition: App.cs:2200
virtual void WaitEvents(int numEvents)
Blocks execution of the current thread until the specified number of file system events are registere...
Definition: WaitConditionFile.cs:386
static readonly PhysicalConstant ohm
Ohm, the SI derived unit of electric resistance, impedance. Ω = V/A = numrows^2 kg/(result^3 A^2)
Definition: Constants.cs:979
virtual String ErrorString
Error string indicating what went wrong.
Definition: AnalysisResults.cs:1022
string MyName3
Definition: SampleClasses.cs:341
bool Equals(ImplicitlyConvertibleToDerived compared)
Definition: SampleClasses.cs:165
static void TestFactorials()
Writes to the console all factorials that can be calculatet.
Definition: UtilMath.cs:566
delegate double DistanceDelegate< in PointType >(PointType pt1, PointType pt2)
void AddIndexField(TIndexField field, string name)
Adds the specified index field to the collection of index fields under the specified name.
Definition: UnstructuredMesh2dGeneric.cs:176
bool HasZero
Returns true if this quadratic function has at least one real zero, false otherwise.
Definition: FunctionRealInterpolation.cs:577
void UpdateElementIndices()
Updates indices of sampled data elements contained in the current sampled set in such a way that they...
Definition: SampledData.cs:121
static int ReadDoubleList(ref List< List< double >> tab, string str, int startpos, char open, char close, char separator, bool skipspaces)
Reads a list of lists of numbers of type double from result stirng startng at specified position,...
Definition: StringParser0.cs:501
override bool Equals(object obj)
double InputBoundsSafetyFactor
Definition: SerializationDtoNeuralApproximator.cs:122
static string GetIglibCompany()
Returns company attribute of the IGLib assembly.
Definition: UtilSystem.cs:3298
virtual bool IsSquare()
Returns true if the current matrix is a square matrix, and false if not.
Definition: MatrixBase.cs:644
string KeyNumOutputValues
A keyword string that introduces the number of output parameters in the CSV file containing sampled d...
Definition: SampledDataCsv.cs:556
void SetOutputScales(IVector min, IVector max, IVector lengthScales)
Sets parameters that affect default calculation of output distance and output relative coordinates.
Definition: DistanceComparer.cs:438
double ScalarTerm
Scalar additive constant.
Definition: Function3d.cs:510
static void GetProcesses(string processName, ref List< Process > processList)
Gets all processes with the specified name, and puts them to tehe specified list.
Definition: UtilSystem.cs:602
virtual string ClassFullName
Name of the compiled class that contains loadable script.
Definition: Loader.cs:778
void BeginTagWithText(string tagName, string text)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:514
static Complex Log2(Complex x)
Returns logarithm base 2 of the complex number x .
Definition: Complex.cs:628
Func2dLinear(vec2 gradient0, double scalarTerm)
Creation of a linear 2D scalar function.
Definition: Function2d.cs:438
void SaveTrainingDataJson(string filePath)
Saves network's training data to the specified JSON file. File is owerwritten if it exists.
TestBase(ITestOutputHelper output)
Definition: TestBase.cs:14
2D matrix, struct implementation.
Definition: Matrix2D.cs:349
const string AssemblyLoad
Definition: ScriptAppBase.cs:4297
static double min(double a, double b, double c, double d, double e)
Smallest of five numbers.
Definition: UtilMath.cs:205
static vec3 operator+(vec3 a, vec3 b)
virtual void AppendValue(bool value)
Appends a boolean value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:515
string PipeClientInfo(string clientName=null)
Returns a string containing informattion on the installed named pipe clients.
Definition: CommandlineApplicationInterpreter.cs:5697
VectorDtoBase[] ErrorsVerificationRmsTable
Convergence Table of RMS errors calculated on verification data.
Definition: SerializationDtoNeural.cs:231
bool AddTextLogger(string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5150
bool CheckOutputNameConsistency
Definition: NeuralMapData.cs:175
string Description
Definition: SampleClasses.cs:82
int start
Definition: PortScannerSimple.cs:138
void ExampleBlockCreateRemove(string filePath, int numSwitches)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:1189
static void KillAllApplications(string processName)
Kills the all running applications that has the specified process name.
Definition: UtilSystem.cs:1363
override string ToString()
Creates and returns string representation of the current DTO (data transfer object).
Definition: SerializationDtoBase.cs:706
double h
Definition: Function3d2d.cs:917
XUnitLogger(ITestOutputHelper testOutputHelper, string categoryName)
Definition: TestBase.cs:63
string KeyScalingLengths
A keyword string that introduces variable scaling lengths in the CSV file containing sampled data and...
Definition: SampledDataCsv.cs:756
int GetHashFunctionInt()
Returns an integer valued hash function of the current vector object.
TestClassDerived()
Definition: SerializerBase.cs:603
CommandThread MainThread
Main command thread of the interpreter (usually run in the same thread where interpreter was created)...
Definition: CommandlineApplicationInterpreterInterface.cs:46
const string KeyTextLoggerProgramName
Definition: ReporterMsg.cs:2331
const string ConstHelpDataStructures
Definition: ScriptAppBase.cs:354
const string ConstHelpCustom
Definition: ScriptAppBase.cs:50
abstract void InitializeThis(string[] arguments)
Performs all the necessary initializations of the object. Override this method in derived classes (if...
const string ArgIvString1
Specification of initialization vector in form of string follows.
Definition: UtilCryptoAux.cs:486
int Index
Index of the current point in the original list of points where it can be accessed.
Definition: PointContainer.cs:34
string FunctionInputPath
File path of the file with reduced input parameters. Setter takes only pure file name,...
Definition: NeuralFileManager.cs:951
vec3 Gradient0
Vector of linear coefficients (equal to gradient of the function at x=0).
Definition: Function3d.cs:597
override bool ValueDefined
Definition: FunctionRealInterpolation.cs:157
const string NeuralInputFilename
Default file name of neural networks approximation input file in standard IGLib format.
Definition: NeuralFileConst.cs:75
double[] EpochErrorsAbs
List of sampled absolute errors corresponding to epoch numbers from EpochNumbers.
Definition: SerializationDtoNeural.cs:302
bool AddTextWriter(string filename, bool append)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4288
static void ArrayMultiplyPlain(IMatrix a, IMatrix b, IMatrix result)
Element-by-element multiplication. This operation can be performed in place. This is a plain version ...
Definition: MatrixBase.cs:2406
virtual void WriteMetaAuthor()
Writes the author meta tag to the document.
Definition: HtmlWriter.cs:381
int NumPoints1
Definition: StructuredMesh3D_04.cs:18
Definition: UnitTest1.cs:3
static string _defaultStopRequest
Definition: ClientServerStreamBase2_Copy.cs:219
int Id
Returns unique ID (in the scope of a given type) of the current object.
Definition: IIdentifiable.cs:15
const double k
Standard speed tests with finite geometric series - quotient of successive elements of the geometric ...
Definition: UtilSpeedTesting.cs:196
object _clientData
Definition: ParallelJobContainerBase.cs:152
IVector ErrorsTrainingMeanAbs
Mean absolute errors calculated on training data.
Definition: NeuralTrainingParameters.cs:489
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
Definition: MatrixDecompositions.cs:981
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1331
virtual double NumExecutionsPerSecond
Result: number of executions (or iterations) per second measured in the test, the most relevant resul...
Definition: SpeedTestInfo.cs:140
int Compare(KeyValueSortable< Tkey, Tvalue > keyValue1, KeyValueSortable< Tkey, Tvalue > keyValue2)
Definition: Utils.cs:3209
double EndParameter2
Definition: MoebiusStrip.cs:99
int EpochCount
Number of learning epochs performed up to the current moment.
Definition: NeuralApproximatorBase.cs:97
void InitializeIndent()
Definition: JsonPPStrategyContext.cs:29
string _commandIndroduction
Definition: InterfaceInterpreterBase.cs:96
static void ToByteArray(double val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1749
T TryGetStored()
Returns the last object from this object store, or null if there are no objects on it....
LoadableScriptExample()
Creates the object.
Definition: LoadableScriptExamnple.cs:20
const string ArgAsymExportPrivateKey1
Specification that assymmetric private keys are be exported, (or printed), too.
Definition: UtilCryptoAux.cs:376
static color ScaleRed(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:617
string Name
Definition: SerializerBase.cs:580
abstract double f1(double u, double v)
const string FuncNameIntegralDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: RealFunctionScriptLoader.cs:113
override bool Equals(object obj)
object _lockobj
Definition: ReporterMsg.cs:3055
double NormEuclidean
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:54
Tests edge cases for ToStringTypeConverterViaJson converter.
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:17
Base class for classes that provide blocking until a file or directory is created/removed....
Definition: WaitConditionFile.cs:905
static void DefaultReport_TextLogger(ReporterBase reporter, ReportType messagetype, string location, string message)
Default delegate for launching reports (actually logging reports) via text writer.
Definition: ReporterMsg.cs:5564
bool RemoveTextLoggers()
Removes all text writers from the TextLogger subsystem. If appropriate, the corresponding text writer...
Definition: ReporterMsg.cs:5164
static ComparerTrainingTime CreateComparerTrainingTime()
Definition: NeuralTrainingParameters.cs:3314
void RecalculateInputDataBounds()
Recalculates input data bounds by taking into account the training data set of the current object.
Definition: NeuralApproximatorBase.cs:1740
byte[] GetSaltBytes()
If the generator has public parameters (flag IsParametersPublic) then the salt in form of a byte arra...
Definition: UtilCryptoAux.cs:805
static Vector2d Ones()
Generates an 2-dimensional vector filled with 1.
Definition: Vector2Dclass.cs:308
virtual void ClientSendRequestCalculateApproximation()
Performs request to the server for calculation of neural network based approximated values.
Definition: NeuralFileManager.cs:705
static List< CommandLineApplicationInterpreter > Interpreters
Definition: CommandlineApplicationInterpreter.cs:308
virtual double GetSumResiduals()
Returns sum of constraint function values corresponding to violated constraints in the current analys...
Definition: AnalysisResults.cs:1480
A RealFunction class representing bell like polynomial weighting function with finite support,...
Definition: FunctionRealWeight.cs:258
bool AddTextLogger(string filename, bool append, bool writeintro)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5129
Compares two point containers according to their StoredDistance property.
Definition: DistanceComparer.cs:681
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:125
IndexList(ICollection< int > items)
Creates an index table containing all indices from the specified collection.
Definition: IndexList.cs:45
int _InitialIndent
Definition: ReporterMsg.cs:2481
SI[] UnitsNumerator
Gets the array of SI physical units in the nominator of the physical constant.
Definition: Constants.cs:125
void StartJobByServer()
Starts job by the server.
Definition: ParallelJobServerBase.cs:614
int NumParameters
Number of parameters.
Definition: FunctionScalarResultsInt.cs:26
static double sin(double a)
Returns the sine of the specified angle.
Definition: UtilMath.cs:450
const string InvOptCommandFilename
Default file name for optimization command file for program Inverse (Inverse interface).
Definition: OptFileConst.cs:62
void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
delegate double DistanceDelegate(IVector v1, IVector v2)
virtual string InputFileContents
The current input file contents. By default this is obtained form the template input file....
Definition: SimKosecFileManagerBase.cs:552
virtual bool IsValueDefined
Definition: ModelParameter.cs:84
static void LoadJson(string filePath, ref IMatrix matRestored)
Restores (deserializes) a matrix object from the specified file in JSON format.
Definition: MatrixBase.cs:5084
override string ConvertTyped(int[] source)
Definition: SpecificTypeConvrterTests.cs:91
static byte[] PadToAlgorithmBlocksizeZero(byte[] byteArray, int blockSize, bool truncateIfLarger=false)
For the specified symmetric encryption algorithm, this function takes the specified byte array and ch...
Definition: UtilCrypto.cs:1721
override void MapOutput(IVector originalOutput, ref IVector reducedOutput)
Transfer elements from originalOutput vector to original output vector using mapping data for referen...
Definition: NeuralMapData.cs:1177
bool _TreatError
Definition: ReporterMsg.cs:2621
static bool LoadableScriptShellIsLoadableDefault
Basic procedure for calculation of the flag LoadableScriptShellIsLoadable.
Definition: App.cs:2345
virtual List< IMatrix > GetConstraintHessians()
Returns the list of constraint functions' Hessians.
Definition: AnalysisResults.cs:736
static double GeometricSeriesNumerical(int n, double a0, double k)
Numerically calculates and returns the specified finite geometric series (from the geometric sequence...
Definition: UtilSpeedTesting.cs:108
delegate string ApplicationCommandDelegateMt(CommandThread commandThread, string commandName, string[] args)
Delegate for commands that are installed on interpreter.
const double a0
Standard speed tests with finite geometric series - starting element of the geometric sequence.
Definition: UtilSpeedTesting.cs:192
KleinBottle1()
Definition: Function3d2d.cs:1564
override IVector CreateVector(int dim)
Creates and returns a new vector that is consistent with the definition of bounding box.
Definition: BoundingBox.cs:1637
readonly object _mainLock
Definition: ParallerJobDispatcherBase.cs:988
static void GenerateCoordinates(StructuredField3d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 3D structured grid of a parametric volume according to functions specifyin...
Definition: StructuredField3dGeneric.cs:485
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: IpcNamedPipes.cs:634
virtual IModelParameter ClearDefaultValue()
Clears the default value of the current parameter, making it undefined (IsDefaultValueDefined becomes...
Definition: ModelParameter.cs:227
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealInterpolation.cs:723
override double f1(double u, double v)
Definition: Function3d2d.cs:807
static double coth(double x)
Hyperblic cotangent, 1/Math.Tanh.
Definition: UtilMath.cs:1281
Definition: TestBase.cs:74
int GetConstantTermIndex()
Returns index of the constant function in this quadratic basis.
Definition: ApproxBasis.cs:390
int _outputLevel
Definition: LoadableScriptBase.cs:295
object RegistryLock
Object used to lock operations to make them thread safe (prevents simultaneous access from parallel t...
Definition: VectorFactoryRegistry.cs:63
static Complex Coth(Complex x)
Definition: Complex.cs:715
static int _nextIdCommandLine
Definition: CommandlineApplicationInterpreterBase.cs:131
void Dispose()
Definition: TestBase.cs:54
void ReportWarning(string location, string message, Exception ex)
Basic warning reporting method (overloaded). Supplemental data (such as objects necessary to launch v...
Definition: ReporterMsg.cs:3326
static readonly ConcurrentDictionary< Type, int > _cache
Definition: Utils.cs:1146
Func2dBase _comp3
Definition: Function3d2d.cs:449
static INeuralApproximator ExampleQuadratic(int inputLength, int outputLength, int outputLevel, int maxEpochs)
Example demonstrating usage of the neural network approximator. A quadratic function with random coef...
Definition: NeuralApproximatorBase.cs:3397
const string ArgSaltLength1
Specification of length of the salt follows.
Definition: UtilCryptoAux.cs:461
double NormEuclidean
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:78
override double Derivative(double x)
Returns the first derivative of this function at the specified parameter.
Definition: FunctionReal.cs:976
IAnalysisResults BestGuess
The best results so far.
Definition: OptimizationResults.cs:51
override void InitializeExternalAlgorithm()
Initializes eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:1028
bool IsSymmetric()
Returns true if the current matrix is symmetric, and false if not. If the matrix is not a square matr...
override double Trace
Gets matrix trace (sum of diagonal elements).
Definition: Matrix3DClass.cs:658
double EndParameter
Typical end value of the parameter of the parametric curve that represents the knot....
Definition: LissajousCurve3D.cs:94
override string ToString()
Definition: SampledDataDefinition.cs:622
void SetGradientReference(int which, IVector reference)
Sets the specified function gradient. Only the reference is copied.
override IRealFunctionParametric FunctionParametric
Gets or sets the oneparametric real-valued function of one variable that defines the current radial f...
Definition: FunctionScalarRadial.cs:286
virtual void Load(string filename)
Definition: XmlUtilities.cs:1068
override void Script_AddCommands(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Adds commands to the internal interpreter.
Definition: ScriptAppBase.cs:5328
const string KeyUseTrace
Definition: ReporterMsg.cs:2312
const string NullRepresentationString
Standard string representation of null values of objects (often used when overriding object....
Definition: Utils.cs:183
virtual int ColumnCountSetter
Sets the first dimension (number of rows) of the matrix. This setter must be used very restrictively ...
Definition: Matrix.cs:574
void GetErrorsTrainingRms(ref IVector errors)
Calculates the RMS (root mean square) of the errors of output values for the training elements of the...
Definition: NeuralApproximatorBase.cs:2320
static string RandomString(int stringLength, string allowedChars=null, IRandomGenerator rndgen=null)
Creates and returns a random string consisting of only the letters contained in the specified string.
Definition: UtilString.cs:542
void AddTensorField(TTensorField field)
Adds the specified tensor field to the collection of tensor fields.
Definition: StructuredMesh3dGeneric.cs:667
static double DistanceWeighted(IVector a, IVector b, IVector characteristicLengths)
Returns distance between the specified two vectors where vector elements are weighted by elements of ...
Definition: VectorBase.cs:745
static bool TryParse(string str, ref Scalar result)
Parses a scalar from a string and returns it. Leading and trailing spaces are ignored,...
Definition: Scalar.cs:299
string RunWithoutModifications(CommandThread cmdThread, string commandName, params string[] commandArguments)
Runs the specified command with specified name, installed on the current application object,...
Definition: CommandlineApplicationInterpreter.cs:1823
virtual string GetErrorMessage(string responseString)
Returns error message that corresponds to the specified response string.
Definition: IpcStreamClientServerBase2.cs:85
static bool IsJaggedArray(Type type)
Determines if the array is jagged (array of arrays).
Definition: CollectionTypeConverter.cs:203
static SerializerJsonBase _global
Definition: SerializerJson.cs:122
XmlDocument NewXmlDocument()
Definition: XmlUtilities.cs:2291
bool IntegralDefined
Tells whether analytical itegral of the function is defined or not.
Definition: FunctionReal.cs:91
static char _defaultMessageFalseSeparator
Definition: IpcStreamClientServerBase.cs:154
LightType_05 Type
Type of the light source (Ambient, Directional, Point, Spot, Area).
Definition: LightingDefinition_05.cs:26
bool _verificationOutputsCalculated
Definition: NeuralApproximatorBase.cs:1442
Definition: GrObjects.cs:484
Auxiliary base class for DTOs, contains some static methods. Provided for simplicity,...
Definition: SerializationDtoBase.cs:148
ReportLevel ReportingLevel
Gets or sets level of output for reporting (console output, message boxes, etc.).
Definition: ReporterMsg.cs:2651
int _numObjectives
Definition: AnalysisResults.cs:187
string ActiveScalarFieldName
Gets or sets name of the currently active scalar field. This determines the currently active scalar f...
Definition: StructuredMesh2dGeneric.cs:267
override double RefInverse(double y)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:1554
string RedirectedOutputFileName
Gets or sets name of the file where output is redirected.
Definition: SimKosecFileManagerBase.cs:143
int[,] quatraticTerms
2D table of indices specifying for each quadratic term which function it corresponds to (since up to ...
Definition: ApproxBasis.cs:341
void DeeplyNestedObject_ShouldRoundTrip(int numLevels)
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:99
Container class that contains a single vector point plus all the data that are necessary for searchin...
Definition: PointCloudSampledDataElement.cs:90
void initCharacterReferences()
Initializes data structures used for character references.
Definition: StringParser.cs:258
const string ArgLargestKey1
True or false follows, a flag specifying whether the largest key for an algorithm is used.
Definition: UtilCryptoAux.cs:342
static byte[] GetStringSaltedHashBytes(string stringToHash, HashType hashType, string salt, int numIterations=0, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the salted hash (in form of byte array) of the specified kind of the specified s...
Definition: UtilCrypto.cs:878
SimKosecFileManagerConv2(string dataDirectory, double thickness)
Constructor.
Definition: SimKosecFileManager.cs:194
CharacterBuffer(String str)
Definition: StringParserBuffer.cs:125
int getChar(int from, int to, bool useEscape, ref char value)
Returns position rightr after the character that resides at position from and the value of that chara...
Definition: StringParser.cs:382
VectorDtoBase _inputParameters
Definition: SampledDataDto.cs:33
virtual IGraphicSet Parent
Definition: GraphicalObjectsBase.cs:119
Alignment(AlignmentVertical vertical)
Constructs the alignment structure with specified vertical alignement and with horizontal alignment s...
Definition: Alignment.cs:53
void CopyFromObject(object obj)
Copies data to the current DTO from an object of type object. The necessary casts are performed.
const string ArgAsymKeyXmlFile1
Specification of assymmetric key xml file.
Definition: UtilCryptoAux.cs:365
static void GenerateCoordinates1dPlain(Field< vec2 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy)
Generates coordinates of a 1D unstructured grid embedded in 2D space of a parametric curve according ...
Definition: FieldGeneric.cs:1260
virtual InputFieldDefinition GetDefinition(List< InputFieldDefinition > list, int id, string name)
Finds and returns the specified input field definition on the specified list.
Definition: SimKosecFileManagerBase.cs:659
virtual string CompileBase()
Compiles the base script where evaluation is plugged in, and loads the generated assembly and necessa...
Definition: ExpressionEvaluatorCompiled.cs:178
virtual IVector OutputValues
Vector of input parameters of a single element of sampled data.
Definition: SampledData.cs:56
static double Derivative4Point(DlgFunctionValue f, double x, double h)
Calculates the derivative of a function with a 4 point formula. Error is of order O(h^4).
Definition: FunctionNumeric.cs:253
WaitDirectoryCreationLatence(string directoryPath)
Definition: WaitConditionFile.cs:1486
static int BinarySearchSortedList< T >(List< T > sortedList, T searchedElement, Comparison< T > comparison)
Searches a sorted list for the specified element, and returns its index if the element is found,...
Definition: Utils.cs:854
double BarrierHeight
Characteristic heitht of transition area, usually value of the penalty function at the end of transit...
Definition: FunctionRealPenalty.cs:51
static SortedList< string, string > _usedClassFullNames
Definition: Loader.cs:389
StopWatch1 _timer
Definition: CommandlineApplicationInterpreterBase.cs:2075
Thread _workingThread
Definition: ParallelJobServerBase.cs:464
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: NeuralFileManager.cs:48
void SetNumParameters(int num)
Sets number of parameters of the current vector function to the specified value.
Definition: FunctionVectorBaseGeneral.cs:82
static void CrossProductPlain(IVector a, IVector b, IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:1980
virtual void SetVariable(string variableName, IMatrix value)
Command - sets a matrix interpreter variable.
Definition: InterfaceInv.cs:354
void Json_InitOnlyClass_ShouldRoundTripCorrectly()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:238
override double f3(double u, double v)
Definition: Function3d2d.cs:1372
override double CurveDerivativePolar(double t)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
SymmetricAlgorithmType
Enumeration for selecting the symmetric encryption algorithm.
Definition: UtilCryptoAux.cs:82
VectorDtoBase ErrorsTrainingMax
Maximal errors calculated on training data.
Definition: SerializationDtoNeural.cs:181
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealPenalty.cs:335
Definition: CommaCharacterStrategy.cs:3
static bool DefaultIsMultilineRequest
Default pipe name.
Definition: ClientServerStreamBase2_Copy.cs:60
void RemoveServer(ParallelJobServerBase< JobContainerType > server)
Removes the specified server to the current dispatcher.
Definition: ParallerJobDispatcherBase.cs:97
Defines methods for converting objects to a specified type.
Definition: ITypeConverter.cs:14
int _id
Definition: ParallerJobDispatcherBase.cs:1070
static Exception ReviseException(Exception ex, string messageaddition, Type newtype, bool keepmessage)
Takes an existing exception and returns a modified exception based on it. The created exception does ...
Definition: ReporterMsg.cs:1752
Collection of fields of the same type. Fields are identified by their names.
Definition: FieldCollectionGeneric.cs:140
static bool operator!=(xdouble a, xdouble b)
Definition: UtilMath.cs:1447
void KillServerThreads()
Forces all the server threads to stop, even if in the middle of eecution of a job....
Definition: ParallerJobDispatcherBase.cs:576
DistanceComparer(PointContainerType referencePoint, DistanceDelegate< PointType > distanceFunction, IVector lengthScales)
Constructs a new comparer according to input distance to a reference poiont (type IVector).
Definition: DistanceComparer.cs:252
XmlNode NextOrCurrentNode(XmlNodeType NodeType, string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2198
static void ExampleTests()
Definition: FunctionReal.cs:504
List< string > AppCryptoNames
List of installed cryptographic command names.
Definition: ScriptAppBase.cs:1098
virtual int ColumnCount
Number of columns of the matrix.
Definition: MatrixDto.cs:108
Definition: ExampleTestClass.cs:6
Vector2d Normalized1()
Normalizes this 2D vector in 1 norm.
Definition: Vector2Dclass.cs:415
Linear scalar function of vector variable. Function is evaluated according to q(x) = b^T*x + c where ...
Definition: FunctionScalarExamples.cs:151
IGraphicSet _parent
Definition: GraphicalObjectsBase.cs:116
static void UpdateElemetIndices(IEnumerable< SampledDataElement > elements)
Updates indices of sampled data elements contained in the specified collection in such a way that the...
Definition: SampledData.cs:75
bool TryConvertTyped< TargetType >(string source, out TargetType target)
Definition: FromStringTypeConverterViaParseReflection.cs:26
void RunScanTcp()
Definition: PortScanner.cs:52
Func2dBaseNoGradient()
Definition: Function2d.cs:96
Simple derived class using for testing serialization.
Definition: SerializerBase.cs:601
override void DestroyNetwork()
Destroys the neural network.
Definition: NeuralApproximatorAforgeFake.cs:40
LogRecord CreateWarning(string location, string message)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:283
double EndParameter
Typical end value of the parameter of the parametric curve that represents the curve....
Definition: ICurve3DParameterizationWithBounds.cs:47
int CompareTo(Counter other)
Compare this Counter with another Counter.
Definition: Scalar.cs:509
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealBasic.cs:424
Example - 2 component vector function of 2 variables. The first component is the Rosenbrock function ...
Definition: FunctionVectorExamples.cs:24
int MaxEpochs
Maximal number of epochs performed in the training procedure.
Definition: NeuralTrainingParameters.cs:154
Definition: GrObjects.cs:413
int NumStoredParameters
Definition: CommandlineApplicationInterpreterBase.cs:1986
virtual string DataStructuresFunctionTestCsvApp(string appName, string[] args)
Executes embedded application - demo application for demonstration of work with CSVs.
Definition: ScriptAppBase1.cs:61
static bool IsVarName(char[] str)
Returns true if the string corresponding to the specified array of characters is a legal standard rep...
Definition: UtilString.cs:603
virtual ConditionDelegateBase ConditionDelegate
Contains function that is called to evaluate the unblocking condition. If this delegate is set and Co...
Definition: WaitCondition.cs:223
static void ExportToObj(this StructuredSurfaceMesh3D mesh, string filePath, string materialFileName)
Definition: MeshExportExtensions_05.cs:17
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArray3DToStringArray3DObjectToIntJaggedArray3D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:888
override double CurveDerivativePolar(double t)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
virtual IParsable< CharType > Parsable
Definition: ParserBase.cs:20
virtual void AllocateGradients()
Allocates space for function gradients (including for the list, if necessarty).
Definition: FunctonVectorResults.cs:574
Module(string moduleName, int version, int subVersion)
Definition: App.cs:563
static xdouble min(xdouble a, xdouble b)
Returns the smaller of two numbers.
Definition: UtilMath.cs:1762
bool IsInteger
True if the current complex number is an integer number (it can be converted to long,...
Definition: Complex.cs:248
string _passwordString
Definition: UilCryptoAux1.cs:294
int CurrentRow
Definition: SampledDataCsv.cs:1094
List< IVector > Gradients
Function gradients. If CopyReferences=true (false by default) then only the list reference is copied ...
Definition: FunctionVectorResultsInt.cs:122
byte[] GetBytes(int numBytes)
Creates and returns the next generated key of the specified length by calling GetBytes(int,...
Definition: UtilCryptoAux.cs:869
int NumFreeParameters
Number of free parameters (obtained from commans-line arguments).
Definition: UilCryptoAux1.cs:352
static string DefaultReportStringConsoleTimeStamp(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage)
Auxiliary method that composes the complete message, including decoration with a TIMESTAMP,...
Definition: ReporterMsg.cs:5916
Definition: NeuralMapData.cs:942
String AuthorMidName
Definition: App.cs:856
static double ArithmeticSeriesAnalytical(int n, double a0, double d)
Analytically calculates and returns the specified finite arythmetic series (from the sequence: a_i = ...
Definition: UtilSpeedTesting.cs:58
static void MapCoordinatesToScalarsPlain(Field< vec2 > referenceField, Field< double > targetScalarField, IFunc2d scalarMap)
Generates scalar values for a 2D unstructured set fo points from the specified field of grid coordina...
Definition: FieldGeneric.cs:797
abstract void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
void AddIndexField(TIndexField field, string name)
Adds the specified index field to the collection of index fields under the specified name.
Definition: UnstructuredMesh1dGeneric.cs:176
object Lock
Object used for locking of the current object (ILockable interface).
Definition: GridGenerator1dBase.cs:253
override bool InverseDefined
Definition: FunctionRealWeight.cs:1174
override CommandStackFrame< InterpreterType, CommandThread< InterpreterType > > GetParentStackFrame()
Returns the previous (parent, or one lower level) stack frame of the current stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:784
string AsymKeyContainerName
Asymmetric key container name.
Definition: UilCryptoAux1.cs:216
static string _defaultMessagePrefix
Definition: IpcStreamClientServerBase.cs:107
const string ConstFile
Name of the command for the file system-related embedded applications.
Definition: ScriptAppBase.cs:340
const string AssemblyResourcesEmbedded
Definition: ScriptAppBase.cs:3989
double _opacity
Definition: Color.cs:98
string KeyDefaultValues
A keyword string that introduces variable default values in the CSV file containing sampled data and ...
Definition: SampledDataCsv.cs:780
static xdouble pow(xdouble a, xdouble b)
Returns a specified number raised to the specified power.
Definition: UtilMath.cs:1770
string GetPasswordString()
If the generator has public parameters (flag IsParametersPublic) then the password string is returned...
Definition: UtilCryptoAux.cs:781
static void SaveJson(NeuralTrainingParameters trainingParameters, string filePath)
Saves (serializes) the specified training parameters object to the specified JSON file....
Definition: NeuralTrainingParameters.cs:894
void TestSpeedBlockCreateRemove(string filePath, int numSwitches, int sleepMs)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1316
Base class for holding information about optimization data and algorithm parameters.
Definition: OptimizationInputData.cs:75
Vector2d Solve(Vector2d b)
Returns solution of system of equations with the current system matrix and the specified right-hand s...
Definition: Matrix2DClass.cs:600
DistanceComparerSampledDataElement(PointContainerSampledDataElement referencePoint, DistanceDelegate< SampledDataElement > distanceFunction)
Constructs a new comparer according to input distance to a reference poiont (type SampledDataElement)...
Definition: PointCloudSampledDataElement.cs:143
ReporterBase(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate, ReserveReportErrorDelegate reservereportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg.cs:1238
void InvalidateDefinitions()
Clears strings that define the function (i.e. strings that define expressions for function value,...
Definition: RealFunctionScriptLoader.cs:180
virtual Func2dBase Component2
Returns the scalar function that represents the second component of the current 3D vector function of...
Definition: Function3d2d.cs:462
string ConvertTyped< SourceType >(SourceType source)
virtual IRealFunctionPenalty CreatePenaltyFunction(double barrierLength, double barrierHeight, double zeroEnd, int power)
Creates a new penalty function with the specified characteristic length and height....
Definition: AnalysisResults.cs:2433
ICharacterBuffer Buffer
Definition: StringParser.cs:68
void Update(int componentIndex, double coordinate)
Updates the bounding box in such a way that the specified value of the specified co-ordinate componen...
Definition: BoundingBox.cs:780
virtual void AplicationMain(string[] args)
Default main method for the current application.
Definition: ApplicationCommandLineBase.cs:298
virtual void MapInput(IVector reducedInput, ref IVector originalInput)
Transfers elemts of reducedInput vector in the originalInput vector.
Definition: NeuralMapData.cs:966
int NumWarnings()
Returns number of warning logs that logger contains.
Definition: LoggerMsg.cs:431
EventHandler BundleCompleted
Event that is fired after completion of each bundle of training epochs (after auxiliary data is updat...
Definition: NeuralApproximatorBase.cs:2736
int _numEqualityConstraints
Definition: OptimizationInputData.cs:87
string ValueTypeFullName
Full name of the actual type of the captured entity's value, the ValueType, produced by Type....
Definition: ICapturedVar.cs:54
MatrixBase_MathNetNumerics _inverse
Definition: MatrixDecompositions.cs:694
virtual void InstallInputFields()
Installs data about input fields that can be queried and set in the input file.
Definition: SimKosecFileManagerBase.cs:40
NamedPipeServerBase(string pipeName, bool startImmediately=true)
Constructs a new pip server.
Definition: IpcNamedPipes.cs:40
static void TestSpeedBlockCreateRemove(string filePath)
Test of speed of reaction of file/ directory creation and removal blocking waits. A specified number ...
Definition: WaitConditionFile.cs:555
override void CopyFromPlain(VectorFunctionResults vectorFunctionRes)
Copies data to the current DTO from an vector function results results object.
Definition: VectorFunctionResultsDto.cs:174
static string DecorationFrameDashed(List< string > lines, int indent, int padLeft, int padRight, int padTop, int padBottom)
Returns a string containing the specified text lines in a frame made of a single layers of dashes ('-...
Definition: App.cs:2067
bool _UseConsole
Definition: ReporterMsg_Derived.cs:456
const string FuncNameHessianDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: ScalarFunctionScriptLoader.cs:109
int _maxNumParallelServers
Definition: CommandlineApplicationInterpreter.cs:2249
void RoundTripConversion_ShouldWorkForDateTime()
Definition: ToStringTypeConverterViaIConvertibleTests.cs:73
string GetReport(ReportLevel level, bool printDecorations, bool newLinesAfter)
Returns a stirng that contains reports for all logs contained in the logger.
Definition: LoggerMsg.cs:503
Defines classes that can be converted to/from Xml elements.
Definition: Vartypes.cs:186
readonly JsonPPStrategyContext _context
Definition: JsonPrettyPrinter.cs:20
static Complex Pow(Complex x, int power, int rootIndex)
Definition: Complex.cs:641
override double f2(double u, double v)
Definition: Function3d2d.cs:810
ScalarFunctionQuadratic()
Definition: FunctionScalarExamples.cs:317
Definition: XmlGeneric.cs:21
Func2dQuadratic(mat2 hessian, vec2 gradient0, double scalarTerm)
Creation of a quadratic 2D scalar function.
Definition: Function2d.cs:524
static Complex Log(Complex x)
Returns logarithm base 10 of the complex number x .
Definition: Complex.cs:619
static ScalarFunctionQuadratic ExampleFunctionDiagonalPureQuadratic2d()
Creates and returns quadratic function with diagonal Hessian.
Definition: FunctionScalarExamples.cs:392
const bool DefaultIsConstant
Default value of the property IModelParameter.IsConstant, such that default initialization can be uni...
Definition: ModelParameter.cs:106
virtual string Name
Scalar function name.
Definition: ScalarFunctionDto.cs:65
static void TestFactorials(int max)
Writes to the console the first n factorials.
Definition: UtilMath.cs:574
static void UpdateBounds< TEl >(Field< TEl > field, IBoundingBox bounds)
Updates the specified bounds (object of type IBoundingBox) in such a way that all non-null vectors on...
Definition: FieldGeneric.cs:165
string _activeFieldName
Definition: FieldCollectionGeneric.cs:177
string FunctionOutputPath
File path of the file for storing reduced approximated output values. Setter takes only pure file nam...
Definition: NeuralFileManager.cs:979
const string VarNameIndependentVariableNames
Definition: ScalarFunctionScriptLoader.cs:85
abstract IComparable GetSecondStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the second level of comparison from the argument.
static string DefaultMsgTestSpeed
Default message that requests a speed test to be performed on the other side (a sort of ping command)...
Definition: IpcStreamClientServerBase.cs:503
static double arctg2(double a, double b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:484
static readonly PhysicalConstant V
Volt, the SI derived unit of voltage, electric potential difference. V = J/(A result) = numrows^2 kg/...
Definition: Constants.cs:960
object _mainLock
Definition: CommandlineApplicationInterpreterBase.cs:921
string KeyTitles
A keyword string that introduces variable titles in the CSV file containing sampled data and / or dat...
Definition: SampledDataCsv.cs:606
ThreadPriority _threadPriority
Definition: IpcStreamServerBase.cs:390
bool IsValueDefined
Whether parameter vlaue is defined or not. This property has been added to the class such that for no...
Definition: IModelParameter.cs:83
override double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionRealParametric.cs:218
A class for storing TextWriters and some data associated with them (such as the name of the file from...
Definition: ReporterMsg.cs:3569
bool ThrowTestException
If true then the basic reporting function will throw an exception. This is intended predominantly for...
Definition: ReporterMsg.cs:3045
KleinBottle()
Constructor, no parameters.
Definition: KleinBottle.cs:24
Vector3d(vec3 v)
Initializes components of a 3D vector with components of the specified vector.
Definition: Vector3Dclass.cs:183
string _conditionExpression
Definition: CommandlineApplicationInterpreterBase.cs:1236
void SetValue(int which, double value)
Sets the specified function value.
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
Definition: Torus.cs:44
static void SetRandomPositiveDiagonallyDominant(IMatrix mat, double dominancyFactor)
Sets the specified matrix such that it is has random elements and is diagonally dominant with positiv...
Definition: MatrixBase.cs:1188
static double DefaultInputSafetyFactorMin
Default value for minimum input bound safety factor value in neural networks.
Definition: NeuralTrainingParameters.cs:1244
void AddHeading2(string headingText)
Adds a new level 2 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:706
void Clear()
Definition: SampleClasses.cs:467
override int Next(int minValue, int maxValue)
Returns a random number within a specified range (lower bound inclusive, UPPER BOUND EXCLUSIVE).
Definition: Random.cs:270
const new string ConstMyTest
Name of the command that performs my custom test.
Definition: ScriptAppBase.cs:320
int Length
Current length of the buffer or object represented by the buffer.
Definition: StringParserBuffer.cs:23
static void GenerateCoordinates2d(Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:1072
static void GenerateCoordinates1d(Field< vec3 > field, int dimx, double minxRef, double maxxRef)
Generates coordinates of a 1D unstructured grid from a regular grid with grid direction parallel to X...
Definition: FieldGeneric.cs:1120
override string RunThis(string[] arguments)
Script execution, defined just for formal reasons.
Definition: RealFunctionScriptBase.cs:48
ScalarFunctionScriptDtoBase()
Default constructor, sets IsNull to true.
Definition: ScalarFunctionDto.cs:39
int NumHiddenNeuronsFirstNum
Number of hidden neurons in first hidden layer.
Definition: NeuralTrainingParameters.cs:1686
static double NormPPlain(Vector a, double p)
Returns the p-norm (p-th root of sum of absolute values of components raised to the power of p) of th...
Definition: VectorBase.cs:596
virtual double NormInf
Infinity-norm, maximum absolute value of any component.
Definition: VectorBase.cs:476
string PasswordAlgorithmTypeString
Name of the algorithm used in password hashing.
Definition: UilCryptoAux1.cs:136
virtual int OutputLevel
Level of output for some of the interpreter's functionality (e.g. asynchronous command execution).
Definition: CommandlineApplicationInterpreterBase.cs:2064
FieldCollection< TVectorField, TVector > VectorFields
Gets the collection of vector fields of the current mesh.
Definition: UnstructuredMesh2dGeneric.cs:377
ThreadPriority _threadPriority
Definition: CommandlineApplicationInterpreter.cs:2174
string _invAnCommandPath
Definition: OptFileManager.cs:164
bool SaveConvergenceRms
Flag to enable RMS error convergence colection.
Definition: NeuralApproximatorBase.cs:1215
T DeserializeFile< T >(string filePath)
Deserializes an object from JSON - serialized file and returns it.
Definition: SerializerBase.cs:191
IVector GetConstraintGradient(int which)
Returns the gradient of the specified constraint function.
Client to the pipe server (classes derived from ClientServerStreamBase2).
Definition: ClientServerStreamBase2_Copy.cs:943
void RemoveCommandReference(int interpreterId, string commandName)
Removes command uage reference. This method should be called whenever a command is uninstalled form i...
Definition: InterpreterCommandLine.cs:119
NamedPipeClientStream _clientPipe
Definition: NamedPipes_Copy.cs:516
static void GetProcesses(string processName, bool caseSensitive, bool isFullString, ref List< Process > processList)
Gets all processes with the specified name, and puts them to tehe specified list.
Definition: UtilSystem.cs:657
virtual TTensorField CreateTensorField(string fieldName, string fieldDescription)
Creates and returns a new tensor field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh3dGeneric.cs:627
double TrainingCpuTime
CPU time spent for training.
Definition: NeuralTrainingParameters.cs:581
NamedPipeClientBase()
Definition: NamedPipes_Copy.cs:381
const string CryptoHelpConvert
Definition: ScriptAppBase.cs:1409
virtual void ModuleInitializationBefore()
A method called before other initialization parts of the module.
Definition: App.cs:739
string GetErrorsReport()
Returns a string that contains reports for all errors contained in the logger. If there are no logs t...
Definition: LoggerMsg.cs:551
abstract bool Condition()
Returns true if unblocking condition is satisfied, and false otherwise.
static void ArrayDivide(IMatrix a, IMatrix b, ref IMatrix result)
Element-by-element division. WARNING: dimensions of operands must match, otherwise an exception is th...
Definition: MatrixBase.cs:2511
static double Max(double a, double b, double c, double d)
Largest of four numbers.
Definition: UtilMath.cs:912
ReportDelegate ReportDlgTextLogger
Delegate that performs reporting (actually logging) via text writer.
Definition: ReporterMsg.cs:5493
List< string > _auxVarNames
Definition: CommandlineApplicationInterpreterBase.cs:1305
Tkey Key
Returns the key.
Definition: Utils.cs:3148
virtual SerializationTestArrayMember SingleElement
Definition: SerializerBase.cs:765
int NumUncompletedJobs
Gets the number of idle job runners that are currently available on the dispatcher.
Definition: ParallerJobDispatcherBase.cs:1221
bool CalculatedHessian
Indicates whether calculation of function Hessian is/was requested.
Definition: FunctionScalarResultsInt.cs:222
static int ReadInteger(ref long number, string str, int startpos, bool skipspaces)
Reads an integer from a string, starting at a specified position. Returns the position of the first c...
Definition: StringParser0.cs:125
long _Value
Definition: Vartypes.cs:91
abstract double double phiDerivative
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:31
VectorDtoBase[] ConvergenceErrorsTrainingMaxTable
Definition: SerializationDtoNeuralApproximator.cs:175
string _msgTestSquare
Definition: IpcStreamClientServerBase.cs:546
static bool operator>=(Counter a, Counter b)
Definition: Scalar.cs:530
virtual void ServerCalculateMappingApproximation()
Performs neural network-based approximation at prescribed reduced input parameters and saves results....
Definition: NeuralFileManager.cs:1294
VectorDtoBase ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: SerializationDtoNeural.cs:107
virtual void PrintDefinitions()
Prints all definitions (preinstalled and user defined).
Definition: ExpressionEvaluatorCompiled.cs:420
bool PrintNotes
If true then various events and actions will be notified by console output (for testing purposes only...
Definition: WaitConditionFile.cs:167
void getIndices(int index, out int i1, out int i2)
Converts linear (contiguous) index to 2 separate indices for 2 dimensions.
Definition: StructuredField2dGeneric.cs:145
override string ToString()
Returns string representation of the 3D vector.
Definition: Matrix3D.cs:342
bool CompareByVerificationMaxError
Whether Maximal absolute verification errors from convergence tavble are compared.
Definition: NeuralTrainingParameters.cs:2990
List< int > EpochNumbers
List of epoch numbers at which convergence data was sampled. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:194
static Assembly IglibAssembly
Returns assembly of the IGLib base assembly.
Definition: UtilSystem.cs:2174
IMatrix _refHess
Definition: FunctionScalarBase.cs:43
abstract void ClearExternalAlgorithm()
Clears eventual external algorithm used as proxy object to perform operations.
virtual void SetHessians(List< IMatrix > values)
Sets functios' Hessians. If CopyReferences=true (false by default) then only the list reference is co...
Definition: FunctonVectorResults.cs:450
const string AssemblyHelpLoad
Definition: ScriptAppBase.cs:4303
int _sleepTimeMs
Definition: ParallelJobServerBase.cs:136
Matrix(IMatrix A)
Constructs a matrix from another matrix by copying the provided matrix components to the internal dat...
Definition: Matrix.cs:44
virtual double GetGradient(int index)
Returns the specified component of the function gradient.
Definition: FunctionScalarResults.cs:295
override bool CanCalculateDiscrepancy
Definition: SpeedTestInfo.cs:27
virtual void Init(string password, byte[] salt, int numIterations)
Definition: UtilCryptoAux.cs:700
void SetObjectiveGradientReference(IVector reference)
Sets the objective function gradient. Only the reference is copied.
double SimulationTime
Simulation time.
Definition: SimKosecFileManager.cs:79
int NumEqualityConstraints
Number of equality constraints.
Definition: OptimizationInputData.cs:33
void CapturedVarCreation_WorksCorrectlyWithCastValue()
Definition: CapturedVarTests.cs:322
static ObjectRegister< ExampleIRegistrable > _register
Static object that providees object register and generates IDs for this class:
Definition: UtilIdRegistration.cs:318
static xdouble Asin(xdouble a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:1614
Matrix3d(IMatrix m)
Constructor. Initializes components of a 3D matrix with components of another matrix....
Definition: Matrix3DClass.cs:45
string ScriptChoice
Name of the selected script type that is run.
Definition: ApplicationCommandLineBase.cs:59
virtual string CmdIsModuleLoaded(CommandThread thread, string cmdName, string[] args)
Executinon method for command that checks if module is loaded. Writes to condole whether module is lo...
Definition: CommandlineApplicationInterpreter.cs:5086
override vec3[] Coordinates
Definition: GrObjects.cs:449
virtual bool CalculatedConstraintHessians
Indicates whether calculation of constraint functions Hessian is/was requested.
Definition: AnalysisResults.cs:1095
bool Equals(BaseClass compared)
Definition: SampleClasses.cs:30
const string KeyAppSettingsWarnings
Definition: ReporterMsg.cs:2337
string Description
Definition: SerializerBase.cs:611
static readonly PhysicalConstant MoonEquatorialRadius
Moon equatorial radius, 1,738.14 km.
Definition: Constants.cs:1569
MapImputElementDefinitionDto[] Input
Definition: NeuralMapData.cs:161
string AppMyTest(string[] arguments)
Test action.
Definition: ScriptAppBase.cs:5341
ParallelServerState State
Gets the state of the current job runner.
Definition: ParallelJobServerBase.cs:160
char _decimalPoint
Definition: StringParser.cs:142
vec2 Normalized()
Returns normalized this 2D vector.
Definition: Matrix2D.cs:148
void AddImageCaption(string captionText)
Adds Image caption to the current HTML document.
Definition: HtmlWriter.cs:844
virtual string AppAsymKeyInfo(string appName, string[] args)
Executes command-line action - prints information about asymmetric keys specified by command-line par...
Definition: UilCryptoAux1.cs:3394
const string ArgPasswordString
Specification that password string follows.
Definition: UtilCryptoAux.cs:444
virtual int ResolvePasswordParameters(int whichFreeParameterkeyLength=0, int whichFreeParameterNumIterations=1)
Resolves password related parameters such as password, salt, and generated key length.
Definition: UilCryptoAux1.cs:3029
virtual string AssemblyFunctionLoaded(string appName, string[] args)
Executes embedded application - writing to the console list of loaded assemblies.
Definition: ScriptAppBase.cs:4259
string _modulesDir
Definition: App.cs:1366
ModelParameter(string name, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=DefaultIsDefaultWhenValueNotDefined)
Minimal (very terse) constructor. name Meaning and behavior of parameters that are defined for this c...
Definition: ModelParameterTyped.cs:60
static void MultiplyTranspVec(IMatrix a, IVector b, IVector result)
R=A^T*b. Multiplies a transposed matrix with a vector and stores the result in the specified result v...
Definition: MatrixBase.cs:4151
CommandThread(ICommandLineApplicationInterpreter interpreter)
Definition: CommandlineApplicationInterpreterBase.cs:732
virtual string CommentEnd
String that ends a comment.
Definition: InterfaceInterpreterBase.cs:324
static ApplicationBase _global
Definition: App.cs:371
void Clear()
Removes all elements from the current list.
Definition: SortedUniqueItemList.cs:178
Evaluation of penalty functions.
Definition: AnalysisResults.cs:2345
Object store. Objects of the specified type can be stored here for later reuse (efficiency improvemen...
Definition: UtilObjectStore.cs:69
virtual double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionScalarRadial.cs:525
XmlNode GetNode(string xpath)
Returns the first node in the current document that satisfy the specified XPath expression.
Definition: XmlUtilities.cs:363
object Convert(object source, Type targetType)
Definition: FromStringTypeConverterViaIConvertible.cs:40
object _internalLock
Definition: SimKosecFileManagerBase.cs:86
virtual IVector GetCopy()
Returns a deep copy of the current object.
Definition: VectorBase.cs:324
void AddRow()
Adds a new row at the end of the data table.
Definition: StringTable.cs:430
string _functionArgumentName
Definition: RealFunctionScriptBase.cs:97
virtual void RemoveReferencedAssembly(string assemblyFile)
Removes the specified assembly from the list of referenced assemblies. If the specified assembly does...
Definition: Loader.cs:1072
const string TemplateInputFileNameDefault
Default name for template for input file. In optimization, this file is read, modified according to p...
Definition: SimKosecConst.cs:38
virtual double Value(vec2 parameters)
Calculates and returns value of the current 2D scalar function.
Definition: Function2d.cs:697
static void DyadicProduct(IVector a, IVector b, IMatrix result)
Calculates dyadic product of two vectors and stores the result in the specified result matrix....
Definition: VectorBase.cs:1927
Parallel job server. Waits for job requests and executes them in a parallel thread.
Definition: ParallelJobServerBase.cs:38
Func3dLinear()
Definition: Function3d.cs:475
void AddCryptoCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new cryptography - related embedded application's command (added as sub-command of the base co...
Definition: ScriptAppBase.cs:1110
vec3 Curve(double t)
3D vector function of scalar argument, which gives a 3D representation of the knot....
override double RefSecondDerivative(double arg)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: RealFunctionScriptExample.cs:84
virtual void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
Definition: FunctionScalarResults.cs:455
virtual void InvalidateNetworkDependencies()
Invalidates all data that must be re-calculated after the neural network itself changes....
Definition: NeuralApproximatorBase.cs:2461
ValueType _defaultValue
Definition: ModelParameterTyped.cs:91
void GetPointCoordinates(PointType pt, ref IVector coord)
Gets vector of coordinates of the specified point and stores it in the specified variable.
void SpeedTestInfo_ParameterlessConstructorWorksCorrectly()
Definition: UtilSpeedTestingTests.cs:59
override string RunThis(string[] arguments)
Performs the action of this object. Override this in derived classes!
Definition: LoadableScriptOpt.cs:353
TTensorField _activeTensorField
Definition: UnstructuredMesh2dGeneric.cs:539
int _position
Definition: ParserStateStruct.cs:25
AnalysisResults _anResults
Definition: OptFileManager.cs:656
List< OutputMappingDefinitionElement > _output
Definition: NeuralMapData.cs:574
ElementType _currentElement
Definition: VectorBase.cs:159
override int GetHashCode()
NamedPipeClientBase(string pipeName, string serverAddress, string requestEnd, string responseEnd, string errorBegin)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: IpcNamedPipes.cs:412
int Visible
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:105
static readonly PhysicalConstant b
Barn, non-SI unit of area, s = 10^-28 numrows^2. Use is not encouraged.
Definition: Constants.cs:1250
override void CopyFromPlain(MappingDefinitionElement obj)
Definition: NeuralMapData.cs:109
string _commentEnd
Definition: InterfaceInterpreterBase.cs:110
bool Equals(ExplicitlyConvertibleToDerived compared)
Definition: SampleClasses.cs:221
override double f1(double u, double v)
Definition: Function3d2d.cs:1574
bool _wasCommandExecuted
Definition: CommandlineApplicationInterpreterBase.cs:1829
static void SaveJson(VectorFunctionScriptController functionController, string filePath, InputOutputDataDefiniton dataDefinition)
Saves (serializes) the specified script-based vector function controller to the specified JSON file....
Definition: VectorFunctionScriptController.cs:654
String WebPage
Definition: App.cs:853
override double NextDoubleInclusive()
A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than 1....
Definition: Random.cs:233
static int MaxStringLength
Get or sets maximal length for generated strings (must be GREATER THAN 0).
Definition: UtilString.cs:30
void ReadElementTitles()
Reads titles of input and output data elements from the CSV, from the current position on (inclusivel...
Definition: SampledDataCsv.cs:2681
static void Append(string str, string filePath)
Saves the specified string to a specified file. If the file already exists then string is appended at...
Definition: UtilString.cs:856
virtual bool IsFeasible()
Returns true if the current analysis results represent a feasible point. Feasible point is one where ...
Definition: AnalysisResults.cs:1376
static readonly PhysicalConstant EarthDensity
Earth averge density, 5.5153e3 kg/numrows^3.
Definition: Constants.cs:1456
bool _isPublicParameters
Definition: UtilCryptoAux.cs:723
static Matrix3d Create(Matrix3d mat)
Creates and returns a 3D matrix that is a copy of another 3D matrix.
Definition: Matrix3DClass.cs:139
virtual bool CalculatedConstraints
Indicates whether calculation of constraint functions is/was requested.
Definition: AnalysisResults.cs:1087
int SkipToBracketLevel(string str, int beginpos, char open, char close, int targetlevel)
Returns position of the first character that has the specified nesting messagelevel with respect to o...
Definition: StringParser0.cs:588
void PrepareResultStorage()
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
static bool ToBoolean(string strsetting)
Converts a string representation of a boolean setting to boolean.
Definition: UtilString.cs:682
Thread ThreadObject
Definition: WaitConditionFile.cs:55
static double randgauss(double mean, double standardDeviation)
Returns a Gaussian distributed random number with the specified mean and standard deviation.
Definition: UtilMath.cs:389
static int CsvColumnIndex(string[][] values, string fieldName, bool caseSensitive)
Returns index of thr column that contains data with the specified name in a 2D jagged array of values...
Definition: UtilCsv.cs:100
void CheckRetrievedElementTypeForNestedGenericCollectionOrArray< CollectionType, ElementType >()
Definition: IGLibCoreReflectionTests.cs:145
int TextLoggerFlush()
Flushes all text writers of the Writer's TextLogger subsystem.
Definition: ReporterMsg.cs:5402
int GetNumViolatedConstraints()
Returns number of violated constraints in the current analysis results. Specific constraint is violat...
static long fac(int factor)
Returns factorial of the specified number.
Definition: UtilMath.cs:592
const string ArgCertificateStoreLocation1
Specification that certificate store location (current user or local machine) follows.
Definition: UtilCryptoAux.cs:408
static char DefaultMessageFalseSeparator
Definition: ClientServerStreamBase_Copy.cs:127
void AddIndexField(string fieldName, string fieldDescription)
Creates a new index field of dimensions that match dimensions of the current 1D structuredmesh,...
Definition: UnstructuredMesh1dGeneric.cs:166
string[] InterpreterArguments
Interpreter arguments used when script is run through interpreter.
Definition: ApplicationCommandLineBase.cs:111
int Count
Definition: SampleClasses.cs:451
void ReadAppSettings()
Reads common reporter settings (i.e. settings that are not assigned for any named group) from the app...
Definition: ReporterMsg.cs:2451
void Inverse(ref IMatrix inv)
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the s...
Definition: MatrixDecompositions.cs:699
int _outputLevel
Definition: NeuralApproximatorBase.cs:594
color Color
Definition: GrProperties.cs:117
void StartThreadParameterized(object obj)
The parameterized start method of the current tracked thread. Calls the delegate that has been passed...
Definition: TracedThread.cs:115
int ClientJobId
Client's Id of the job contained in the current job data container.
Definition: ParallelJobContainerBase.cs:147
bool KeyAndDataInSameRow
Whether keys and data are in the same row in data definition section wnen writing to CSV format.
Definition: SampledDataCsv.cs:1416
static int EigenSystem2d(Matrix2d a, ref Matrix2d eigenvec, ref Vector2d eigenval)
Calculates eigenvectors and eigenvalues of a 2x2 matrix a and stores eigenvectors to lines of eigenve...
Definition: Matrix2DClass.cs:673
void FromString_ShouldConvertToInt(string input, int expected)
Definition: ToStringTypeConverterViaParseReflectionTests.cs:26
delegate void ReportDelegate(ReporterBase reporter, ReportType messagetype, string errorlocation, string errormessage)
Launches a message (report) about some event.
Func2dLinear()
Definition: Function2d.cs:431
int _lastNumStoredParameters
Definition: CommandlineApplicationInterpreterBase.cs:1990
string _filename
Definition: XmlUtilities.cs:1114
virtual void AllocateConstraintGradient(int which)
Allocates space for the specified constraint function gradient.
Definition: AnalysisResults.cs:918
void AddTensorField(string fieldName, string fieldDescription)
Creates a new tensor field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: UnstructuredMesh2dGeneric.cs:625
virtual double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
Definition: FunctionScalarResults.cs:223
vec3[] _coord
Definition: GraphicalObjectsBase.cs:124
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:307
static color Scale(color[] colors, double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:547
AnalysisResults(int numParameters, int numConstraints, bool reqGradients)
Specified number of parameters and constraints, 1 objective. No gradients required.
Definition: AnalysisResults.cs:169
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system is nonsingular.
Definition: MatrixDecompositions.cs:1445
override bool ValueDefined
Tells whether value of the function is defined by implementation. Always true for this case.
Definition: FunctionScalarExamples.cs:241
virtual CharType NextChar
Definition: ParserBase.cs:30
static ColorScale CreateRainbowFull(double minValue, double maxValue)
Creates and returns a continuous color scale that runs from violet till red color and passes rainbow ...
Definition: ColorScale.cs:668
static int Index(IMatrix mat, int row, int column)
Calculates and returns flat index corresponding to the specified row and column indices of the specif...
Definition: MatrixBase.cs:503
Complex AbsoluteSquare(Complex a)
Definition: NumberOperationsComplex.cs:71
MapDataDefinitionDto()
Definition: NeuralMapData.cs:155
UnstructuredMeshGeometry2d()
Constructs a new empty unstructured grid (no elements contained) with no name and no description.
Definition: UnstructuredMeshGeometry2dGeneric.cs:20
static bool operator<(xdouble a, xdouble b)
Definition: UtilMath.cs:1432
IVectorFactory GetFactory(Type type)
static Complex FromPolarCoordinates(double r, double phi)
Returns a complex number initialized by polar coordinates.
Definition: Complex.cs:65
static xdouble abs(xdouble a)
Absolute value.
Definition: UtilMath.cs:1598
ParallelJobContainerBase()
Constructs a new parallel data container.
Definition: ParallelJobContainerBase.cs:47
long ToLong(double tolerance=0.0)
readonly string Command_BeginRepeat
Definition: CommandlineApplicationInterpreter.cs:628
abstract void CalculateOutput(IVector input, ref IVector output)
Calculates and returns the approximated outputs corresponding to the specified inputs,...
int EpochBundle
Number of epochs in boundle.
Definition: NeuralTrainingParameters.cs:1461
override bool DerivativeDefined
Definition: FunctionReal.cs:1365
virtual int Dim
Returns vector's dimension (nmber of components / elements).
Definition: VectorBase.cs:89
override bool ValueDefined
Definition: FunctionRealInterpolation.cs:655
void LoadNetwork(string filePath)
Restores neural network from a file where it has been stored before.
Definition: NeuralApproximatorBase.cs:1395
readonly ElementType[] _array
The underlying array containing the elements. The referenced external array should not change for thi...
Definition: ArrayAccessors.cs:33
int[] EpochNumbers
Definition: SerializationDtoNeuralApproximator.cs:173
const string KeyLoggingLevel
Definition: ReporterMsg.cs:2307
static void SaveMath(IAnalysisResults anres, string filePath)
Saves the specified analysis results to a file. If the file already exists then it is overwritten.
Definition: AnalysisResults.cs:1855
InputOutputDataDefiniton DataDefinition
Definition: NeuralMapData.cs:1084
bool _asyncEndInvokeInCallback
Definition: CommandlineApplicationInterpreter.cs:2510
Definition: IsExternalInit.cs:7
override VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:1607
static string _defaultGenericResponse
Definition: ClientServerStreamBase2_Copy.cs:248
bool IsSkipOverwrites
If true then eventual file overwrites are automatically wasSkipped by the relevant operation.
Definition: UilCryptoAux1.cs:429
WeightPol5(double Kx, double Sx)
Definition: FunctionRealWeight.cs:853
static RealFunction GetReciprocalPower(int power, double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:198
virtual string CmdNameNlpSimp
Command name - taban2d.
Definition: InterfaceInv.cs:182
static ColorScale Create(double minValue, double maxValue, params color[] scaleColors)
Creates and returns a continuous color scale that runs through the specified colors.
Definition: ColorScale.cs:604
override void AddField(int numElements, string fieldName, string fieldDescription)
>Call to this method is invalid for the current type. Call the method with three dimensions instead.
Definition: FieldCollectionGeneric.cs:114
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: Matrix3D.cs:125
int NumHiddenNeuronsSecondMax
Maximum number of hidden neurons in second hidden layer.
Definition: NeuralTrainingParameters.cs:1765
static void printUsage()
Definition: PortScannerSimple.cs:124
List< DataColumnDefinition > OutputColumnDefinitions
Contains definitions for output data columns, sorted by element indices.
Definition: SampledDataCsv.cs:1240
void Example11_2_ExportConicalSpiralLogarithmic3DTube(int numLongitudinal, int numTransverse, double radius, double alpha=1.5, double a=1.0, double k=0.01)
Creeates a tubular surface mesh from a helix parameterization, HelixCurve3D.
Definition: TubularSurfaceExportExamplesTests.cs:809
const string ArgForceDelete
If files are to be deleted, permission is not asked for and deletion is forced.
Definition: UtilCryptoAux.cs:576
bool DoRunJobByServer
Definition: ParallelJobServerBase.cs:479
const string IGLibCodeDocumentationUrl
Definition: Utils.cs:3108
bool _calculatedObjective
Definition: AnalysisResultsDto.cs:208
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:627
void RemoveAllCommands()
Removes all commands from the current interpreter.
string[] CommandlineArguments
Command-line arguments.
Definition: App.cs:251
IMatrix GetCopy()
Creates and returns a copy of the current matrix.
static readonly PhysicalConstant k
kilo- (k), SI prefix for 10^3.
Definition: Constants.cs:654
double GetSumPenaltyTerms(IPenaltyEvaluator evaluator)
Returns sum of the penalty terms corresponding to all constraint, calculated by the specified penalty...
const string ArgAsymAlgorithmType
Specification of asymmetric algorithm type follows.
Definition: UtilCryptoAux.cs:352
IVector _b
Definition: FunctionScalarExamples.cs:413
static readonly PhysicalConstant u
Atomic mass unit, non-SI unit of mass, u = 1.66053886e-27 kg.
Definition: Constants.cs:1171
static double cos(double a)
Returns the cosine of the specified angle.
Definition: UtilMath.cs:454
static string _newLineReplacement
Definition: ReporterMsg.cs:5696
string Name
Name of the field.
Definition: FieldGeneric.cs:52
static long factorial(int factor)
Returns factorial of the specified number.
Definition: UtilMath.cs:1314
static IList< string > GetAssemblyResxResources(Assembly assembly, ref IList< string > resourceNames, bool clearBefore=true)
The same as GetAssemblyResxResources(Assembly, IList<string>, bool), except that list of resources is...
Definition: UtilSystem.cs:3937
virtual string VarNameGradConstraintMom
Definition: InterfaceInv.cs:147
void StartSingleJob()
Starts a single job in a new therad taht is created for this purpose.
Definition: ParallelJobServerBase.cs:625
mat2 NormalizedInfinity()
Returns this matrix normalized with infinity norm.
Definition: Matrix2D.cs:601
virtual void TextLoggerPrintIntro(TextWriter tw)
Writes to a textwriter the introduction text that is usually printed before logging starts.
Definition: ReporterMsg.cs:4826
static Complex Zero
Gets the complex 0 (a constant).
Definition: Complex.cs:371
Function()
Definition: ScalarFunctionScriptExample.cs:45
override void NullifyServerPipeLine()
Closes the server pipe.
Definition: NamedPipes_Copy.cs:178
static SymmetricAlgorithm GetSymmetricEncryptionAlgorithm(SymmetricAlgorithmType algorithmType)
Returns the appropriate symmetric encryption algorithm according to the specified hash type,...
Definition: UtilCrypto.cs:1620
string _TextWriterIntroText
Definition: ReporterMsg.cs:3987
int NumInfos()
Returns number of info logs that logger contains.
Definition: LoggerMsg.cs:437
static List< string > _imageExtensionsDotNet
Definition: UtilSystem.cs:4178
TVectorField ActiveVectorField
Gets active vector field. Has protected setter.
Definition: UnstructuredMesh1dGeneric.cs:393
TempFileStream(FileAccess access, FileShare share)
Definition: UtilSystem.cs:40
int Order
Returns order of the polynomial.
Definition: FunctionReal.cs:1268
void AddHeading2(string headingText, params string[] attributeNameValuePairs)
Adds a new level 2 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:698
override void Wait()
Blocks until the specified condition gets satisfied. See class description for details.
Definition: WaitConditionFile.cs:888
static xdouble ch(xdouble a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:1686
Reporters that utilize logging messages to files. IReporterTextLogger typically outputs (to a file) m...
Definition: ReporterMsg.cs:455
double MomentumMax
Maximum limit for momentum.
Definition: SerializationDtoNeural.cs:739
void ResetMin()
Sets all components of vector of minimal coordinates to UndefinedMin.
Definition: BoundingBox.cs:567
string LastRequestString
Returns the last request string.
Definition: ClientServerStreamBase2_Copy.cs:430
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: Vector3Dclass.cs:383
void SaveNetwork(string filePath)
Saves the state of the neural network to the specified file. If the file already exists,...
Definition: NeuralApproximatorBase.cs:1383
static IntPtr CommandLineToArgvW([MarshalAs(UnmanagedType.LPWStr)] string lpCmdLine, out int pNumArgs)
string Name
Name of the parameter, as is used in the model.
Definition: IModelParameter.cs:48
void AddDataStructuresCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new data structure- related embedded demo application's command (added as a sub-command of the...
Definition: ScriptAppBase.cs:5131
override void HessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian matrix) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:270
void SetCommandlineArguments(string[] args)
Sets command-line arguments of the application.
Definition: App.cs:268
static ITestOutputHelper Console
This property makes possible to use the name Console instead of Output in test method of this class,...
Definition: TestBase.cs:55
static double arth(double x)
Inverse hyperbolic tangent.
Definition: UtilMath.cs:527
void SetPoints(params PointType[] points)
Sets the points to be contained in the current point cloud.
Definition: PointCloud.cs:144
virtual void ReadOutputValues(ref IVector outputValues)
Reads optimization output values form the file at a standard location.
Definition: SimKosecFileManagerBase.cs:1398
virtual int Dimension
Dimension of the parameter space.
Definition: ScalarFunctionDto.cs:60
void SpeedTestInfo_BehaviorWhenExceptionThrownAfterObtainingResultsIsCorrect()
Definition: UtilSpeedTestingTests.cs:288
virtual void AppendValue(IVector value)
Appends a vector value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:529
static void AddDefaultAssembliesExtNeuralApp()
Appends list of assemblies for dynamic testing of software in the ExtNeuralApp project.
Definition: App.cs:2322
static void GenerateCoordinatesPlain(Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:579
virtual double GetHessian(int rowIndex, int columnIndex)
Returns the specified component of the function's Hessian.
Definition: FunctionScalarResults.cs:345
TIndexField ActiveIndexField
Gets active index field. Has protected setter.
Definition: UnstructuredMesh3dGeneric.cs:85
List<(string ParameterName, object ParameterValue)> Parameters
List of parameters of the test (if any). <pra>To Consider: should this be repalced by ModelParameterS...
Definition: SpeedTestInfo.cs:68
string[] _gradientDefinitionStrings
Definition: ScalarFunctionScriptBase.cs:92
virtual IModelParameter UpdateValue(object newValue)
Updates the value of the current parameter object, setting it to newValue . IsValueDefined becomes tr...
Definition: ModelParameter.cs:220
string _templateInputFilename
Definition: SimKosecFileManagerBase.cs:265
virtual OptFileManager CreateOptFileManager(string directoryPath)
Creates and returns an appropriate file manager for optimization file client/server....
Definition: OptFileAnalysisClient.cs:42
override double f3(double u, double v)
Definition: Function3d2d.cs:1549
char ForWhichCharacter
Definition: DefaultCharacterStrategy.cs:13
string[] GetRegisteredTypeNames()
string GetWarningsReport(bool printDecorations, bool newLinesAfter)
Returns a string that contains reports for all warnings contained in the logger. If there are no logs...
Definition: LoggerMsg.cs:559
double _last
Definition: GridGenerator1dBase.cs:257
XmlNode GetNextNode(XmlNodeType NodeType, string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1506
double zy
Definition: Matrix3D.cs:377
static Quadratic GetQuadraticInterpolation(double x1, double y1, double x2, double y2, double x3, double y3)
Creates and returns quadratic interpolation function with specified two values.
Definition: FunctionRealInterpolation.cs:280
string[] _functionNames
Definition: VectorFunctionScriptController.cs:410
string _keyComment
Definition: SampledDataCsv.cs:501
BoundingBoxDtoBase InputNeuronsRange
Definition: SerializationDtoNeuralApproximator.cs:130
Server that creates a named pipe, listens on its input stream, and sends responses to the client.
Definition: NamedPipes_Copy.cs:28
XmlNode NextOrCurrentElement()
Moves the current node to the current or the first sibling element after the current node.
Definition: XmlUtilities.cs:2273
void AddIndexField(string fieldName, string fieldDescription)
Creates a new index field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: UnstructuredMesh3dGeneric.cs:166
XmlNode CreateNode(XmlNodeType type, string name, string value, string namespaceURI)
Creates a new node and sets this node as treated node. If there already exist a newly created node th...
Definition: XmlUtilities.cs:2615
PasswordAlgorithmBase PasswordAlgorithm
Password hashing algorithm.
Definition: UilCryptoAux1.cs:141
static bool IsBoolean(string str)
Returns a boolean value indicating whether the specified string can represent a boolean value.
Definition: UtilString.cs:724
static Matrix3d Copy(Matrix3d m)
Returns a copy of the specified 3D matrix.
Definition: Matrix3DClass.cs:721
static string _defaultRequestEnd
Definition: ClientServerStreamBase2_Copy.cs:64
static Complex Parse(string s)
Parses complex number from its string representation and returns it. Exception is thrown if the value...
Definition: Complex.cs:1270
const string ArgRecursiveDirectoryLevel1
Specification of a level of recursive directory search of input files follows.
Definition: UtilCryptoAux.cs:614
virtual double GetGradient(int which, int index)
Returns the specific function gradient component.
Definition: FunctonVectorResults.cs:378
List< double > _EpochErrorsAbs
Definition: NeuralTrainingParameters.cs:644
string ValueDefinitionString
Expression that defines function value.
Definition: ScalarFunctionScriptLoader.cs:477
Provides functionality for retrieving settings from various sources such as application settings file...
Definition: SettingsRreader.cs:176
Complex Sqrt(Complex a)
Definition: NumberOperationsComplex.cs:77
Matrix(IVector diagonal)
Constructs a square diagonal matrix with specified diagonal values.
Definition: Matrix.cs:133
static bool DefaultEnableArchitectureTest
Default flag for enabling different layers in neural networks.
Definition: NeuralTrainingParameters.cs:1258
virtual void WriteCommandFile(bool appendContents)
Writes the current contents of the interpreter command file to the physical file. After this method i...
Definition: InterfaceInterpreterBase.cs:665
static ColorScale CreateGray(double minValue, double maxValue)
Creates and returns a continuous color scale with various hues of gray.
Definition: ColorScale.cs:914
UnStructuredMesh2d()
Constructs a new empty 2D mesh (no elements contained) with no name and no description.
Definition: test_to_delete.cs:25
@ Rijndael
Alias for Rijndael (used in Advanced Encryption Standard - AES, only that AES has block size limited ...
static void CloseCertificateStores(IList< X509Store > stores)
Closes all certificate stores on the list.
Definition: UtilCrypto.cs:4306
static void MapCoordinates(Field< vec3 > referenceField, Field< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a set of unstructured points (point cloud) from a reference set according to...
Definition: FieldGeneric.cs:272
static TimeSpan GetTimeSpan(double seconds)
Gets a timespan object that is equivalent to the specified time in seconds, and returns it.
Definition: UtilTime.cs:397
WaitFileEventLatenceBase(string fileOrdirectoryPath)
Definition: WaitConditionFile.cs:984
Definition: ToStringTypeConverterViaIConvertibleTests.cs:10
bool IsDeleteAllVersions
Specifies whether all versions of a file (e.g. original, encrypted, and decrypted) are allowed to be ...
Definition: UilCryptoAux1.cs:418
override void InitExpressionEvaluator()
Contains initializations for the particular class.
Definition: ExpressionEvaluatorJs.cs:44
string ToString(string format, IFormatProvider formatProvider)
Returns a string representation of a counter in the specified way.
Definition: Scalar.cs:586
ScalarFunctionRadialOneParametric()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionScalarRadial.cs:220
AnalysisResults(int numParameters, int numConstraints)
Specified number of parameters and constraints, 1 objective. No gradients required.
Definition: AnalysisResults.cs:158
static double DistancePlain(IVector a, IVector b)
Returns Euqlidean distance between the specified two vectors.
Definition: VectorBase.cs:674
const string DefaultFunctionArgumentGradientName
Default name of gradient vector in function arguments in script functions.
Definition: ScalarFunctionScriptLoader.cs:74
string Name
Name of the parameter, as is used in the model.
Definition: IModelParameter.cs:49
static int HexCharToInt(char hex)
Returns value of the specified hexadecimal character (e.g. 9 for '9', 10 for 'a' or 'A',...
Definition: Utils.cs:2462
int NumParameters
Number of parameters.
Definition: Analysis.cs:32
const double Defaulta
Definition: Function3d2d.cs:1570
List< IVector > _prescribed
Definition: NeuralApproximatorBase.cs:2266
VectorStore()
Constructs a new Vector store of unspecified dimensions.
Definition: VectorBase.cs:3202
virtual string CmdPrintVariable(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3161
Vector2d(Vector2d v)
Copy constructor. Initializes components of a 2D vector with components of the specified vector.
Definition: Vector2Dclass.cs:174
AnalysisResults()
1 parameter, no constraints, 1 objective function. No gradients required
Definition: AnalysisResults.cs:128
void InvalidateFunction()
Invalidates function definition. The first subsequent call to Function getter will thus recompiile th...
Definition: ScalarFunctionScriptLoader.cs:172
Base class for scalar functions of 2 variables (implementations of the IFunc2d interface)....
Definition: Function2d.cs:93
bool _reqHessian
Definition: FunctionScalarResults.cs:72
double a1
Returns the linear term coefficitne of the cubic function.
Definition: FunctionRealInterpolation.cs:998
IVector ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: NeuralTrainingParameters.cs:1573
void KillThreads()
Forces all the server threads to stop, even if in the middle of eecution of a job....
Definition: ParallerJobDispatcherBase.cs:594
double double phiDerivative
Definition: ICurve3DCylindricalParameterization - Copy.cs:24
object _mainLock
Definition: SimKosecFileManagerBase.cs:79
List< TextWriter > TextLoggerWriters(bool writableonly)
Returns a list of all text writers that are currently used by the reporter's text logger....
Definition: ReporterMsg.cs:5296
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: Matrix2D.cs:517
EnneperSurface()
Definition: Function3d2d.cs:1422
Definition: ScalarFunctionScriptExample.cs:41
virtual ScriptLoaderBase ScriptLoader
Script loader that is used to load loadable script classes that will be used for execution of command...
Definition: LoadableScriptInterpreter.cs:60
Interface for all implementations of read-write character buffer. Classes that implement this interfa...
Definition: StringParserBuffer.cs:70
StructuredMesh3D_03(int numPoints1, int numPoints2)
Definition: StructuredMesh3D_03.cs:25
mat3(vec3 xrow, vec3 yrow, vec3 zrow)
Initializes 3D matrix structure with the specified components.
Definition: Matrix3D.cs:411
static long BinomialCoefficient(long n, long k)
Returns binomial coefficient n over k .
Definition: UtilMath.cs:1322
SpeedTests(ITestOutputHelper output)
This constructor, when called by the test framework, will bring in an object of type ITestOutputHelpe...
Definition: SpeedTests.cs:32
double Distance(PointContainerType boxedPt1, PointType pt2)
Returns distance between the specified point encolosed in an PointContainer{...} object and a non-enc...
Definition: DistanceComparer.cs:631
Matrix3d Inverse
Gets inverse of the current matrix.
Definition: Matrix3DClass.cs:666
virtual Assembly Assembly
Gets or sets the assembly that has been compiled and loaded into the current application domain from ...
Definition: Loader.cs:1413
const double aaDefault
Default value of aa.
Definition: MoebiusStrip.cs:34
void GetErrorsVerificationMax(ref IVector errors)
Calculates the maximum absolute errors of output values for the verification elements of the training...
Definition: NeuralApproximatorBase.cs:2364
Provides basic type conversion functionality using IConvertible and nullable handling.
Definition: BasicTypeConverter.cs:8
static void ExportToStl(this StructuredSurfaceMesh3D mesh, string stlFilePath)
Exports the mesh surface to an ASCII STL file.
Definition: MeshExportExtensions.cs:120
string _pipeName
Definition: NamedPipes_Copy.cs:441
override void CancelOne()
Cancels the current waiting for the condition (if one is going on) and unblocks the thread on which w...
Definition: WaitConditionFile.cs:880
Matrix(double[][] A)
Constructs a matrix from a jagged 2-D array, directly using the provided array as internal data struc...
Definition: Matrix.cs:179
string _helpCommandLine
Definition: ExpressionEvaluatorCompiled.cs:381
void SetElement< ElementType >(int rowNumber, int columnNumber, ElementType elementValue)
Sets element at the specified position to the string representation of the specified value.
Definition: StringTable.cs:216
const string ConstCustomApp
Name of the command for custom test.
Definition: ScriptAppBase.cs:5304
BoundingBoxBase(double[] coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:367
double InputBoundsSafetyFactor
Safety factor by which interval lenghts of input data bounds are enlarged after bounds are automatica...
Definition: NeuralApproximatorBase.cs:337
Definition: NeuralTrainingParameters.cs:3267
void Save(string filePath)
Saves buffer contents to a text file. If the file already exists then it is overwritten.
Definition: StringParserBuffer.cs:251
ISerializer _serializerJson
Definition: OptFileManager.cs:622
override void InitializeThis(string[] arguments)
Script initialization, defined just for formal reasons.
Definition: RealFunctionScriptBase.cs:44
string ReturnedValue
Value returned from the last executed command.
Definition: CommandlineApplicationInterpreterBase.cs:1297
object ParseFromString(string source, string format, int position, out int next)
Tests of the CapturedVar class and related types and utiliities.
Definition: CapturedVarTests.cs:23
MathNet.Numerics.LinearAlgebra.Double.DenseMatrix MatrixMathNetNumerics
Definition: CommandlineApplicationInterpreter.cs:15
VectorDtoBase[] ConvergenceErrorsTrainingRmsTable
Definition: SerializationDtoNeuralApproximator.cs:174
static string DefaultMessagePrefix
Definition: IpcStreamClientServerBase.cs:110
MapNeuralImputOutputElementDefinitionDto()
Definition: NeuralMapData.cs:26
float FloatB
Gets the blue RGB component of the current color as float number in the range 0 to 1....
Definition: Color.cs:211
static double Determinant(IMatrix A, ref int[] auxPermutations, ref IMatrix auxLU)
Calculates and returns determinant of a real-valued square matrix.
Definition: MatrixBase.cs:5281
List< string > BlockExitCommandsNoLevelEffect
A list of commands that can exit the type of the current code block, but willl nnot have effect on th...
Definition: CommandlineApplicationInterpreterBase.cs:974
static string _defaultMsgTestSpeed
Definition: IpcStreamClientServerBase.cs:499
static void SaveMath(IAnalysisResults anres, string filePath, bool append)
Saves the specified analysis results to a file.
Definition: AnalysisResults.cs:1865
double _determinant
Definition: MatrixDecompositions.cs:438
static xdouble Ceiling(xdouble a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:1658
static double Cosh(double a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:1262
IModelParameter< ValueType > UpdateDefaultValue(ValueType newValue)
bool CalculatedConstraintHessians
Flag indicating whether calculation of constraint function Hessians is required or not.
Definition: AnalysisResultsDto.cs:265
static Scalar Parse(string str)
Parses a scalar from a string and returns it. Leading and trailing spaces are ignored,...
Definition: Scalar.cs:278
static int GetHashFunctionInt(IMatrix mat)
Returns an integer valued hash function of the specified matrix object.
Definition: MatrixBase.cs:4820
string _directory
Definition: SimKosecFileManagerBase.cs:206
int _outputLevel
Definition: SimKosecFileManagerBase.cs:162
GrPrimitiveSettings()
Definition: GrProperties.cs:109
vec3[] _coord
Definition: GrObjects.cs:432
abstract double f2(double u, double v)
static string _defaultMsgResponseBegin
Definition: IpcStreamClientServerBase.cs:473
void RemoveVectorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh2dGeneric.cs:522
double MaxY
Gets the upper bound in the second coordinate.
Definition: BoundingBox.cs:1577
static string DefaultKeyElementTypes
Default key for introduction of element types of input and output data elements (e....
Definition: SampledDataCsv.cs:191
static double TestComputationalTimesCholesky(int numEq, int outLevel)
Test of Cholesky decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:84
void SetInterpolation(double x1, double y1, double d1, double x2, double y2)
Initializes the quadratic interpolation function with specified two function values and one derivativ...
Definition: FunctionRealInterpolation.cs:409
static bool SetValue(XmlNode basenode, string xpath, string value, bool createnodes)
Definition: XmlUtilities.cs:729
Acts mainly as marker interface for vector classes. Used everywhere one cannot specify the concrete t...
Definition: IVector.cs:17
TypeInfoBase(Type type)
Definition: TypeInfoBase.cs:20
static double Multiply(IVector left, IMatrix a, IVector right)
R=a^T*M*b. Left-multiplies a matrix with a vector (transposed), right multiplies the result vith anot...
Definition: MatrixBase.cs:4242
string _name
Definition: FunctionVectorBaseGeneral.cs:35
double _learningRate
Definition: NeuralTrainingParameters.cs:83
static void LoadCsv(string filePath, ref IVector vecRestored)
Reads a vector from a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as separator in CSV file...
Definition: VectorBase.cs:3066
double a
Definition: Function3d2d.cs:1325
virtual double GetValue(int which)
Returns the specified function value.
Definition: FunctonVectorResults.cs:314
bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
void Update(vec3 coordinates)
Updates the bounding box in such a way that the specified co-ordinates fit in it.
Definition: BoundingBox.cs:1591
bool _isOutputFormatLongInt
Definition: UilCryptoAux1.cs:498
string _networkFilePath
Definition: NeuralApproximatorBase.cs:1284
bool AppSettingsRead()
Returns a flag that tells whether general configuration settings (not belonging to any group) have al...
Definition: ReporterMsg.cs:2239
virtual void SetObjectiveHessian(IMatrix value)
Sets the objective functions' Hessian. If CopyReferences=true (false by default) then only the refere...
Definition: AnalysisResults.cs:684
override void CopyToPlain(ref NeuralTrainingParameters trainingParameters)
Copies contents of the current DTO to the specified training parameters object.
Definition: SerializationDtoNeural.cs:558
const string SystemHelpRuntimeVersion
Definition: ScriptAppBase.cs:3599
static StructuredSurfaceMesh3D Generate(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numT, int numTheta)
Definition: TubularMeshGenerator_05.cs:13
NumberType NegativeNumber(NumberType a)
Returns negative value of parameter a .
Script_CommandDelegate _scriptCommand
Definition: LoadableScriptBase.cs:503
string _commandLineHead
Definition: ExpressionEvaluatorCompiled.cs:360
@ ReferenceVar
Variable references another variable.
void AllocateParameters()
Allocates space for parameters.
virtual TField CreateField(int numElements, string name, string description)
Creates a new field of specified length and with specified name and description (the latter two can b...
Definition: FieldCollectionGeneric.cs:158
virtual void ClientWriteNeuralInput(IVector inputParameters)
Client writes input parameters for calculation of neural network based approximated values....
Definition: NeuralFileManager.cs:687
string Name
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:180
static void CalculateGridUnitFactors(int numElements, bool centered, double growthFactor, double scalingFactor, ref List< double > factors)
Calculates factors for a table of values between two points, and stores them to factors.
Definition: GridGenerator1dBase.cs:393
TTensorField AddTensorField(string fieldName, string fieldDescription)
Creates a new tensor field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: StructuredMesh2dGeneric.cs:636
virtual void SetAnBusy()
Sets the analysis busy flag.
Definition: OptFileManager.cs:935
static void TestSpeedBlockCreateRemove(string filePath, int numSwitches, int sleepMs)
Test of speed of reaction of file/ directory creation and removal blocking waits. A specified number ...
Definition: WaitConditionFile.cs:569
static new xdouble e
Natural logarithmic base.
Definition: UtilMath.cs:1567
int _numParam
Definition: ScalarFunctionScriptBase.cs:95
const string ArgRecursiveDirectory
Specification of a directory for recursive search of input files follows.
Definition: UtilCryptoAux.cs:597
static int OutputLevel
Output level for static methods of the current utility class.
Definition: UtilCrypto.cs:48
virtual string AppTimeKeyGeneration(string appName, string[] args)
Executes command-line action - measuring time of password generaton algorithms.
Definition: UilCryptoAux1.cs:2981
string FunctionArgumentParametersName
Name of parameters vector in function arguments (in functions in the loadable scripts)....
Definition: ScalarFunctionScriptLoader.cs:234
override void GradientPlain(IVector parameters, IVector gradient)
Calculates first order derivatives (gradient) of this function at the specified parameters....
Definition: Function3d.cs:258
static ColorScale CreateColorBlind(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that is adapted to color blind people in general.
Definition: ColorScale.cs:782
bool _cmpMaxPenalty
Definition: AnalysisComparer.cs:112
virtual string RunAppCrypto(string[] args)
Runs a cryptography related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:1702
virtual void PrintReport(LogRecord logRecord, StringBuilder sb, bool printDecoration, bool newLineAfter)
Prints an short report corresponding to the specified log record to the specified StringBuilder....
Definition: LoggerMsg.cs:450
static readonly PhysicalConstant MoonDensity
Moon averge density, 3346.4 kg/numrows^3.
Definition: Constants.cs:1602
static readonly PhysicalConstant d
Day, non-SI unit of time, 24 h = 1440 min = 86400 result.
Definition: Constants.cs:1097
static string[][] StringJaggedArray2x3
Sample 2D jagged array of strings (type string[][]), for use in tests. Array's shape corresponds to a...
Definition: SampleCollections.cs:101
static void MapCoordinatesPlain(Field< vec3 > referenceField, Field< vec3 > targetField, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:237
static double th(double a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:509
int _numEqualityConstraints
Definition: AnalysisResults.cs:191
bool IsNetworkTrained
Whether the network is trained (and results exist).
Definition: SerializationDtoNeural.cs:135
const string ConstDefaultHelp
Default command name for help.
Definition: LoadableScriptBase.cs:410
string Description
Description of hte current interpreter.
Definition: CommandlineApplicationInterpreter.cs:342
VectorDtoBase()
Default constructor, sets IsNull to true.
Definition: VectorDto.cs:35
virtual PointContainerType CreatePointContainerFromCoordinates(IVector coordinates)
Creates and returns a new point container that wraps a newly created point with the specified coordin...
Definition: PointCloud.cs:245
Complex AddNumbers(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:17
Definition: OpenSquareBracketStrategy.cs:8
ISingleTypeConverter< SourceType, TargetType > GetGenericConverter< SourceType, TargetType >()
Definition: StringParser0.cs:15
Implements blocking until the specified file is deleted (becomes nonexistent). File is specified in c...
Definition: WaitConditionFile.cs:932
bool TryConvertTyped< TargetType >(string source, out TargetType target)
Definition: FromStringTypeConverterViaJson.cs:19
static Assembly LoadAssembly(string fullName, int outputLevel=2, bool reflectionOnly=false)
Loads the specified assembly.
Definition: UtilSystem.cs:2890
override ITypeConverter TypeConverter
The type converter that is under test.
Definition: ReflectionTypeConverterTests.cs:31
static double Average(IEnumerable< double > sample)
The same as Mean(IEnumerable<double>)
Definition: UtilMath.cs:762
static byte[] PadToSymmetricAlgorithmBlocksizeZero(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false)
For the specified symmetric encryption algorithm, this function takes the specified byte array and ch...
Definition: UtilCrypto.cs:1794
virtual string AppEncryptSymmetricBasic(string appName, string[] args)
Executes command-line action - symmetric encryption of files or text by using BASIC class of methods.
Definition: UilCryptoAux1.cs:1263
void SetInputFieldValue(InputFieldDefinition def, string fieldValue)
Sets the sepcified input field to the specified value. This is done by appending a corresponding text...
Definition: SimKosecFileManagerBase.cs:1162
static Counter Parse(string str)
Parses a counter from a string and returns it. Leading and trailing spaces are ignored,...
Definition: Scalar.cs:642
virtual string FileFunctionLogEvents(string appName, string[] args)
Executes embedded application - writing to the console information about file events for the specifie...
Definition: ScriptAppBase.cs:757
void CopyDataToFunctionLoader(ScalarFunctionLoader loader)
Copies function deffinition data from the current function DTO to the specified function loader.
Definition: ScalarFunctionScriptController.cs:675
static xdouble asin(xdouble a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:1618
static void CopyPlain(IMatrix a, IMatrix result)
Copies components of a matrix to another matrix. This is a plain version of the method that does not ...
Definition: MatrixBase.cs:1527
Operation
Definition: FunctionReal.cs:15
static void Copy(IMatrix a, Matrix_MathNetNumercs result)
Copies components of a matrix to another matrix. WARNING: dimensions of the copied matrix and result ...
Definition: MatrixBase.cs:1669
static readonly PhysicalConstant Sv
Sievert, the SI derived unit of equivalent dose of ionizing radiation. Sv = J/kg = numrows^2/result^2...
Definition: Constants.cs:1062
CommandUseReference()
Definition: Interpreter.cs:64
bool BreakTraining
Flags that signalizes (if true) that training should be broken on external request.
Definition: NeuralApproximatorBase.cs:461
const string VarNameFunctionArgumentGradientName
Definition: ScalarFunctionScriptLoader.cs:71
Interface for Inverse Interpreter.
Definition: InterfaceInv.cs:21
virtual void SetObjectiveGradient(IVector value)
Sets the objective function gradient. If CopyReferences=true (false by default) then only the referen...
Definition: AnalysisResults.cs:491
string ToStringVariableNames()
Definition: CommandlineApplicationInterpreterBase.cs:1470
virtual void SetDefaultReserveReportErrorDlg()
Sets the reserve error reporting delegate to the default value.
Definition: ReporterMsg.cs:1318
string _keyMinimalValues
Definition: SampledDataCsv.cs:701
static double max(double a, double b)
Largest of two numbers.
Definition: UtilMath.cs:172
const string AnInJsonFilename
Default file name of analysis input file in JSON format.
Definition: OptFileConst.cs:35
DistanceDelegate< PointType > DistanceFunction
Delegate that calculates distance between two vectors.
Definition: DistanceComparer.cs:295
void Gradient3(double x, double y, out double gradx, out double grady)
Calculates gradient of the third component of the current function and returns its components through...
const string InputFileNameDefault
Default name of the simulation input file.
Definition: SimKosecConst.cs:41
IVectorFactory< VectorType > GetFactory< VectorType >()
virtual string CmdEndIf(CommandThread cmdThread, string cmdName, string[] args)
Command. Ends the If/ElseIf/Else block. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3808
bool TryConvertTyped< SourceType >(SourceType source, out string target)
void AddPoints(params IPointContainer< PointType >[] points)
Adds the specified points that are embedded in point containers to the current point cloud.
Definition: PointCloud.cs:180
void Script_RemoveRunFileByScriptCommand(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Removes the Run comand from the script's interpreter and performs the necessary accompanying tasks.
Definition: ScriptAppBase.cs:407
BoundingBox1d()
Creates an 1D bounding box with unspecified bounds; minimal co-ordinate components equal to BoundingB...
Definition: BoundingBox.cs:1809
virtual int NumHiddenLayers
Gets or sets the number of hidden layers of the neural network (these are layers that don't contain i...
Definition: NeuralApproximatorBase.cs:753
virtual string CmdRunRepeatVerbose(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs another command repetitively the specified number of times. First argument must be the ...
Definition: CommandlineApplicationInterpreter.cs:4252
static string DefaultTitle(string name)
Generates default title of the parameter object when title is not defined, using parameter's name....
string _optimizationDirectory
Definition: LoadableScriptOpt.cs:89
bool EnableArchitectureTest
Flag for enabling test in architecture of ANN.
Definition: SerializationDtoNeural.cs:820
void TypeConversionHelper_ConversionToObjectAndBackTest< OriginalType, TargetType >(OriginalType original, OriginalType expectedRestoredValue, bool restoreObjectBackToValue=true)
Like TypeConversionHelper_ConversionToObjectAndBackTest<OriginalType, TargetType, RestoredType>(Origi...
Definition: TypeConversionHelperTests_Obsolete.cs:46
override int Next(int minValue, int maxValue)
Returns a random number within a specified range (lower bound inclusive, UPPER BOUND EXCLUSIVE).
Definition: Random.cs:415
VectorDtoBase[] ErrorsVerificationMaxTable
Convergence Table of Maximal errors calculated on verification data.
Definition: SerializationDtoNeural.cs:239
void GetErrorsVerificationRms(ref IVector errors)
Calculates the RMS (root mean square) of the errors of output values for the verification elements of...
Contains data for a single model parameter: parameter name (identifier) Name, Title,...
Definition: IModelParameter.cs:45
static PasswordAlgorithmType[] _passwordAlgorithmTypes
Definition: UtilCrypto.cs:111
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of the structured mesh for a parametric volume according to functions specifyin...
Definition: StructuredMesh3d.cs:169
virtual void FileAnalysisStandard(string analysisExecutable, string analysisCommandName, string workingDirectory, string analysisInputFileName, string analysisOutputFileName)
Command - runs an external analysis program that exchanges intoermation through files....
Definition: InterfaceInv.cs:453
Definition: TestBase.cs:58
TargetType ConvertTyped< TargetType >(string source)
Definition: FromStringTypeConverterViaParseReflection.cs:17
FieldCollection< TVectorField, TVector > _vectorFields
Definition: UnstructuredMesh1dGeneric.cs:373
bool CheckInputUniqueness
Definition: NeuralMapData.cs:169
static void KillAllProcesses(string processName, bool caseSensitive)
Kills all running processes that have the specified process name.
Definition: UtilSystem.cs:932
BoundingBox(double[] min, double[] max)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1461
void SendJob(JobContainerType jobData, out bool startedImmediately)
Enqueues job for execution.
Definition: ParallerJobDispatcherBase.cs:393
FieldCollection< TIndexField, TIndex > _indexFields
Definition: UnstructuredMesh3dGeneric.cs:65
double Norm1
Get the 1 norm of the matrix - maximum over columns of sum of absolute values of components.
Definition: Matrix3DClass.cs:625
int _maxEpochs
Definition: NeuralApproximatorBase.cs:612
bool TreatInfo
Returns a boolean value indicating whether info messages are treated by the reporter in its current s...
Definition: ReporterMsg.cs:916
Geometry and topology of an unstructured 1D mesh. Presents both connected meshes and unconnected sets...
Definition: UnstructuredMeshGeometry1dGeneric.cs:15
int _outputLength
Definition: NeuralTrainingParameters.cs:112
virtual string GetErrorMessage(Exception ex)
Returns error message corresponding to the specified exception.
Definition: ClientServerStreamBase2_Copy.cs:992
IVectorFactory GetFactory(Type type)
Retrieves and returns a vector factory that creates vectors of type type , or returns null if such a ...
Definition: VectorFactoryRegistry.cs:217
List< double > _constraints
Definition: AnalysisResults.cs:202
static long ToInt(string strsetting)
Converts a string representation of an integer setting to an integer value. If the setting is not def...
Definition: UtilString.cs:743
const string DefaultModuleCodeName
Definition: App.cs:835
const string ArgEncrypt1
Specifies that encryption is performed, rather than decryption.
Definition: UtilCryptoAux.cs:316
vec2 Add(vec2 a)
Returns sum of the current vector and the specified vector.
Definition: Matrix2D.cs:206
IVector _errorsTrainingRms
Definition: NeuralTrainingParameters.cs:449
Base class for various DTO (Data Transfer Objects) for bounding boxes. Used to store a state of a bou...
Definition: BoundingBoxDto.cs:28
static ? DateTime _annDllLimit
Definition: App.cs:2250
bool IsDefined()
Definition: SampledDataCsv.cs:1156
bool IsLocal
Gets a flag indicating whether the current variable is a global variable.
Definition: CommandlineApplicationInterpreterBase.cs:435
StructuredSurfaceMesh3D GenerateMeshByFrenet(Func< double, vec3 > curve, Func< double, vec3 > tangent, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double h=1e-3)
Generates a tubular mesh using the Frenet frame and analytical or fallback tangent function.
Definition: TubularMeshGenerator.cs:200
virtual string OptimizationDirectory
Optimization directory. This directory is a base directory for data used optimization and neural netw...
Definition: LoadableScriptOpt.cs:98
string CreateMessage(string messageName, string[] messageArguments)
Creates a built-in message (possibly with arguments) that is to be interpreted directly by the receiv...
Definition: IpcStreamClientServerBase.cs:321
List< PointContainerType > Points
List of points contained on the current class.
Definition: PointCloud.cs:111
void GetErrorsTrainingMax(ref IVector errors)
Calculates the maximum absolute errors of output values for the training elements of the training set...
void AddDefaultReferencedAssemblies()
Add assemblies that are referenced by default to the list of assemblies that are referenced by the cu...
Definition: Loader.cs:376
virtual void AppendValue(double value)
Appends a double value to the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:508
static string DefaultPipeName
Default pipe name.
Definition: IpcStreamClientServerBase2.cs:38
const string ArgSaltHexBytes
Specification of password as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:469
SerializationBinderElementary(string origTypeName, Type targetType)
Definition: SerializationBinderElementary.cs:31
int OutputLevel
Level of output printed to console when performing actions.
Definition: NeuralApproximatorBase.cs:25
const string ArgPasswordAlgorithmType1
Specification of password or key generaton algorithm type follows.
Definition: UtilCryptoAux.cs:336
void Test1()
Definition: UnitTest1.cs:13
virtual void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
Definition: AnalysisResults.cs:821
Interface for vector function approximators.
Definition: IVectorApproximator.cs:12
VectorType CreateVector< VectorType >(int dimension)
StructuredField2d(int dim1, int dim2, string fieldName)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:93
abstract IVector Parameters
Gets or sets parameters that define the specific function out of parametric familiy of functions....
Definition: FunctionRealParametric.cs:273
void Insert(int index, char[] chArray)
Inserts the specified array of characters at the specified position of the buffer.
Definition: StringParserBuffer.cs:208
string _inputFileContents
Definition: SimKosecFileManagerBase.cs:543
static void MultiplyInverseDiagonal(IVector diag, IMatrix a, ref IMatrix result)
Right-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified r...
Definition: MatrixBase.cs:4569
static void Resize(ref IMatrix mat, int rowCount, int columnCount)
Resizes, if necessary, the specified matrix according to the required dimensions. If the matrix is in...
Definition: MatrixBase.cs:1481
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray3DToIntIListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:298
double Value
Value.
Definition: UtilMath.cs:1353
static void Negate(vec2 v, ref vec2 res)
Negates the specified vector and stores its copy in the resulting vector.
Definition: Matrix2D.cs:233
virtual string SystemFunctionRuntimeVersion(string appName, string[] args)
Executes embedded application - writing to the console and returning version of the runtime that appl...
Definition: ScriptAppBase.cs:3605
abstract int NumVolumes
Returns the number of volumes that the mesh has.
Definition: Mesh.cs:76
override void AppendValue(string value)
Appends a string value to the interpreter command file contents.
Definition: InterfaceInv.cs:208
static byte[] EncryptPlain(byte[] data, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified byte array by a symmetric encryption algorithm and returns encrypted bytes.
Definition: UtilCrypto.cs:2502
const string ConstHelpAssembly
Definition: ScriptAppBase.cs:333
void Negate()
Changes the sign of the current vector.
void RestoreDefinition()
Restores data definition from the data table. Position is reset before the operation begins.
Definition: SampledDataCsv.cs:3157
Type TargetType
Definition: ToStringTypeConverterViaIConvertible.cs:13
override double StartParameter
Definition: ConicalSpiralFermats3D.cs:70
void EnterObjectScope()
Definition: JsonPPStrategyContext.cs:116
Definition: JsonPrettyPrinter.cs:18
Generic 2D structured mesh with collections of named scalar, vector, tensor and index fields.
Definition: StructuredMesh2dGeneric.cs:24
string FunctionArgumentGradientName
Name of gradient vector in function arguments (in functions in the loadable scripts)....
Definition: ScalarFunctionScriptLoader.cs:275
LoadableRealFunctionBase(double Kx, double Sx, double Ky, double Sy)
Function constructor.
Definition: RealFunctionScriptBase.cs:82
Complex Pow(Complex a, int n)
Definition: NumberOperationsComplex.cs:89
Example of a field class.
Definition: FieldGeneric.cs:1309
float Transparency
Transparency (d) - Ranges from 1.0 (fully opaque) to 0.0 (fully transparent).
Definition: MaterialProperties.cs:48
static void DoNothingForTenSeconds()
Definition: TracedThread.cs:234
static bool IsCorrectHashAlgorithm(HashAlgorithm algorithm, HashType algorithmType)
Returns true if the specified cryptographic hash algorithm corresponds the type specification,...
Definition: UtilCrypto.cs:500
double ScalarTerm
Scalar additive constant.
Definition: Function2d.cs:565
virtual string PackageName
Name of the JavaScript package in which evaluated code is executed.
Definition: ExpressionEvaluatorCompiled.cs:93
static Vector3d Copy(Vector3d v)
Returns a copy of the specified 3D vector.
Definition: Vector3Dclass.cs:481
bool WasLastCharacterABackSlash
Definition: JsonPPStrategyContext.cs:73
Paraboloid(double a, double b, double c)
Constructs a paraboloid.
Definition: Function3d2d.cs:872
ComparerOutputDistance(IVector referencePoint, bool immutable)
Constructs a new comparer according to output distance to a reference poiont (type IVector).
Definition: SampledData.cs:880
vec3 DiffuseColor
Diffuse color (Kd) - The main color of the material under direct lighting.
Definition: MaterialProperties.cs:31
virtual bool HessianDefined
Whether calculation of function Hessian is defined. Default is false.
Definition: Function3d2d.cs:271
Cubic _refinv
Definition: FunctionRealInterpolation.cs:1533
string TextWriterProgramName
String denoting the name of the program or other entity that uses the Reporter for logging....
Definition: ReporterMsg.cs:178
Contains Parameters that define neural network architecture and trainig limits, together with achieve...
Definition: NeuralTrainingParameters.cs:2598
void CancelAll()
Cancel the current waiting for the condition on all threads.
delegate void ParallelJobCallback(ParallelJobContainerBase jobContainer)
Callback delegate that can be assigned to job container for execution at various notification events ...
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function's derivative.
Definition: ApproxBasis.cs:580
static double lg(double a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:420
Definition: Vartypes.cs:206
int _numConstraints
Definition: Analysis.cs:87
int read(string str)
Reads in the value from a string, starting at the beginning and skipping any leading spaces....
Definition: Scalar.cs:691
static Matrix3d Ones()
Creates a 3D matrix filled with 1.
Definition: Matrix3DClass.cs:230
static bool CheckTestResult(IVector result, IVector referenceResult, double tolerance, bool printReports)
Checks whether the difference between matrix result of the tested operation and some reference result...
Definition: MatrixBase.cs:7503
DlgFunctionTransformation IntegralFunctionDlg
Definition: FunctionReal.cs:709
virtual void TabAn1d(IVector pont0, IVector point1, int numPoints, bool centered, double factor, double scaling)
Runs an 1D table of analyses.
Definition: InterfaceInv.cs:527
int TopFrameIndex
Definition: CommandlineApplicationInterpreterBase.cs:1761
List< CommandThread > CommandThreads
List of command threads that exist on the interpreter.
Definition: CommandlineApplicationInterpreter.cs:247
bool _redirectOutput
Definition: SimKosecFileManagerBase.cs:100
Definition: StringParser.cs:20
abstract void Wait()
Blocks until the specified condition gets satisfied. See class description for details.
Implements blocking until the specified file is created (becomes existent). File is specified in cons...
Definition: WaitConditionFile.cs:1439
object _lock
Definition: Random.cs:200
const string ArgSkipOverwrite
If files are to be wasOverwritten, this is wasSkipped without asking whether to overwrite.
Definition: UtilCryptoAux.cs:569
bool _originalElementindexSpecified
Definition: NeuralMapData.cs:320
static xdouble Log2(xdouble a)
Returns the base 2 logarithm of a specified number.
Definition: UtilMath.cs:1730
int Length
Gets the number of sampled data elements (input/output pairs) contained by the current sampled data s...
Definition: SampledData.cs:200
int _id
Definition: ParallelJobContainerBase.cs:126
double double phi
Definition: ICurve3DCylindricalParameterization - Copy.cs:16
int NumHiddenLayers
Number of Hideden layers.
Definition: SerializationDtoNeural.cs:122
override ElementType[] CreateObject()
Creates the array of objects and returns it.
Definition: ArrayDto.cs:63
const string MsgNeuralInputReadyFilename
Default file name for neural network approximation input data ready flag.
Definition: NeuralFileConst.cs:95
StringBuilder Sb
Holds the copy of parsed string iinternally; StringBuilder is used instead of string for faster perfo...
Definition: ParsableFromString.cs:28
const string KeyTextLoggerAppend
Definition: ReporterMsg.cs:2324
virtual double Trace
Gets matrix trace (sum of diagonal terms).
Definition: MatrixBase.cs:673
StringBuilder _sb
Definition: IpcStreamClientServerBase.cs:71
int OutputLength
Number of output neurons.
Definition: SerializationDtoNeural.cs:811
virtual string RunAppSystem(string[] args)
Runs a file system related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:3798
void SetCoefficients(double a2, double a1, double a0)
Sets coefficients of the quadratic function represented by the current object.
Definition: FunctionRealInterpolation.cs:367
static readonly PhysicalConstant kat
Katal, the SI derived unit of catalytic activity. kat = mol/result.
Definition: Constants.cs:1071
Represents RGBA color with components between 0 and 1.
Definition: ColorRGBA.cs:7
bool TextWriterFlushing
Gets or sets the flag that tells whether or not the text writers are flushed after every message that...
Definition: ReporterMsg.cs:3976
static vec3 operator*(double scalar, vec3 v)
static Scalar Zero
Returns a scalar with value 0.
Definition: Scalar.cs:43
static string Load(string filePath)
Loads complete file contents into a stiring and returnes that string.
Definition: UtilString.cs:808
static Stream AssemblyEmbeddedFileResourceStream(Assembly assembly, string resourceName)
Returns a stream containing the embedded file resource included in the specified assembly.
Definition: UtilSystem.cs:3814
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:761
IdGenerator()
Creates a new ID generator. The first ID generated will be 0. Subsequent IDs are generated by obtaine...
Definition: IdGenerator.cs:28
const string VarNameHessianDefinitionStrings
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: ScalarFunctionScriptLoader.cs:97
CharacterBuffer()
Definition: StringParserBuffer.cs:120
override IVector Parameters
Gets or sets parameters that define the specific function out of parametric familiy of scalar functio...
Definition: FunctionScalarParametric.cs:197
int Capacity
Buffer current capacity.
Definition: StringParserBuffer.cs:148
static readonly PhysicalConstant WienDisplacementConstant
Wien'result displacement constant, proportional constant of the inverse relationship between the wave...
Definition: Constants.cs:509
static void ExampleSaveNetwork(string directoryPath, string fileName, string internalStateFileName, bool saveRestored)
Example of saving an entire trained neural network to a file, and then restoring it from a file....
Definition: NeuralApproximatorBase.cs:3194
virtual string ConvertParameterNamesToString(params string[] parameterNames)
Converts an array of parameter names or function names to a delimited single string that contains the...
Definition: VectorFunctionScriptController.cs:292
void IEnumerableElementTypeIsRetrievedCorrectlyForArrays()
Definition: IGLibCoreReflectionTests.cs:93
override bool SecondDerivativeDefined
Definition: FunctionRealInterpolation.cs:1478
static string GetIglibTitle()
Returns descriptive title of the IGLib assembly (from the AssemblyInfo file).
Definition: UtilSystem.cs:3286
bool IsEventualBlockExitCommandNoLevelEffect(string commandLine, bool isOnlyCommandName=false)
Returns true if the specified commandline can eventually represent one of the commands contained in t...
Definition: CommandlineApplicationInterpreterBase.cs:1119
void Copy(Counter s)
Copies a counter to the current counter.
Definition: Scalar.cs:422
static void MultiplyTranspTranspTransp(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B^T*C^T. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3913
override CommandStackFrame CreateFrame(CodeBlockType type, int stackLevel)
Creates a new stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:738
static double Log(double a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:1139
void AllocateConstraintGradientsList()
Allocates space for list of constraint function gradients.
static double Asin(double a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:1205
bool RemoveTextWriter(string filename)
Removes the first object from Writers whose TextWriter has been created form the file with the specif...
Definition: ReporterMsg.cs:4437
vec3 Normalized()
Returns normalized this 3D vector.
Definition: Matrix3D.cs:162
virtual double[] GetIntervalLengthsTable()
Generates and returns a table of interval lengths between the generated nodes. The returned table is ...
Definition: GridGenerator1dBase.cs:1010
virtual string CmdModuleTestCommand(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for test command that is installed when a module is installed. This is a command th...
Definition: CommandlineApplicationInterpreter.cs:5130
static void FromByteArray(byte[] bytes, out Int32 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2109
virtual string ReadResponse()
Reads response from the server and stores it.
Definition: IpcStreamClientBase.cs:149
bool IsKeyTitles(string str)
Whether the specified string is a keyword introducing variable titles.
Definition: SampledDataCsv.cs:621
int[] NumHiddenNeurons
Definition: SerializationDtoNeuralApproximator.cs:40
override double Integral(double x)
Returns definite integral of the current function from 0 to the function argument.
Definition: FunctionReal.cs:1051
Generic 1D unstructured mesh with collections of named scalar, vector, tensor and index fields.
Definition: UnstructuredMesh1dGeneric.cs:26
IAnalysisResults GetCopy()
Returns an exact deep copy of the current object.
List< GraphicObject > _childobjects
Definition: GrObjects.cs:159
static string CollectionToString(System.Collections.ICollection list, bool addNewlines, int numIndent)
Returns a string representing the specified collection of objects. Each object is printeed by its ToS...
Definition: Utils.cs:2555
static void MultiplyMatTranspMatPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B^T*C. Multiplies three matrices (first argument, transposed second argument, and third argument)...
Definition: MatrixBase.cs:3722
int NumVerificationPoints
Gets number of verification points.
Definition: NeuralApproximatorBase.cs:408
void AddRow< ElementType >(params ElementType[] elements)
Adds (appends) a new row with the specified elements at the end of the table.
Definition: StringTable.cs:457
static ExpressionEvaluatorJs _evaluatorGlobal
Definition: ExpressionEvaluatorJs.cs:485
static Matrix Diagonal(IVector< double > diagonalVector, int d1, int d2)
Creates a new diagonal d1*d2 matrix based on the diagonal vector.
Definition: Matrix.cs:441
int OutputLength
Definition: NeuralMapData.cs:167
const string MappingDefinitionFilename
File containing input and output mapping definitions.
Definition: NeuralFileConst.cs:47
bool _appCustomCommandsInitialized
Definition: ScriptAppBase.cs:165
bool HasDerivative
Definition: KleinBottle.cs:75
static double Exp(double a)
Returns e raised to the specified power.
Definition: UtilMath.cs:1135
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArrayNonrectangular3DToIntIListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:547
static double arctan(double a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1221
void LogWarning(string location, string message)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:755
int Id
Unique ID of the current point container (important also for testing and debugging).
Definition: PointContainer.cs:27
int NumIterations
Definition: WaitConditionFile.cs:1164
BoundingBox(IVector min, IVector max)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal and m...
Definition: BoundingBox.cs:1437
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:541
StringTable(bool readOnly)
Constructs a new string table, a data structure compatible with CSV file format.
Definition: StringTable.cs:44
static int GetNextId()
Returns another ID that is unique for objects of the containing class its and derived classes.
Definition: ParallerJobDispatcherBase.cs:1061
static void SaveCsv(string filePath, string[][] values)
Saves a 2D jagged array of string cell values into a CSV file. If the file already exists then its co...
Definition: UtilCsv.cs:435
virtual void RemoveCommand(string commandName)
Removes the command with the specified name.
Definition: CommandlineApplicationInterpreter.cs:2760
static bool TestLuDecomposition(int dim, int numRepetitions=1, double tol=1e-6, int outputLevel=0, IRandomGenerator randomGenerator=null, IMatrix A=null, IVector b=null)
Performs a test of calculatons performed via LU decomposition of a matrix. Calculation times and erro...
Definition: MatrixBase.cs:5741
double MaxY
Maximal value of the second parameter.
Definition: Function3d2d.cs:741
static void DoNothingForFiveSeconds()
Definition: TracedThread.cs:229
override IComparable GetFirstStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the first level of comparison from the argument.
Definition: Utils.cs:3279
static void SaveJson(INeuralApproximator approximator, string filePath)
Saves a neural network approximator to a file. If the neural netwoek is trained then internal state i...
Definition: NeuralApproximatorBase.cs:2914
virtual object ConvertToType(object value, Type targetType)
Converts the specified value to the specified target type.
Definition: BasicTypeConverter.cs:17
The trefoil knot is the simplest example of a nontrivial knot. It is chiral. The (2,...
Definition: TrefoilKnot3D.cs:18
MathNet.Numerics.LinearAlgebra.Matrix< double > MatrixBase_MathNetNumerics
Definition: Matrix.cs:15
string Title
Definition: ModelParameter.cs:123
virtual int LengthSetter
Sets the dimension of the current vector. This setter must be used very restrictively - only in sette...
Definition: Vector.cs:263
int[] _pivot
Definition: MatrixDecompositions.cs:393
void Read(string name)
Reads 3D vector components from a console.
Definition: Vector3Dclass.cs:571
virtual bool IsErrorResponse(string responseString)
Returns true if the specified response string represents an error response (exception),...
Definition: IpcStreamClientServerBase2.cs:75
static string DefaultKeyDescriptions
Default key for introduction of descriptions of input and output data elements.
Definition: SampledDataCsv.cs:175
override string ToString()
Returns string representation of the 2D vector.
Definition: Vector2Dclass.cs:540
int[] _numHiddenNeurons
Definition: NeuralApproximatorBase.cs:598
const string AssemblyLoad1
Definition: ScriptAppBase.cs:4298
override double NormInf
Gets an infinity norm of the current 2D vector - maximal absolute component value.
Definition: Vector2Dclass.cs:408
TScalarField GetScalarField(string name)
Returns scalar field with the specified name.
Definition: UnstructuredMesh2dGeneric.cs:272
Alternative parameterization of an origin-centered hyperboloid surface (x^2/a^2+y^2/b^2-z^2/c^2=1) in...
Definition: Function3d2d.cs:1199
virtual IMatrix GetHessian(int which)
Returns Hessian of the specified function.
Definition: FunctonVectorResults.cs:461
bool HasLogs()
Returns true if logger contains any logs (of any type), false otherwise.
Definition: LoggerMsg.cs:369
static void Add(IVector a, IVector b, IVector result)
Sums two vectors and stores the result in the specified result vector. WARNING: dimensions of vectors...
Definition: VectorBase.cs:1372
static void Indices(int dim1, int dim2, int flatIndex, out int row, out int column)
Returns (through output arguments) row and column indices corresponding to the specified flat index i...
Definition: MatrixBase.cs:527
bool ReqHessians
Indicates whether calculation of functions Hessian is/was requested.
Definition: FunctionVectorResultsInt.cs:269
const string DefaultReturnedValueName
Default name of the variable that holds returned value in script functions.
Definition: ScalarFunctionScriptLoader.cs:61
virtual string AppDomainName
Name of the application domain in which the class is loaded.
Definition: Loader.cs:784
HashType HashAlgorithmType
Hashing algorithm type.
Definition: UilCryptoAux1.cs:153
string LastErrorMessage
Returns the last error message.
Definition: ClientServerStreamBase2_Copy.cs:420
A 3D parametric curve with bounds - the conical hyperbolic spiral.
Definition: ConicalSpiralHyperbolic3D.cs:17
SerializationDtoTyped()
Definition: SerializationDtoBase.cs:786
virtual vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:58
double Distance(SampledDataElement el1, IVector p2)
Returns distance in the output values space between output vector of the specified tarining elemet an...
Definition: SampledData.cs:1010
static TraceLevel ReportLevel2TraceLevel(ReportLevel level)
Returns the System.Diagnostics.TraceLevel value corresponding to the given ReportLevel.
Definition: ReporterMsg.cs:2895
bool _isServerRunning
Definition: ParallerJobDispatcherBase.cs:689
override void CloseOutput()
Closes the outut stream.
Definition: ClientServerStreamBase2_Copy.cs:956
void ExtractInputs(IndexList filterIndices, ref IVector[] extracted)
Extracts the specified vectors of input parameters from the current sampled data set,...
Definition: SampledData.cs:431
IEnumerable< CharType > SubString(int startIndex)
Definition: ParsableBase.cs:60
color _color
Definition: GrProperties.cs:93
static bool operator<=(Scalar a, Scalar b)
Definition: Scalar.cs:165
WeightGauss()
Definition: FunctionRealWeight.cs:68
static string DefaultParameterNamesSeparator
Default parameter names separator, separates parametr names when stated in a single string.
Definition: ScalarFunctionScriptController.cs:367
String ErrorString
Error string indicating what went wrong.
Definition: FunctionVectorResultsInt.cs:283
RealFunctionParametric()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionRealParametric.cs:89
override AnalysisResults CreateObject()
Creates and returns a new analysis request object.
Definition: AnalysisResultsDto.cs:114
ModelParameterSetBase(string title, string description, params ModelParameterType[] parameters)
Constructor, initializes the current model parameter set, optionally providing parameter objects that...
Definition: ModelParameterSetBase.cs:26
Vector3d NormalizedInfinity()
Normalizes this 3D vector in infinity norm.
Definition: Vector3Dclass.cs:433
Vector3d Normalized1()
Normalizes this 3D vector in 1 norm.
Definition: Vector3Dclass.cs:425
static Complex operator+(Complex c1, Complex c2)
Defines the binary operator + for summation of two complex numbers.
Definition: Complex.cs:539
void Normalize()
Normalizes the current vector.
Definition: VectorBase.cs:848
MathNet.Numerics.LinearAlgebra.Vector< System.Numerics.Complex > VectorComplexBase_MathNetNumerics
Definition: MatrixDecompositions.cs:21
bool SaveConvergenceRms
Definition: SerializationDtoNeuralApproximator.cs:153
SquareKnot3D()
Empty constructor.
Definition: SquareKnot3D.cs:30
void SetMin(int componentIndex, double min)
Sets minimal value for the specified coponent of the bounding box.
Definition: BoundingBox.cs:966
virtual double Value(vec3 parameters)
Calculates and returns value of the current 3D scalar function.
Definition: Function3d.cs:181
static readonly PhysicalConstant y
yocto- (y), SI prefix for 10^-24.
Definition: Constants.cs:793
Type[] GetRegisteredTypes()
Definition: VectorFactoryRegistry.cs:70
static void GenerateCoordinatesPlain(StructuredField2d< vec2 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 2D structured grid by mapping nodal coordinates of a regular 2D structured...
Definition: StructuredField2dGeneric.cs:678
Polynomial real functions of one variable.
Definition: FunctionReal.cs:1238
bool TryConvert(object source, out object target)
Definition: SingleTargetTypeConverterBaseGeneric.cs:14
XmlNode GetNextNode(XmlNodeType NodeType)
Moves the current node to the first sibling node after the current node that is of the specified type...
Definition: XmlUtilities.cs:1514
string Name
Name of the material. This is used to reference the material in an .obj file.
Definition: MaterialProperties.cs:20
static string GetAssemblyTitle(Assembly assembly)
Returns descriptive title of the specified assembly (from the AssemblyInfo file).
Definition: UtilSystem.cs:3086
UnstructuredMesh1d3d(int dimx, string fieldName, string fieldDescription, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Constructs an (unconnected) unstructured grid of nodes based on 1D structured grid obtained by transf...
Definition: UnstructuredMesh1d3d.cs:101
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealPenalty.cs:256
T DeserializeFile< T >(string filePath)
Deserializes an object from JSON - serialized file and returns it.
double PenaltySecondDerivative(int which, double constraintValue)
Returns second derivative of the penalty function for the specified constraint at the specified value...
static int GetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm)
Returns the largest possible block siye, in bits, for the spcified symmetric encryption algorithm.
Definition: UtilCrypto.cs:1904
XmlNode _current
Definition: XmlUtilities.cs:1244
static string DefaultReportLocation_TextLogger(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Delegate for assembling a location string for this kind of report.
Definition: ReporterMsg.cs:5585
int InputLength
Number of input elements.
Definition: SampledDataCsv.cs:990
static void GetAppSetting(string key, ref int value, out bool assigned)
Reads an integer value from the application configuration file and assigns it to the specified variab...
Definition: ReporterMsg.cs:1863
static int AnnYY
Definition: App.cs:2248
IPenaltyEvaluator PenaltyEvaluator
Gets or sets evaluator of penalty terms. This is needed when e.g. sums of penalty terms are defined.
Definition: AnalysisComparer.cs:86
string DiffuseTexture
Texture map file path for the diffuse color (map_Kd). This is an image file (e.g.,...
Definition: MaterialProperties.cs:59
Index list, a sorted list of unique integer indices. Used for tasks such as filtering specified eleme...
Definition: IndexList.cs:16
vec2 _v
Definition: Vector2Dclass.cs:31
virtual void SetRandom(IRandomGenerator rnd)
Sets the current vector such that it contains random elements on the interval (0,1].
Definition: VectorBase.cs:394
StructuredMesh3D_04(int numPoints1, int numPoints2)
Definition: StructuredMesh3D_04.cs:25
double b
Height of the paraboloid around which the curve wraps.
Definition: ParabolicBasinCurve3D.cs:34
IVector ToleranceMax
Maximum tolerance for max. abs. difference.
Definition: NeuralTrainingParameters.cs:1516
Vector function of a vector argument.
Definition: FunctionVectorInt.cs:16
DateTime ExpireFinalTime
Gets or sets the time when program will stop functioning completely.
Definition: App.cs:1175
virtual IAnalysisResults CurrentGuess
Results of the current guess (usually last analysis that has been performed).
Definition: OptimizationResults.cs:149
const string DefaultCsvSeparator
The default separator in the CSV files - comma (",").
Definition: UtilCsv.cs:21
Definition: JsonPPStrategyContext.cs:8
int FirstNonemptyColumn(int rowNum)
Returns number of the first non-empty cell in the specified row.
Definition: StringTable.cs:412
virtual IMatrix ObjectiveHessian
Objective function Hessian (matrix of second derivatives). If CopyReferences=true (false by default) ...
Definition: AnalysisResults.cs:664
ElementDtoType[] Elements
Definition: ArrayDto.cs:206
Definition: PortScanner.cs:25
static string FullKey(string reportername, string keyroot)
Returns a full keyroot of a specific configuration item with a reporter name specified.
Definition: ReporterMsg.cs:2028
void SetMark(string name)
Marks the current state of the XmlParser and sets mark name to name. Position is stored on a stack su...
Definition: XmlUtilities.cs:1655
void CreateTrainingTable(List< NeuralTrainingParameters > trainingParameters, List< int > tableDimensions)
Creates a table of training parameters.
Definition: NeuralTrainingParameters.cs:2044
int _length
Definition: VectorDto.cs:52
List< PointLinkType > _neighbors
Definition: PointContainer.cs:227
abstract void Gradient1(double x, double y, out double gradx, out double grady)
Calculates gradient of the first component of the current function and returns its components through...
double EndParameter
Definition: TorusKnot3D.cs:69
virtual void SaveInput()
Saves contents of the simulation input file. Usually the contents is generated by taking the contents...
Definition: SimKosecFileManagerBase.cs:625
DateTime TimeStamp
Gets the data from time stamp contained in the timer.
Definition: UtilTime.cs:308
double[] GetParameters()
Returns parameters of the current parametric function as an array.
ModuleTest()
Definition: App.cs:26
static xdouble Cos(xdouble a)
Returns the cosine of the specified angle.
Definition: UtilMath.cs:1670
object Lock
Objectt for locking the current object.
Definition: IpcStreamClientServerBase.cs:42
bool TryGetDouble(int rowNumber, int columnNumber, out double value)
Safely gets the double value at the specified position of the data table, if it is defined,...
Definition: StringTable.cs:1015
RandomGenerator()
Initializes a new instance of random generator, using a time-dependent default seed value.
Definition: Random.cs:109
Matrix(IList< double > _matrixElements, int numRows, int numColumns=0)
Construct a matrix from a one-dimensional packed array.
Definition: Matrix.cs:232
virtual color GetContinuousColor(double value)
Returns the CONTINUOUS color from the current color scale that corresponds to the specified value.
Definition: ColorScale.cs:500
static object LockStatic
Locking object for static methods and properties of this class.
Definition: UtilSystem.cs:59
UnstructuredMesh2d(int length, string fieldName, string fieldDescription)
Constructs a new 2D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh2d.cs:53
InterpreterPipeClient(string pipeName, string serverAddress)
Constructs a new named pipe client with the specified pipe name, server address (NamedPipeClientBase....
Definition: CommandlineApplicationInterpreter.cs:5233
RealFunction funcIntegral
Definition: FunctionReal.cs:703
static int GetNumInputDuplicates(SampledDataSet sampledSet)
Returns the number of elements of the specified sampled data set with duplicated input parameters.
Definition: SampledData.cs:2355
static void ToByteArray(Int16 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1445
const string ArgDecrypt
Specifies that decryption is performed, rather than encryption.
Definition: UtilCryptoAux.cs:307
override double Trace
Gets matrix trace (sum of diagonal elements).
Definition: Matrix2DClass.cs:581
DateTime _creationTime
Definition: UtilTime.cs:111
static Counter MaxValue()
Creates a counter that contains maximal representable value.
Definition: Scalar.cs:453
virtual void SendResponse()
Sends the response (i.e., the ClientServerStreamBase2.ResponseString) back to the client.
Definition: ClientServerStreamBase2_Copy.cs:727
Definition: ICharacterStrategy.cs:1
void AddField(int dim1, int dim2, int dim3, string fieldName, string fieldDescription)
Creates a new field with specified dimensions and name and description, and adds it to the current co...
Definition: FieldCollectionGeneric.cs:64
XmlNode GetRootNode()
Returns the root node of the document.
Definition: XmlUtilities.cs:334
const double rDefault
Definition: Torus.cs:30
static void MultiplyPlain(IVector a, double scal, IVector result)
Multiplication of a vector by a scalar. This is a plain version of the method that does not perform a...
Definition: VectorBase.cs:1716
List< int > _trainingTableDimensions
Definition: NeuralTrainingParameters.cs:2648
double R
Red component of the color (range from 0 to 1).
Definition: Color.cs:108
T DeserializeString< T >(string strSerialized)
Deserializes an object from JSON - serialized string representation and returns it.
IdProxy(IdGenerator generator)
Creates a new ID holder, with ID automatically generated by the specified ID generator....
Definition: UtilIdRegistration.cs:109
Example implementation of IIdentifiable interface.
Definition: UtilIdRegistration.cs:302
void Unregister(int id)
Unregisters object with the specified ID. WARNING: This method should only be used in finalization me...
Definition: ObjectRegister.cs:109
virtual void AppendCommandArgumentSeparatorIfNecessary()
Appends a command line separator to the interpreter command file contents, if necessary (i....
Definition: InterfaceInterpreterBase.cs:483
List< IMatrix > Hessians
Functions' Hessians (matrices of second derivatives). If CopyReferences=true (false by default) then ...
Definition: FunctionVectorResultsInt.cs:169
void Script_PrintCommandsHelp()
Prits help for the installed internal commands of the script.
Definition: LoadableScriptBase.cs:612
virtual void SendResponse()
Sends the response (i.e., the IpcStreamClientServerBase2.ResponseString) back to the client.
Definition: IpcStreamServerBase.cs:273
void Load(Stream inStream, bool forceoverwrite)
Loads data store'result XML Doc from an input stream.
Definition: XmlUtilities.cs:123
static string _defaultKeyElementIndices
Definition: SampledDataCsv.cs:202
static void ExampleMathNetNumericsEVD()
Example of how to use EVD (eigenvalue decomposition) from Math.NET Numerics.
Definition: TestSpeed.cs:1038
const string AssemblyResourcesResx
Definition: ScriptAppBase.cs:3991
TVectorField ActiveVectorField
Gets active vector field. Has protected setter.
Definition: UnstructuredMesh2dGeneric.cs:391
Microsoft.VisualStudio.TestTools.UnitTesting.Assert Assert
Definition: IGLibCoreReflectionTests.cs:7
bool _trainingOutputsCalculated
Definition: NeuralApproximatorBase.cs:1440
ParallelJobCallback OnStarted
Delegate that is executed on started event.
Definition: ParallelJobContainerBase.cs:330
void DataToFunctionLoader()
Copies data of the form to function loader.
Definition: ScalarFunctionScriptController.cs:750
virtual string ToStringMtl(string materialName=null)
Converts material properties to a .mtl file string.
Definition: MaterialProperties.cs:77
Type CreateObject()
Creates and returns a new object of the type whose data is represented by the current DTO (Data Trans...
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
Definition: Torus.cs:53
bool _valueDefined
Definition: Function2d.cs:657
void Add(ICollection< Type > items)
Adds the specified collection of items to the current list. Items are added one by one,...
Definition: SortedUniqueItemList.cs:327
bool CalculatedObjectiveGradient
Flag indicating whether calculation of objective function gradient is required or not.
Definition: AnalysisResultsDto.cs:253
RosenbrockGeneralizedExhaustive()
Creates a new untransformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:859
override string ToString()
Returns a string representation of this vector in a standard IGLib form.
Definition: VectorBase.cs:3156
const string ArgPasswordLength1
Specification that length of the password or key follows.
Definition: UtilCryptoAux.cs:441
static void PermutationArrayToMatrix(int[] perm, ref IMatrix res)
Calculates and stores permutation matrix that correspond to the specified permutation array.
Definition: MatrixBase.cs:5639
static int DefaultInputSafetyFactorNum
Default value for number of input bound safety factors values in neural networks.
Definition: NeuralTrainingParameters.cs:1248
int _outputLevel
Output level for objects of this class.
Definition: ParallelJobContainerBase.cs:200
NeuralTrainingParameters this[params int[] indices
Gets the element of the training table specified by the indices.
Definition: NeuralTrainingParameters.cs:2699
virtual int NumExecutions
Number of executions or iterations performed in a speed test.
Definition: SpeedTestInfo.cs:59
static void MapCoordinatesToScalars(StructuredField3d< vec3 > referenceField, StructuredField3d< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 3D structured grid from the specified field of grid coordinates by a sp...
Definition: StructuredField3dGeneric.cs:344
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:611
virtual int NumPrimitives
Gets the total number of graphic primitives contained in this object, which includes primitives of al...
Definition: GrObjects.cs:232
int _numConstraints
Definition: AnalysisResultsDto.cs:45
Vector whose elements are of type double.
Definition: ComplexVector.cs:14
bool SetTextLogger(string filename)
Creates a TextWriter upon a file and sets it as the basic TextWriter to which reporting is also perfo...
Definition: ReporterMsg.cs:4933
bool SecondDerivativeDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionVectorInt.cs:53
static void DyadicProduct(IVector a, IVector b, ref IMatrix result)
Calculates dyadic product of two vectors and stores the result in the specified result matrix....
Definition: VectorBase.cs:1954
static IList< string > GetAssemblyResourceFiles(Assembly assembly, ref IList< string > resourceNames, bool clearBefore=true)
The same as GetAssemblyResourceFiles(Assembly, IList<string>, bool,), except that list of resource fi...
Definition: UtilSystem.cs:3834
bool IsInt(int rowNumber, int columnNumber)
Returns a flag specified whether the specified element of the data table exists and represents an int...
Definition: StringTable.cs:794
static void MultiplyTranspTransp(IMatrix a, IMatrix b, ref IMatrix result)
R=A^T*B^T. Multiplies transposed matrix by another transposed matrix, and stores the result in the sp...
Definition: MatrixBase.cs:3039
StopWatch1 Timer
Gets the stopwatch used for measuring time of commands.
Definition: CommandlineApplicationInterpreterBase.cs:2080
const string FileStandardPath
Definition: ScriptAppBase.cs:893
virtual string Compile()
Compiles the code that is currently loaded by the current loader, and returns full name of the compil...
Definition: Loader.cs:1243
bool EnableRangeTolerance
Flag for enabling toelrance that represent a percentage of the output range.
Definition: SerializationDtoNeural.cs:774
static string GetAssemblyCompany(Assembly assembly)
Returns company attribute of the specified assembly.
Definition: UtilSystem.cs:3102
LogRecord(ReportType messagetype, string message, Exception ex)
Launches a report. Predominantly for error and warning reports.
Definition: LoggerMsg.cs:54
static Assembly AssemblyResolveEventHandler(object sender, ResolveEventArgs args)
Event handler that tries to resolve assembly load.
Definition: UtilSystem.cs:2768
override VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:514
CommandLineJobContainer()
Prevent calling argument-less constructor.
Definition: CommandlineApplicationInterpreterBase.cs:44
virtual double GetObjective()
Returns the value of the objective function.
Definition: AnalysisResults.cs:459
override double CurvePolar(double t)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
Definition: ConicalSpiralFermats3D.cs:38
EventHandler TrainingCompleted
Event that is fired after completion of training procedure (after auxiliary data is updated).
Definition: NeuralApproximatorBase.cs:2764
static void ExportToObj(this StructuredMesh3D_03 mesh, string filePath, string materialFileName)
Definition: MeshExportExtensions_03.cs:17
static xdouble trunc(xdouble a)
Calculates the integral part of a specified number.
Definition: UtilMath.cs:1862
static int NextGlobalId
Gets the next integer ID that is unique i nthe scope of the process.
Definition: IGlooballyIdentifiable.cs:26
const string ArgDeleteAllVersions1
Specifies that all versions of a single file are deleted in the cleaning operation.
Definition: UtilCryptoAux.cs:647
IVector _outputRange
Definition: NeuralTrainingParameters.cs:171
void LogError(string message)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:709
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
bool HasDerivative
Whether derivative is defined or not. If false then CurveDerivative(double) cannot be used to calcula...
Definition: ICurveParameterization2D.cs:36
static void SetRandomUpperTriangular(IMatrix mat, IRandomGenerator rnd)
Sets the specified matrix such that it is upper triangular and contains random elements on the interv...
Definition: MatrixBase.cs:1065
string Description
Returns a short description of the function.
Definition: FunctionReal.cs:52
int _outputLenght
Definition: NeuralTrainingParameters.cs:1475
override void CopyFromPlain(AnalysisResults anres)
Copies data to the current DTO from an analysis results object.
Definition: AnalysisResultsDto.cs:299
NumberType GetModulusNumber(NumberType a, NumberType b)
Calculates and returns modulus of division of parameters a and b . This operation has an important m...
void Update(IVector coordinates)
Updates the bounding box in such a way that the specified vector fits in it. If the specified vector ...
Definition: DoubleQuoteStrategy.cs:3
virtual List< double > Constraints
Constraint function values. If CopyReferences=true (false by default) then only the list reference is...
Definition: AnalysisResults.cs:523
string CertificateStoreName
Name of the certificate store (usually, to locate the specified certificate).
Definition: UilCryptoAux1.cs:243
override double f3(double u, double v)
Definition: Function3d2d.cs:1236
string _VersionDirectory
Definition: App.cs:720
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
override void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating function Hessian, just throws the NotImplementedException exception.
Definition: Function2d.cs:80
static ScalarFunctionQuadratic ExampleFunction2d()
Creates and returns quadratic scalar function in 2D.
Definition: FunctionScalarExamples.cs:339
static string GetRuntimeVersionString()
Gets the version of the runtime on which the current application executes.
Definition: UtilSystem.cs:339
int _commandArgumentCount
Definition: InterfaceInterpreterBase.cs:101
bool _expires
Definition: App.cs:1123
abstract double GetReferenceCellValue(int cellIndex)
Returns the reference value (in the interval [0, 1]) corresponding to the specified cell in the discr...
static void GenerateCoordinates(Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:946
Linear(double a1, double a0)
Creates a linear function, coefficients are specified in the descending order.
Definition: FunctionRealInterpolation.cs:69
override string EvalToString(string code)
Evaluates (interprets) JavaScript code and returns string result of evaluation. Code must be such tha...
Definition: ExpressionEvaluatorJint.cs:159
SampledDataElementDto[] _elements
Definition: SampledDataDto.cs:116
override double ToReference(double actualValue)
Transforms the specified value from actual domain to reference domain (interval [0,...
Definition: ColorScale.cs:313
override string ToString()
Definition: SampleClasses.cs:21
const string ArgAsymKeyFlag1
Specification that assymmetric key CSP (crypto service provider) flag follows.
Definition: UtilCryptoAux.cs:370
void KillServerThread()
Forces the working to stop, even if it is in the middle of eecution of a job, by aborting the thread....
Definition: ParallelJobServerBase.cs:410
char _IndentCharacter
Definition: ReporterMsg.cs:2482
string _hashValue
Definition: UilCryptoAux1.cs:276
static GridGenerator1d CreateGeometric(double from, double to, int numNodes, double growthFactor)
Creates and returns a 1D grid generator. Grid intervals can grow or fall in geometrical series from t...
Definition: GridGenerator1dBase.cs:185
A 3D bounding box.
Definition: BoundingBox.cs:1486
const string ArgBinaryOutputFormatBase641
Binary output format (and possibly input, if not specified separately) used is hexadecimal.
Definition: UtilCryptoAux.cs:516
override bool GradientDefined
Whether calculation of gradient is implemeted for the current scalar function.
Definition: ScalarFunctionScriptBase.cs:176
Definition: MaterialProperties.cs:120
Matrix3d Multiply(double b)
Multiplies the current 3D matrix with the specified scalar and returns the product.
Definition: Matrix3DClass.cs:711
static int DefaultNumHiddenNeuronsThirdNum
Default value for number of hidden neurons in third hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1286
int NumX
Recommended number of points along the first parameter used to plot the surface.
Definition: Function3d2d.cs:745
void ExpandOrShrinkInterval(int componentIndex, double factor)
Symmetrically expands or shrinks the interval between the bounds for the specified component for the ...
XmlNode GetNextNode(string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1523
static double Radians(double x)
Converts angle in degrees to angle in radians and returns it.
Definition: UtilMath.cs:1165
Definition: GraphicalObjectsInt.cs:42
string _anOutJsonFilename
Definition: OptFileManager.cs:138
List< int > EpochNumbers
List of epoch numbers at which convergence data was sampled.
Definition: NeuralTrainingParameters.cs:590
string _scriptClassName
Definition: ScalarFunctionScriptLoader.cs:989
virtual string CmdNameSetVarBoolean
Command name - setting a boolean variable.
Definition: InterfaceInv.cs:106
double GetMaximalResidual(double equalityTolerance)
Returns the largest constraint function value corresponding to any violated constraint in the current...
override double Value(double x)
Returns the value of this function at the specified parameter.
Definition: FunctionReal.cs:955
virtual void WriteNeuralOutput(IVector outputValues)
Writes neural approximator outut values to the file at standard location.
Definition: NeuralFileManager.cs:666
void SetNeuronsOutputRange(double min, double max)
Sets the neurons output range. Bounds for all output neurons are set equally.
Definition: NeuralApproximatorBase.cs:1723
static void ExampleBlockCreateRemoveLatence(string filePath, int numSwitches, bool waitDirectory)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:1064
void ToString_ShouldReturnFalseForUnsupportedType()
Definition: ToStringTypeConverterViaParseReflectionTests.cs:58
@ Rfc2898
Specifies the Rfc2898DeriveBytes algorithms.
static Exception ReviseException(Exception ex, string messageaddition, bool keepmessage)
Takes an existing exception and returns a modified exception based on it. The returned exception is o...
Definition: ReporterMsg.cs:1689
static string DefaultStoppedResponse
Default stopped response (sent after the srver has sttopped on request).
Definition: ClientServerStreamBase2_Copy.cs:300
void PrintNeighborDistanceStatistics(int[] numSpecimens, IVector minDistances, IVector maxDistances, IVector averageDistances)
Definition: PointCloud.cs:690
override double Norm
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3DClass.cs:620
MathNet.Numerics.LinearAlgebra.Double.DenseMatrix DenseMatrix
Definition: TestSpeed.cs:18
string _applicationsDir
Definition: App.cs:1368
Interface for imperative parser of string-like constructs.
Definition: IParser.cs:14
double Norm2
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:48
static void SaveBinary(object objectToSave, Stream stream)
Save the specified serialized object in binary form to the specified stream.
Definition: UtilSystem.cs:5623
static double Mean(IEnumerable< double > sample)
Returns mean value of the specified sample.
Definition: UtilMath.cs:733
static void SaveMath(this IAnalysisResults anres, string filePath)
Saves the current analysis results to a file. If the file already exists then it is overwritten....
Definition: AnalysisResults.cs:78
static Linear GetLinear(double a1, double a0)
Creates and returns a new linear function with the specified coefficient.
Definition: FunctionRealInterpolation.cs:51
SimKosecFileManagerConv2(string dataDirectory)
Definition: SimKosecFileManager.cs:179
static VectorStore _matrixStore
Definition: VectorBase.cs:915
Complex Tanh()
Definition: Complex.cs:806
override void CopyFromPlain(NeuralTrainingLimits trainingLimits)
Copies the specified training limits to the current DTO.
Definition: SerializationDtoNeural.cs:873
ScalarFunctionResults(bool reqGradients)
1 parameter, no constraints, 1 objective function.
Definition: FunctionScalarResults.cs:33
string OriginalAssemblyName
Stores the original assembly name of the serialized type defined in the mapping. Must be verbatm,...
Definition: SerializationBinderSimple.cs:44
static Vector2d Copy(Vector2d v)
Returns a copy of the specified 2D vector.
Definition: Vector2Dclass.cs:466
TVectorField _activeVectorField
Definition: UnstructuredMesh1dGeneric.cs:388
string InterpretersName
Definition: CommandlineApplicationInterpreter.cs:5256
static RNGCryptoServiceProvider _rng
Definition: UtilCrypto.cs:280
bool HessianDefined
Whether calculation of function Hessian is defined.
Definition: Function3d.cs:27
const int DefaultPasswordLength
Default password length.
Definition: UtilCryptoAux.cs:273
virtual IMatrix GetHessian()
Returns the function's Hessian.
Definition: FunctionScalarResults.cs:327
override void InitEnd()
Finalizing part of initialization. Auxiliary object is not affected because default delegates do not ...
Definition: ReporterMsg_Derived.cs:350
mat2 _G
Definition: Function2d.cs:542
string GetPath(string fileOrDirectoryName)
Returns full path of the file or directory with the specified relative path within the data directory...
Definition: NeuralFileManager.cs:107
Base class for various DTO (Data Transfer Objects) for scalar function controllers....
Definition: VectorFunctionDto.cs:34
UnstructuredMesh3d(int numElements, string fieldName)
Constructs a new unstructured mesh with the specified number of nodes and name.
Definition: UnstructuredMesh3dGeneric.cs:48
static int DefaultMaxEpochs
Default value for maximum number of epochs in neural networks.
Definition: NeuralTrainingParameters.cs:1289
IVector CreateVector(Type vectorType, int dimension)
string _resetCommand
Definition: ExpressionEvaluatorCompiled.cs:350
abstract void CloseConnection()
Closes connection of the server pype.
virtual double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
Definition: AnalysisResults.cs:433
static void GenerateCoordinates1d(Field< vec2 > field, int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy)
Generates coordinates of a 1D unstructured grid embedded in 2D space of a parametric curve according ...
Definition: FieldGeneric.cs:1285
override void InitWaitFileEventBase(string fileOrDirectoryPath)
Performs class specific initialization.
Definition: WaitConditionFile.cs:793
LogRecord CreateWarning(string location, string message, Exception ex)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:250
CylinderParametric(double r, double h)
Constructs parametric definition of rotationally symmetric origin-centered ellipsoid with the specifi...
Definition: Function3d2d.cs:902
FunctionPolynomial(double[] coefficients)
Definition: FunctionReal.cs:1244
bool _certificatePasswordThroughUi
Definition: UilCryptoAux1.cs:260
static byte[] PadToSymmetricAlgorithmBlocksizeCyclic(byte[] byteArray, SymmetricAlgorithm algorithm, bool truncateIfLarger=false)
For the specified symmetric encryption algorithm, this function takes the specified byte array and ch...
Definition: UtilCrypto.cs:1766
const int LibDefaultMaxDepth
Library-wide default JSON serializer option for maximum depth of object graph when serializing or dws...
Definition: JsonSerializationOptionsFactory.cs:81
color GetContinuousReferenceColor(double referenceValue)
Returns the CONTINUOUS color from the current color scale that corresponds to the specified value in ...
Sandbox for quick tests related to type conversion.
Definition: SpecificTypeConvrterTests.cs:25
string GetOptimizationParametersDefinedFromInput(int which)
Returns value of the specified input (optimization) parameter obtained from the current contents of s...
Definition: SimKosecFileManagerBase.cs:825
Definition: SampleClasses.cs:8
string RestorePrompt()
Restores a string (prompt) from the end of the list of stored prompts.
Definition: CommandlineApplicationInterpreterBase.cs:1892
Line Settings.
Definition: GrProperties.cs:26
virtual bool IsMultilineResponse
Whether or not multi line responses are allowed.
Definition: ClientServerStreamBase2_Copy.cs:112
vec3[][] Vertices
Contains nodes of the mesh.
Definition: StructuredSurfaceMesh3D.cs:16
double _shiftY
Definition: FunctionReal.cs:842
virtual void AllocateConstrainGradients()
Allocates space for constraint function gradients (including for the list, if necessarty).
Definition: AnalysisResults.cs:900
virtual bool ReqHessians
Indicates whether calculation of functions' Hessians is/was requested.
Definition: FunctonVectorResults.cs:660
List< IVector > GetConstraintGradients()
Returns a list of constraint function gradients.
const double Sqr3
Square root of 3.
Definition: Constants.cs:327
Definition: Interpreter.cs:45
override string ToString()
Returns string representation of the current object.
Definition: SimKosecFileManagerBase.cs:1631
string _completeCode
Definition: ExpressionEvaluatorCompiled.cs:118
static IList< string > GetAssemblyResourceFiles(Assembly assembly, IList< string > resourceNames=null, bool clearBefore=true)
Returns names of the resource files (generated from .resx files, with .resources extensions) in the s...
Definition: UtilSystem.cs:3850
InterpreterVariable GetLocalVariable(CommandThread cmdThread, string varName, int framesBelowTop)
Returns local variable with the specified name that is defined specified number of frames below the t...
Definition: CommandlineApplicationInterpreter.cs:434
Constant scalar function of vector variable. Function is evaluated according to f(x) = c where x is v...
Definition: FunctionScalarExamples.cs:20
const int DefaultSubSubVersion
Definition: App.cs:842
void GetNeighborDistanceStatistics(int numClosestPoints, ref int[] numSpecimens, ref IVector minDistances, ref IVector maxDistances, ref IVector averageDistances)
Calculates a number of statistics on the distances of the first specified number of closest neighbors...
Definition: PointCloud.cs:495
VectorFunctionResults(int numParameters, bool reqGradients)
Specified number of parameters, 1 function. No gradients required.
Definition: FunctonVectorResults.cs:55
DTO (data transfer object) for neural data input element mapping definition.
Definition: NeuralMapData.cs:96
double q
Number of times the knot winds around torus' circular cross-section.
Definition: TorusKnot3D.cs:44
static void Scale(IVector a, double scal, ref IVector result)
Multiplication of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1799
Example quadratic polynomial in 2D. f(x,y) = 2*x^2 + y^2 + x*y + x + y + 10.
Definition: FunctionScalarExamples.cs:1125
string _keyNumSamplingPoints
Definition: SampledDataCsv.cs:818
static double ToDouble(string strsetting)
Converts a string representation of a double setting to an integer value. If the setting is not defin...
Definition: UtilString.cs:773
Represents scalar functions of 2 variables.
Definition: Function2d.cs:17
bool DoLogging(ReportType reptype)
Returns true if the report of a given type should be logged in log files (according to ReportingLevel...
Definition: ReporterMsg.cs:2749
void AddIndexField(TIndexField field, string name)
Adds the specified index field to the collection of index fields under the specified name.
Definition: StructuredMesh2dGeneric.cs:184
override bool Equals(object obj)
Indicates whether obj is equal to this instance.
Definition: Scalar.cs:489
static string[][] FromCsvString(string csvString, string separator)
Converts a CSV string to a 2D jagged array of string values and returns it.
Definition: UtilCsv.cs:158
static List< enumType > GetEnumValues< enumType >()
Returns IEnumerable containing all values of the enumeration whose type is specified as type paramete...
Definition: Utils.cs:289
void Example02_ExportHelixCurve3DTube(int numLongitudinal, int numTransverse, double radius, double a=1.0, double b=0.2, bool righthanded=true)
Creeates a tubular surface mesh from a helix parameterization, HelixCurve3D, in different ways,...
Definition: TubularSurfaceExportExamplesTests.cs:285
void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
bool DisposeWriter
Definition: ReporterMsg.cs:3572
double Distance(PointType pt)
Returns distance between the specified point and the reference point (property ReferencePoint) of the...
Definition: DistanceComparer.cs:657
bool _internalTrainingDataPrepared
Definition: NeuralApproximatorBase.cs:1438
static void TestSerialization< TypeSer >(ISerializer serializer, TypeSer serObject, string filePath, bool firstStep, bool secondStep)
Test serialization performed by the specified serialization helper class. This function creates a tes...
Definition: SerializerBase.cs:430
bool HasDerivative
Definition: TorusKnot3D.cs:63
virtual int NumFunctions
Number of functions.
Definition: FunctonVectorResults.cs:153
double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
readonly ToStringTypeConverterViaJson toJson
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:33
List< CommandMethod > AppSystemMethods
List of methods used to perform system related commmands.
Definition: ScriptAppBase.cs:3578
abstract double rho
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:28
virtual void SetFillColor(int which, Color color)
Sets the specified fill color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:276
int FlatIndex(int[] index)
Gets a flat index for the given multidimensional index.
Definition: CollectionTypeConverter.cs:566
static Complex Multiply(Complex c1, Complex c2)
Multiplies c1 by c2 and returns the result.
Definition: Complex.cs:422
string _invOptCommandPath
Definition: OptFileManager.cs:162
delegate RealFunction DlgFunctionTransformation(RealFunction f)
Operators on univariate real functions, transforms a function to obtain another one.
static Process ExecuteSystemCommand(string workingDirectory, bool asynchronous, string command, params string[] args)
Executes system command with arguments.
Definition: UtilSystem.cs:392
static string GetStringSaltedHashSha512Hex(string stringToHash, string salt, int numIterations=0)
Computes and returns the SHA-512 salted hash of the specified string, with the specified number of re...
Definition: UtilCrypto.cs:997
Unstructured mesh in 2D.
Definition: UnstructuredMesh2d.cs:16
FieldCollection3d< TVectorField, TVector > VectorFields
Gets the collection of vector fields of the current mesh.
Definition: StructuredMesh3dGeneric.cs:392
abstract void Analyse(IAnalysisResults analysisData)
Performs analysis - calculates requested results and writes them to the provided data structure.
int MyId1
Definition: SampleClasses.cs:216
XmlElement GetElement(string xpath)
Returns the first ELEMENT node in the XML sub-tree whose root is basenode that satisfies the specifie...
Definition: XmlUtilities.cs:234
object _mainLock
Definition: LoadableScriptInterpreter.cs:41
virtual void Script_RemoveAllCommands()
Removes ALL internal script commands from the internal interpreter of the current scripting object.
Definition: LoadableScriptBase.cs:672
abstract BoxType CreateBoundingBox(int dimension)
Creates and returns a new bounding box of the specified dimension.
byte[] _passwordBytes
Definition: UtilCryptoAux.cs:742
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:1034
override StreamReader InputStream
Input stream of the server's named pipe.
Definition: IpcPipes.cs:651
override void CopyToPlain(ref AnalysisResults anres)
Copies data from the current DTO to an analysis results object.
Definition: AnalysisResultsDto.cs:378
string _Name
Definition: App.cs:695
int MyId4
Definition: SampleClasses.cs:273
static void Copy(IVector a, ref IVector result)
Copies components of a vectr to another vector. Resulting vector is allocated or reallocated if neces...
Definition: VectorBase.cs:1176
int _numIdleJobServers
Definition: ParallerJobDispatcherBase.cs:1114
ThreadPriority ThreadPriority
Priority of the current interpreter main thread and threads for executing the parallel commands.
Definition: CommandlineApplicationInterpreter.cs:2180
void AddScalarField(TScalarField field, string name)
Adds the specified scalar field to the collection of scalar fields under the specified name.
Definition: UnstructuredMesh2dGeneric.cs:329
virtual int InputLength
Number of input parameters in sampled data.
Definition: SampledDataDto.cs:123
List< CommandAdapterSingleThreaded > _stAdapters
Definition: CommandlineApplicationInterpreter.cs:2686
void SetConstraintHessiansReference(List< IMatrix > reference)
Sets constraint functios' Hessians. Only the list reference is copied.
readonly List< ParallelJobServerBase< JobContainerType > > _jobServers
List of job servers contained by the current dispatcher.
Definition: ParallerJobDispatcherBase.cs:62
string MessagePrefixWithSeparator
Gets the mesage prefix with separator. If some string is a message, everything that follows this stri...
Definition: IpcStreamClientServerBase.cs:292
void Json_InitOnlyClas_Deserialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:298
static object _staticLock
Definition: UtilTime.cs:27
override int InputLength
Gets or sets the number of input neurons.
Definition: NeuralApproximatorBase.cs:646
Networking and web utilities.
Definition: UtilNet.cs:31
const string KeyTextWriterFile1
Definition: ReporterMsg.cs:2318
void AddTag(string tagName, string text, bool withLineBreak, params string[] attributeNameValuePairs)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:645
const string ArgCertificatePasswordThroughUI
Specifies that certificate password (for access to private key) should be obtained through the user i...
Definition: UtilCryptoAux.cs:390
static void GetAnalysisResult(string requestString, ref IVector parameters, ref bool calcobj, ref bool calcconstr, ref bool calcgradobj, ref bool calcgradconstr, ref double obj, ref IVector constr, ref IVector dobjdp, ref IVector[] dconstr, ref int errorcode, ref bool reqcalcobj, ref bool reqcalcconstr, ref bool reqcalcgradobj, ref bool reqcalcgradconstr)
Read the analysis result data from data file Format:
Definition: AnalysisResults.cs:2113
double TestDelayRelativeError
Interval of random errors added to the test delay time, relative to unnoisy delay time.
Definition: ParallelJobContainerBase.cs:289
ITestOutputHelper Output
Enables writing to tests' output. Provided by the framework (injected via constructor).
Definition: TestBase.cs:49
CryptoFlags _flags
Definition: UtilCryptoAux.cs:171
Vector(params double[] components)
Constructs a vector from a 1-D array or from listed variable number of components.
Definition: Vector.cs:144
virtual string AppAddCertificate(string appName, string[] args)
Executes command-line action - prints information about the certificate stores specified by command-l...
Definition: UilCryptoAux1.cs:3615
static void LuSolve(IMatrix luMatrix, int[] perm, IMatrix B, ref IVector auxVec, ref IVector auxRight, ref IVector auxX, ref IMatrix X)
Calculates inverse of the matrix from its specified LU decomposition.
Definition: MatrixBase.cs:5445
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:108
List< string > BlockEnterCommands
A list of commands that can enter the type of the current code block.
Definition: CommandlineApplicationInterpreterBase.cs:948
bool TryCopy(string str)
Parses a scalar from a string and sets the value to the parsed scalar. Leading and trailing spaces ar...
Definition: Scalar.cs:372
static readonly PhysicalConstant EarthSurfaceAreaSea
Earth surface area of sea, 361,132,000 km^2.
Definition: Constants.cs:1432
string[][] _inputFileLines
Definition: SimKosecFileManagerBase.cs:545
int _currentColumn
Definition: SampledDataCsv.cs:1100
double _a0
Definition: FunctionRealInterpolation.cs:464
static string CollectionToString(System.Collections.ICollection list)
Returns a string representing the specified collection of objects. Each object is printeed by its ToS...
Definition: Utils.cs:2589
InterpreterPipeClient CreatePipeClient(string pipeName, string clientName=null, bool createCommand=false, int outputLevel=3)
Creates and registers a new interpreter's named pipe client.
Definition: CommandlineApplicationInterpreter.cs:5635
int _columnCount
Definition: MatrixDto.cs:56
const double aDefault
Default value of a.
Definition: Ellipsoid.cs:29
double ReferenceInverse(double y)
Definition: FunctionReal.cs:1351
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:660
override void ReferenceHessianPlain(IVector x, IMatrix hessian)
Returns the second derivative (Hessian) of this function at the specified arameter.
Definition: FunctionScalarRadial.cs:150
void CapturedVar_StaticCaptureVar_WorksCorrectlyWithCastValue()
Definition: CapturedVarTests.cs:161
object _mainLock
Definition: ParallelJobContainerBase.cs:54
static string GetFileContents(string filePath)
Returns contents of the specified file.
Definition: Loader.cs:1643
delegate void ModuleDelegate(string modulename, ICommandLineApplicationInterpreter interpreter)
Delegate for installing a module on the interpreter.
static void SetConstant(IMatrix mat, double elementValue)
Sets all components of the specified matrix to the specified value.
Definition: MatrixBase.cs:839
BoundingBoxBase(int dimension)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal co-or...
Definition: BoundingBox.cs:324
virtual string[] ConvertParameterNamesToArray(string parameterNamesString)
Converts a single string containing parameter names in delimited form to an array of individual param...
Definition: ScalarFunctionScriptController.cs:128
int NumPasswordIterations
Number of iterations in passworg hashing algorithms, aimed at increasing processing effort to break t...
Definition: UilCryptoAux1.cs:342
A simple SerializationBinder, defines a single mapping from the original assembly and type name to a ...
Definition: SerializationBinderSimple.cs:18
void SetConstraints(List< double > values)
Sets the list of constraint function values. If CopyReferences=true (false by default) then only the ...
virtual IVector GetGradient(int which)
Returns the gradient of the specified function.
Definition: FunctonVectorResults.cs:371
bool IsAbsolutePaths
Definition: UilCryptoAux1.cs:398
static new void Example()
Example for this class, just runs examples form the LinearBasis class.
Definition: ApproxBasis.cs:256
virtual string RunRepeatVerbose(CommandThread cmdThread, string[] args)
Runs command several times where the first argument is number of repetitions, second argument is comm...
Definition: CommandlineApplicationInterpreter.cs:1644
virtual string CmdNameInteractive
Command name - analyse.
Definition: InterfaceInv.cs:86
virtual string CmdTest(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for test command, which just prints its name and arguments.
Definition: CommandlineApplicationInterpreter.cs:6485
abstract override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
abstract bool RepairInputParameters(IVector parameters)
Repairs simulation parameters, if necessary, in such a way that values are consistent with simuation ...
double NormInf
Infinity-norm, maximum absolute value of any component.
Definition: VectorBase.cs:78
int _certificateStoreLocation
Definition: UilCryptoAux1.cs:247
bool IsFiniteSupport
Whether penalty function has finite support (meaning that it is 0 for all arguments less than some sp...
Definition: FunctionRealPenalty.cs:20
double _tolMaxRelativeScalar
Definition: NeuralTrainingParameters.cs:1590
virtual void UnloadApplicationDomain()
Unloads the application domain used by the current script loader.
Definition: Loader.cs:1400
StructuredField3d(int dim1, int dim2, int dim3)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:86
Exp()
Definition: FunctionRealBasic.cs:66
string OriginalTitle
Definition: NeuralMapData.cs:43
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: DoubleQuoteStrategy.cs:5
bool StopServerWhenAllJobsDone()
Waits until all jobs are completed, and then stops the server.
Definition: ParallerJobDispatcherBase.cs:525
void LoadDefinitionAndData(string filePath)
Loads data definition AND sampled data form the specified CSV file.
Definition: SampledDataCsv.cs:3378
const string ArgCertificateFile1
Specification that certificate file path follows.
Definition: UtilCryptoAux.cs:381
Enables to reference classes that both inherit from the framework's SerializationBinder (necessary fo...
Definition: ISerializationBinder.cs:28
override double f3(double u, double v)
Definition: Function3d2d.cs:1708
override double f2(double u, double v)
Definition: Function3d2d.cs:1579
Base class for defining Vector functions whose evaluation is defined in bulk, and evaluation of indiv...
Definition: FunctionVectorBase.cs:23
void AddCommand(string commandName, CommandLine command, string referenceDescription)
Adds a new command to the interpreter. If the command with the specified name already exists then the...
Definition: InterpreterCommandLine.cs:252
bool IsAt(int position, CharType ch)
Returns true if the specified character is at the specified position of the parsable.
static void RemoveDefaultAssemblies(params string[] assemblies)
Removes the specified assemblies from the list of default assemblies that are referenced by newly cre...
Definition: Loader.cs:339
virtual void AllocateRequested()
Allocates space for all requested result objects.
Definition: FunctonVectorResults.cs:548
bool _multipleNetworks
Definition: NeuralApproximatorBase.cs:599
SingleTypeConverterFromDelegate(Func< TSource, TTarget > conversionDelegate)
Definition: SingleTypeConverterFromDelegate.cs:12
static double Acos(double a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:1197
double TotalCpuTime
Gets the total CPU time in seconds, measured by the timer up to the current moment....
Definition: UtilTime.cs:338
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:1205
static int[][][] IntJaggedArray3x2x4
Sample 2D jagged array of int (type int[][][]), for use in tests. Array's shape corresponds to a 2D r...
Definition: SampleCollections.cs:129
void PushObjectContextOntoStack()
Definition: PPScopeState.cs:50
Complex Ln()
Definition: Complex.cs:734
readonly object ServersLock
Lock that is usef for locking code that can be run from servers.
Definition: ParallerJobDispatcherBase.cs:998
static Matrix Ones(int d1, int d2)
Creates a d1*d2 matrix filled with 1.
Definition: Matrix.cs:424
Interpreter that can install commands from dynamically loaded (compiled) scripts and run them....
Definition: LoadableScriptInterpreter.cs:27
Matrix L
Returns the lower triangular factor.
Definition: MatrixDecompositions.cs:372
mat2(double xx, double xy, double yx, double yy)
Initializes 2D matrix structure with the specified components.
Definition: Matrix2D.cs:365
string GetNetworkFilePath(string fileOrDirectoryPath, int whichNetwork)
Returns an absolute path to the file for storing the specified neural network contained on the curren...
TestClass()
Definition: SerializerBase.cs:574
ImplicitlyConvertibleFromDerived()
Definition: SampleClasses.cs:263
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArray2DToIntJaggedArray2DObjectToIntJaggedArray2D()
Definition: CollectionTypeConverterTests .cs:643
const string ArgAlgorithmType1
Specification of algorithm type follows.
Definition: UtilCryptoAux.cs:331
Information about optimization data and algorithm parameters.
Definition: OptimizationInputData.cs:18
bool IsPenaltyDerivativeDefined(int which)
Returns true if the penalty function derivative can be calculated for the specified constraint,...
Definition: AnalysisResults.cs:2638
int GetHashFunctionInt()
Returns an integer valued hash function of the current matrix object.
IVector ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: NeuralTrainingParameters.cs:312
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
double xx
Definition: Matrix2D.cs:351
static void Resize(ref IMatrix mat, IMatrix template)
Resizes, if necessary, the specified matrix according to the dimensions of the specified template mat...
Definition: MatrixBase.cs:1502
static object LockGlobal
Global, process-level locking object.
Definition: Utils.cs:39
Exception Ex
Eventual exception that caused the message to be logged.
Definition: LoggerMsg.cs:121
static xdouble operator--(xdouble a)
Definition: UtilMath.cs:1429
Structured mesh geometry in 2 dimensions.
Definition: StructuredField2dGeneric.cs:16
Base function for component functions, provides internal variable for vector function.
Definition: Function3d2d.cs:481
static Vector Random(int n, IRandomGenerator rand=null)
Generates vector with random elements uniformly distributed on [0, 1).
Definition: Vector.cs:212
void AddCustomCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new file system - related embedded application's command (added as sub-command of the base com...
Definition: ScriptAppBase.cs:136
virtual string CmdNameSetVarMatrix
Command name - setting a matrix variable.
Definition: InterfaceInv.cs:118
abstract FunctionControllerType CreateVectorFunctionController(int numParameters, int numValues)
Creates and returns a new vector cast to the interface type IVector.
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArrayNonrectangular3DToStringIListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:574
virtual string GetExampleCode()
Gets example code base (a template code for compiling) where names of classes, methods etc....
Definition: Loader.cs:476
void AddParagraph(string paragraphText)
Adds a new paragraph with the specified text to the HTML document.
Definition: HtmlWriter.cs:674
static void ToByteArray(UInt32 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1584
int TextWriterFlush()
Flushes all text writers of the Writer's TextWriter subsystem.
double _parameter
Definition: FunctionScalarParametric.cs:193
void Report(ReportType messagetype, string location, string message)
Launches a report.
Definition: ReporterMsg.cs:3238
virtual void SetAnInputReady()
Sets the analysis input ready flag.
Definition: OptFileManager.cs:744
virtual mat2 Hessian1(vec2 parameters)
Calculates and returns Hessian of the first component of the current function and returns it (in the ...
Definition: Function3d2d.cs:404
double _maxvalue
Definition: ColorScale.cs:272
void SetZero()
Sets all components of the current vector to 0.
string NeuralDataDefinitionPath
File path of the input and output data definition file. Setter takes only pure file name,...
Definition: NeuralFileManager.cs:195
virtual void InvalidateTrainingDataDependencies()
Invalidates all data that must be re-calculated after training data changes. This method is called af...
Definition: NeuralApproximatorBase.cs:2450
static Assembly[] GetReferencedAssembliesWithoutGac()
Returns an array containing the executable assembly and all its DIRECTLY referenced assemblies....
Definition: UtilSystem.cs:2354
double G
Green component of the color (range from 0 to 1).
Definition: Color.cs:112
Sample implementation of ISingleTypeConverter<SourceType, TargetType> for testing.
Definition: SpecificTypeConvrterTests.cs:88
void Add(params T[] items)
Definition: SampleClasses.cs:458
int InputLength
Number of input parameters in sampled data elements. Less than 0 means unspecified.
Definition: SampledData.cs:206
static void Divide(IMatrix a, double b, ref IMatrix result)
Divides matrix by scalar and stores the result in the specified result matrix. This operation can be ...
Definition: MatrixBase.cs:4418
static readonly PhysicalConstant NeutronMass
Neutron mass. Unit: kg.
Definition: Constants.cs:540
override double f2(double u, double v)
Definition: Function3d2d.cs:1504
static Matrix Create(double[][] A)
Constructs a matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix.cs:320
int NumScalarFields
Gets the number of scalar fields.
Definition: UnstructuredMesh1dGeneric.cs:289
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:863
string GetGradientDefinitionSingleString()
Returns a string that contains delimited definitions of all gradient components.
Definition: ScalarFunctionScriptController.cs:216
string _typeAssemblyQualifiedName
Definition: SerializationDtoBase.cs:758
static int Combine< T1, T2 >(T1 value1, T2 value2)
Definition: HashCodeHelper.cs:51
bool SetTextWriter(Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:4096
static bool operator!=(vec2 a, vec2 b)
Vector comparison, returns true if vectors are different.
Definition: Matrix2D.cs:305
vec2(double comp)
Initializes all component of a 2D vector with the specified value.
Definition: Matrix2D.cs:43
Controllable loadable script, provides more control over loading and execution.
Definition: LoadableScriptBase.cs:121
static ILoadableScript CreateScriptObject(string scriptClassFullName, int outputLevel)
Creates and returns a new script obect of the specified type.
Definition: Loader.cs:193
void CalculateVectorResponse(IVector inputParameters, ref IVector outputValues)
Calculates simulator's response for the specified input parameters.
Definition: SimKosecFileManagerBase.cs:1536
void Set(double comp)
Sets components of the vector to the specified value.
Definition: Matrix2D.cs:395
virtual vec2 Gradient(vec2 parameters)
Calculates and returns gradient of the current 2D scalar function.
Definition: Function2d.cs:184
static int GetIndex(int[] tableDimensions, params int[] indices)
Returns the index of the element in the onedimensional list that corresponds to the specified indices...
Definition: Utils.cs:421
const string VarNameReturnedValueName
Name of variable (internal in class defined in loadable script) that holds the name of local variable...
Definition: ScalarFunctionScriptLoader.cs:58
bool _strict
Definition: Utils.cs:3201
void Report(ReportType messagetype, Exception ex, string location)
Launches a report. Predominantly for error and warning reports.
Definition: ReporterMsg.cs:3219
TScalarField AddScalarField(string fieldName, string fieldDescription)
Creates a new scalar field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: StructuredMesh2dGeneric.cs:326
static void UpdateBounds(Field< vec3 > field, IBoundingBox bounds)
Updates the specified bounds (object of type IBoundingBox) in such a way that all 3D vector elements ...
Definition: FieldGeneric.cs:198
static int DefaultNumHiddenNeuronsThirdMin
Default value for number of hidden neurons in third hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1282
virtual void ModuleInitializationCore(string name, string codeName, int version, int subVersion, int subSubVersion, string release)
Performs the core initialization step of the program or module.
Definition: App.cs:781
static ReporterBase Global
Gets the global reporter object. This is typically used for configuring the global reporter.
Definition: ReporterMsg.cs:1566
vec2 Normalized1()
Returns normalized this 2D vector in 1 norm.
Definition: Matrix2D.cs:152
bool _checkOutputUniqueness
Definition: NeuralMapData.cs:562
Definition: MatrixDecompositions.cs:105
RealFunction CloneFunction()
Definition: FunctionReal.cs:711
bool IsNeuralInputReady()
Returns value of the falg that indicates whether the approximation input data is ready.
Definition: NeuralFileManager.cs:578
Definition: ModelParameter.cs:13
override int GetHashCode()
Returns the hash code (hash function) of the current matrix.
Definition: Matrix3DClass.cs:585
double _a3
Definition: FunctionRealInterpolation.cs:987
char ForWhichCharacter
Definition: ColonCharacterStrategy.cs:24
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealBasic.cs:238
bool Flag
Definition: SerializerBase.cs:583
bool IsDefaultValueDefined
Whether default parameter vlaue is defined or not. This property has been added to the class such tha...
Definition: IModelParameter.cs:72
ILoadableScript ScriptToRun
Script to be run.
Definition: ApplicationCommandLineBase.cs:123
static ReporterBase _Global
Definition: ReporterMsg.cs:1548
FieldCollection3d< TScalarField, TScalar > _scalarFields
Definition: StructuredMesh3dGeneric.cs:230
OutputElementDefinition(string name, string title)
Constructor. Element index is unknown.
Definition: SampledDataDefinition.cs:556
CommandAdapterSingleThreaded()
Definition: CommandlineApplicationInterpreterBase.cs:255
SortedUniqueItemList(ICollection< Type > items)
Creates a sorted list of items containing all items from the specified collection.
Definition: SortedUniqueItemList.cs:62
List< LogRecord > Logs
Logs that are currently on logger.
Definition: LoggerMsg.cs:332
static void AddPlain(IVector a, IVector b, IVector result)
Sums two vectors and stores the result in the specified result vector. This is a plain version of the...
Definition: VectorBase.cs:1360
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: PointCloud.cs:100
void SetMessageFalseSeparator(char messageFalseSeparator)
Changes message false separator for the current object.
Definition: IpcStreamClientServerBase.cs:278
bool TextWriterAppend
Definition: ReporterMsg.cs:2342
void TestClosestPointsWithOutputs(int numClosestPoints, bool printByComponents, bool printIndividualPointsComp, PointContainerType[] points, IDistanceComparer< PointContainerType, PointType > comparerInput, List< PointContainerType > trainingPoints)
For each point (training element) in the specified array, the training points are sorted according to...
Definition: PointCloud.cs:998
StructuredSurfaceMesh3D _mesh
Definition: GrObjects.cs:524
double _a0
Definition: FunctionRealInterpolation.cs:111
List< IVector > ConvergenceErrorsTrainingRmsList
Convergence List of Rms errors calculated on training data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:199
override double f1(double u, double v)
Definition: Function3d2d.cs:1532
double _shiftX
Definition: FunctionReal.cs:842
static double IntegralTrapeZoidalTab(DlgFunctionValue f, double from, double to, int numintervals)
Calculates numerical integral of a function by Trapezoidal rule, but through a table of values.
Definition: FunctionNumeric.cs:192
void SetHessianReference(int which, IMatrix reference)
Sets the specified function's Hessian. Only the reference is copied.
StructuredSurfaceGridPrimitive(int num1, int num2)
Constructs a structured surface grid primitive in 3 dimensions. Grid co-ordinates are initialized to ...
Definition: GrObjects.cs:501
static ReporterConsole _Global
Definition: ReporterMsg_Derived.cs:375
bool HasLogs(ReportType type)
Returns true if logger contains any logs of the specified type, false otherwise.
Definition: LoggerMsg.cs:375
int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: FunctionVectorResultsInt.cs:280
mat2 NormalizedEuclidean()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix2D.cs:589
Vector2d(double comp)
Initializes all component of a 2D vector with the specified value.
Definition: Vector2Dclass.cs:199
bool _compareByVerificationMaxError
Definition: NeuralTrainingParameters.cs:2986
virtual void ServerCalculateApproximation()
Performs neural network-based approximation at prescribed input parameters and saves results....
Definition: NeuralFileManager.cs:764
object lockobj
Definition: SettingsRreader.cs:33
bool InverseDefined
Tells whether analytical inverse function is defined or not.
Definition: FunctionReal.cs:99
string _returnedString
Definition: UilCryptoAux1.cs:370
string NetworkStateRelativePath
Relative path where the curren network state has been saved. Auxiliary property used in deserializati...
Definition: NeuralApproximatorBase.cs:261
static Counter MinValue()
Creates a counter that contains minimal representable value.
Definition: Scalar.cs:450
mat2(mat2 m)
Copy constructor. Initializes components of a 2D matrix with components of the specified matrix.
Definition: Matrix2D.cs:358
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:197
bool _isClassLoaded
Definition: Loader.cs:924
Cartesian and cylindrical parameterization of a cylindrical billiard knot in 3D.
Definition: CylindricalBilliardKnot.cs:19
InterfaceInterpreterBase(string commandFileName)
Definition: InterfaceInterpreterBase.cs:29
virtual string CryptoFunctionTimeKeyGeneration_OLD_TO_DELETE_LATER(string appName, string[] args)
Executes embedded application - symmetric encryption of files, strings, or byte fields.
Definition: ScriptAppBase.cs:3101
abstract void CopyFromPlain(BaseType obj)
Copies contents of the specified object to the current DTO (Data Transfer Object).
override CommandStackFrame< ICommandLineApplicationInterpreter, CommandThread > GetThreadStackFrame(int stackLevel)
Returns the sibling stack frame at the certain level.
Definition: CommandlineApplicationInterpreterBase.cs:700
static Vector2d BasisVector(int i)
Generates an d2-dimensional unit vector for i-th coordinate.
Definition: Vector2Dclass.cs:321
IParserState Clone()
Returns a clone of the current parser state.
InterfaceInterpreterBase(string workingDirctory, string commandFileName)
Constructor.
Definition: InterfaceInterpreterBase.cs:38
virtual void Reset()
Resets the password/key generator (Clears its parameters and sets the initialization flag IsInitializ...
Definition: UtilCryptoAux.cs:689
SerializationBinderElementary(string origTypeName, bool isTypeNameSimple, Type targetType)
Constructs serialization binder where assembly name is ignored.
Definition: SerializationBinderElementary.cs:42
virtual string AppCrypto(string[] arguments)
Runs one of the cryptography - related embedded applications.
Definition: ScriptAppBase.cs:1762
override void ModuleInitializationBefore()
A method called before other initialization parts of the module.
Definition: App.cs:35
static xdouble tanh(xdouble a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:1846
SerializationBinderCascaded(params SerializationBinderBase[] binders)
Calls base class' SerializationBinderCascadedImmutable(SerializationBinderBase[]) to construct the ob...
Definition: SerializationBinderCascaded.cs:25
IComparer< PointContainerType > StoredDistanceComparer
Gets comparer that compares two point containers of type PointContainerType by the stored distance s...
Definition: DistanceComparer.cs:698
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealInterpolation.cs:225
ILoadableScript CreateObjectFromFile(string filePath, string[] initializationArguments)
Creates and returns a loadable script object form code. Class name is extracted from code.
Definition: Loader.cs:1694
void SaveCsv(string filePath, string separator, bool append)
Saves the data of the current object to the specified CSV file.
Definition: StringTable.cs:1146
static double DefaultAlphaMin
Default value for minimum alpha value in neural networks.
Definition: NeuralTrainingParameters.cs:1237
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: VectorApproximatorBase.cs:25
virtual void InvalidateValueDefinition()
Invalidates definition of function value.
Definition: ScalarFunctionScriptController.cs:335
virtual string Definitions
All definitions (pre-defined and user-defined) that can be used in the evaluated code.
Definition: ExpressionEvaluatorCompiled.cs:152
virtual void SpecificTypeConverter_RoundTripConversion_DoubleStringToDoubleObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:165
static readonly PhysicalConstant c
centi- (c), SI prefix for 10^-2.
Definition: Constants.cs:729
DistanceDelegate _distanceFunction
Definition: SampledData.cs:946
System.IO.Path SPath
Definition: WaitConditionFile.cs:10
double aa
Radius of the circle around which the generating line is moved. Should be greater than 1.
Definition: MoebiusStrip.cs:42
string KeyComment
A keyword string that introduces a commet in the containing line.
Definition: SampledDataCsv.cs:505
static bool ReadGlobalAppSettings
Indicates whether a global Reporter (or its derived class) should read settings from the application ...
Definition: ReporterMsg.cs:1560
virtual void WaitAnInputReady()
Waits until analysis data is ready. REMARK: Currently this file just checks existence of the file in ...
Definition: OptFileManager.cs:707
TVectorField _activeVectorField
Definition: StructuredMesh2dGeneric.cs:394
virtual void SetGradients(List< IVector > values)
Sets function gradients. If CopyReferences=true (false by default) then only the list reference is co...
Definition: FunctonVectorResults.cs:360
XmlNode GoToMark(bool removemarks)
Restores the parser state to the state contained in the last mark. The current node after operation i...
Definition: XmlUtilities.cs:1709
string ValueTypeFullName
Definition: CapturedVar.cs:135
void ToStringJson_ShouldConvertAndBeRoundTrippable< T >(T value)
Definition: ToStringTypeConverterViaJsonTests.cs:30
override bool Equals(object obj)
Overrides object.Equals(object?) method. Returns true if obj is also an IVector<ElementType> and it ...
Definition: VectorBase.cs:854
List< string > AppDataStructuresNames
List of installed data structure - related demo command names.
Definition: ScriptAppBase.cs:5118
virtual IMatrix GetCopy()
Creates and returns a copy of the current matrix.
Definition: MatrixBase.cs:384
double zx
Definition: Matrix3D.cs:377
virtual string EvalToString(string code)
Evaluates (interprets) JavaScript code and returns string result of evaluation. Code must be such tha...
Definition: ExpressionEvaluatorCompiled.cs:252
Data Transfer Object (DTO) for sampled data set.
Definition: SampledDataDto.cs:100
static string ToString(IVector vec, string elementFormat)
Returns a string representation of the specified vector in a standard IGLib form, with the specified ...
Definition: VectorBase.cs:2941
override string ToString()
Returns standard string representation of a counter, with decimal point and e for exponent,...
Definition: Scalar.cs:577
override string ToString()
Definition: SerializerBase.cs:703
HashType _hashAlgorithmType
Definition: UilCryptoAux1.cs:154
static void MapCoordinatesToScalarsPlain(StructuredField2d< vec2 > referenceField, StructuredField2d< double > targetScalarField, IFunc2d scalarMap)
Generates scalar values for a 2D structured grid from the specified field of grid coordinates by a sp...
Definition: StructuredField2dGeneric.cs:570
const string ConstScriptCustomApp
Selecting constant fot CUSTOM script.
Definition: ApplicationCommandLineBase.cs:36
void CopyInputs(IndexList filterIndices, ref IVector[] extracted)
Copies the specified vectors of input parameters from the current sampled data set,...
Definition: SampledData.cs:500
virtual double GetObjectiveGradient(int index)
Returns the specified component of the objective function gradient.
Definition: AnalysisResults.cs:505
virtual double GetConstraintHessian(int which, int rowIndex, int columnIndex)
Returns the specified component of Hessian of the specified constraint function.
Definition: AnalysisResults.cs:760
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
Definition: MatrixDecompositions.cs:431
bool TryConvert(object source, out object target, Type TargetType)
Definition: SingleSourceTypeConverterBaseGeneric.cs:14
static vec3 Curve(double t)
static void SetRandomLowerTriangular(IMatrix mat, IRandomGenerator rnd)
Sets the specified matrix such that it is lower triangular and contains random elements on the interv...
Definition: MatrixBase.cs:1028
TTensorField GetTensorField(int index)
Returns the tensor field with the specified index.
Definition: UnstructuredMesh1dGeneric.cs:592
static double Zero
Zero (value 0.0).
Definition: UtilMath.cs:828
static Scalar One
Returns a scalar with value 1.
Definition: Scalar.cs:40
vec2 Subtract(vec2 a)
Returns difference between the current vector and the specified vector.
Definition: Matrix2D.cs:212
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function's derivative.
Definition: ApproxBasis.cs:200
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: NamedPipes_Copy.cs:599
A nested class that does not derive from the M class, but still statidc functions from that class can...
Definition: UtilMath.cs:1528
static long Factorial(int factor)
Returns factorial of the specified number.
Definition: UtilMath.cs:1308
SerializationTestClass(string objectName)
Definition: SerializerBase.cs:728
const string OutputDirectortyBaseDefault
Default name of the base directory for output files.
Definition: SimKosecConst.cs:47
LogRecord CreateError(string message, Exception ex)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:207
IVector InitialStep
Gets or sets initial step used in optimization.
Definition: Optimizer.cs:280
override string RunThis(string[] arguments)
Runs action of the current object.
Definition: ScriptAppBase.cs:5288
const string VarNameValueDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: RealFunctionScriptLoader.cs:81
XmlNode _root
Definition: XmlUtilities.cs:1148
WeightGauss(double Kx, double Sx)
Definition: FunctionRealWeight.cs:72
virtual string CmdEndBlock(CommandThread cmdThread, string cmdName, string[] args)
Command. Exits the current command block. Exception is thrown if we are not currently within a plain ...
Definition: CommandlineApplicationInterpreter.cs:3504
int NumColumns(int rowNum)
Returns the number of elements (columns) of the specified row.
Definition: StringTable.cs:741
HtmlWriter(string filePath)
Creates a new HTML generator and connests it with the specified file.
Definition: HtmlWriter.cs:64
XmlNode InsertBefore()
Inserts the newly created node before the current node. The new node is set to null if the operation ...
Definition: XmlUtilities.cs:2642
A nested class that does not derive from the M class, but still statidc functions from that class can...
Definition: UtilMath.cs:46
static string GetLinesStringPlain(string[] lines)
Returns a string representation of the list of lines, separated by newlines.
Definition: UtilString.cs:159
static Matrix2d Diagonal(IVector diagonalVector)
Creates a new diagonal d1*d2 matrix based on the diagonal vector.
Definition: Matrix2DClass.cs:237
string OutputPath
Definition: UilCryptoAux1.cs:389
string _evaluationFunctionName
Definition: ExpressionEvaluatorCompiled.cs:82
static int MaxLength(List< string > lines)
Maximal length of any line in the specified list.
Definition: App.cs:1941
int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: FunctionScalarResultsInt.cs:201
const string ArgKeyLength1
Specification that length of the key follows.
Definition: UtilCryptoAux.cs:436
int Read(string str, int startpos)
Reads in the value from a string, starting at a specified position and skipping any leading spaces....
Definition: Scalar.cs:337
bool _bflag
Definition: SerializerBase.cs:739
virtual void AddInputElement(InputMappingDefinitionElement element)
Definition: NeuralMapData.cs:686
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:1128
IGraphicSet Parent
Gets the parent group, if any.
Definition: GraphicalObjectsInt.cs:37
static void NegatePlain(IMatrix a, IMatrix result)
Stores a negative matrix of the operand in another matrix. Can be done in-place. This is a plain vers...
Definition: MatrixBase.cs:1720
const string ProcessListApplications
Definition: ScriptAppBase.cs:4629
double NormForbenius
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2D.cs:533
int NumActualConstants
Gets the number of constants that define the current function. If e.g. the matrix coefficient or the ...
Definition: FunctionScalarExamples.cs:56
XmlNode NextNode(XmlNodeType NodeType, string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2151
bool TryConvertTyped< TargetType >(SourceType source, out TargetType target)
override VectorType CreateVector(int dim)
Creates and returns a vector of type VectorType of the specified dimension (dim )
Definition: VectorFactory.cs:106
int N
Number of couls (how many times a point on the knot circles around axis of the cylinder)
Definition: CylindricalBilliardKnot.cs:24
A TCP port scanner, multi-threaded.
Definition: PortScanner.cs:16
mat2 HessianMatrix
Twice the matrix of quadratic coefficients (Hessian matrix of second derivatives).
Definition: Function2d.cs:546
GraphicPrimitiveType
Specifies the type of the graphic primitive.
Definition: GraphicalObjectsInt.cs:20
double Determinant
Returns the determinant.
Definition: MatrixDecompositions.cs:677
ScalarFunctionRadialParametric()
Definition: FunctionScalarRadial.cs:397
string ExamplePath
Definition: WaitConditionFile.cs:1155
bool HasDerivative
Definition: Torus.cs:71
String AuthorAddress3
Definition: App.cs:860
static double IntegralTrapezoidal(double[] tabx, double[] tabf)
Returns numerical integral of a function calculated by the trapezoidal rule. Function is specified as...
Definition: FunctionNumeric.cs:130
virtual void EnterElse(CommandThread cmdThread)
Enters the ElseIf block.
Definition: CommandlineApplicationInterpreter.cs:1085
MaterialProperties MaterialWireframeDarkRed
Wireframe material: DarkRed (#8B0000)
Definition: TubularSurfaceExportExamplesTests.cs:50
static double log(double a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:408
static bool IsReadableAndWritableFile(string filePath, bool onlyExistent=false)
Returns true if the file with the specified path is both readable and writable by the current process...
Definition: UtilSystem.cs:4282
int NumConstraints
Number of constraints.
Definition: Optimizer.cs:45
override string ToString()
Returns a string that describes the current interpreter variable.
Definition: CommandlineApplicationInterpreterBase.cs:622
virtual string CmdSleepSeconds(CommandThread cmdThread, string cmdName, string[] args)
Command. Sleeps (suspends execution of the executing thread) for the specified number of seconds.
Definition: CommandlineApplicationInterpreter.cs:4994
virtual TypeInfoBase CreateTypeData(Type classType)
Creates the type info object of type TypeInfoBase for the specified Type classType .
Definition: DerivedTypesRgistryBasic.cs:33
Matrix GetCopyThis()
Creates and returns a copy of the current matrix.
Definition: Matrix.cs:792
const string ArgCheck
Verification (check) is performed rather than calculation (although this may also include calculation...
Definition: UtilCryptoAux.cs:301
virtual IWaitFileEvent Creation
Definition: WaitConditionFile.cs:1127
WaitFileEventBaseByProxyLatence()
Definition: WaitConditionFile.cs:846
double InputSafetyFactorMax
Maximum limit for input safety factor value.
Definition: NeuralTrainingParameters.cs:1405
string RunCommand(string commandName, string[] commandArguments)
Runs command with the specified name that is loaded on the current object.
Definition: LoadableScriptInterpreter.cs:116
const string AttributeLanguage
The language attribute. Specifies the language of the element's content.
Definition: HtmlWriter.cs:36
List< PointContainerType > CreatePointsCopy()
Creates and returns a copy of list of points, containing references to points (point containers,...
Definition: PointCloud.cs:253
NamedPipeServerBase(string pipeName, string requestEnd, string responseEnd, string errorBegin, bool startImmediately=true)
Constructs a new named pipe server with the specified pipe name and other paramters.
Definition: NamedPipes_Copy.cs:54
void ModelParameter_CreationWithDescruotion_DescriptionIsDefinedAndContinsNameAndType()
Definition: ModelParameterTests.cs:141
AnalysisComparer(double barrierLength, double barrierHeight, double maxZero)
Creates analysis results comparer with initialized penalty evaluator with penalty function (common fo...
Definition: AnalysisComparer.cs:48
RealFunctionParametric(IVector parameters)
Constructor. Creates a new parametric function with the specified parameters and transformation of co...
Definition: FunctionRealParametric.cs:97
abstract void InitExpressionEvaluator()
VectorFunctionResults(bool reqGradients)
1 parameter, 1 function, gradients required.
Definition: FunctonVectorResults.cs:40
virtual void WriteDocumentComments()
Writes document comments.
Definition: HtmlWriter.cs:329
XmlNode Previous
Definition: XmlUtilities.cs:1645
Composition of real functions.
Definition: FunctionReal.cs:1386
int EnsureCapacity(int Capacity)
Ensures that the buffer's current capacity is at least the specified number of bytes.
Definition: StringParserBuffer.cs:153
Single objective optimization analysis results. Used to transfer parameters input (e....
Definition: AnalysisResults.cs:119
void TypeConversionHelper_RoundTripConversion_IntToDoubleObjectToInt_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:124
object Lock
Current object's central lock object.
Definition: ScalarFunctionScriptLoader.cs:39
Base class for loadable scripts for optimization problems. AGREEMENTS: The first argument to initiali...
Definition: LoadableScriptOpt.cs:26
double DX
Step in X direction.
Definition: SimKosecFileManager.cs:94
static volatile Assembly[] _referencedAssembliesRecursiveWithoutGac
Assemblies directly or indirectly referenced by the current executale assembly. Calculated only once,...
Definition: UtilSystem.cs:2336
static void MapCoordinatesReference(StructuredField2d< vec3 > referenceField, StructuredField2d< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping first two coordinate componen...
Definition: StructuredField2dGeneric.cs:317
double Determinant
Gets matrix determinant.
Definition: Matrix2DClass.cs:573
Storage for results of a scalar function. Includes parameters at which function was (or should be) ev...
Definition: FunctionScalarResultsInt.cs:18
void Start()
Starts the timer (the elapsed time and CPU time are measured since this moment). If the timer is alre...
Definition: UtilTime.cs:163
Matrix2d NormalizedForbenius()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix2DClass.cs:560
vec3 AmbientColor
Ambient color (Ka) - Defines how the material reflects ambient light. Typical values range from (0,...
Definition: MaterialProperties.cs:26
static Cubic GetCubicInterpolation(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
Creates and returns cubic interpolation function with specified two values.
Definition: FunctionRealInterpolation.cs:818
string[] AppArguments
Last (or currently) read command-line arguments.
Definition: UilCryptoAux1.cs:120
void GetProduct(ref IMatrix product)
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of ...
Definition: MatrixDecompositions.cs:906
override void HessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian matrix) of this function at the specified parameters....
Definition: Function2d.cs:252
bool AddTextLogger(TextWriter writer)
Sets the text writer to which reporting is also performed.
Definition: ReporterMsg.cs:5004
Extension methods for IMatrix interface.
Definition: MatrixBase.cs:237
override double f1(double u, double v)
Definition: Function3d2d.cs:1026
char MessageFalseSeparator
Definition: IpcStreamClientServerBase.cs:254
IDataMapper _mapperDefinition
Definition: NeuralFileManager.cs:877
double NormEuclidean
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2D.cs:546
IBoundingBox _inputDataBounds
Definition: NeuralApproximatorBase.cs:1420
virtual string CmdPipeServerCreate(CommandThread cmdThread, string cmdName, string[] args)
Command. Creates a new server that listens for interpreter commands on a named pipe,...
Definition: CommandlineApplicationInterpreter.cs:5510
const string ArgRecursiveDirectoryPattern1
Specification of a file search pattern for recursive directory search of input files follows.
Definition: UtilCryptoAux.cs:609
virtual TScalarField CreateScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh3dGeneric.cs:303
string Name
Name of the current interpreter.
Definition: CommandlineApplicationInterpreter.cs:335
Class containing examples for waiting creation or removal of files and directories.
Definition: WaitConditionFile.cs:593
static bool MutexGlobalCheckAbandoned()
Check whether the global mutex (property MutexGlobal) has been abandoned, and returns true if it has ...
Definition: Utils.cs:121
static Vector3d Ones()
Generates an 3-dimensional vector filled with 1s.
Definition: Vector3Dclass.cs:307
Type[] GetRegisteredTypes()
override ComplexVector CreateVector(int dimension)
Definition: VectorFactory.cs:76
object _mainLock
Definition: InterpreterCommandLine.cs:42
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:260
void AddVectorField(TVectorField field, string name)
Adds the specified vector field to the collection of vector fields under the specified name.
Definition: UnstructuredMesh3dGeneric.cs:482
double RelativeError
Getst the relative standard uncertainty of the physical constant.
Definition: Constants.cs:121
bool _isServerRunning
Definition: ParallelJobServerBase.cs:467
const string CryptoHelpRemoveCertificate
Definition: ScriptAppBase.cs:1554
virtual bool CalculatedHessians
Indicates whether calculation of functions' Hessian is/was requested.
Definition: FunctonVectorResults.cs:731
abstract MatrixBase GetNewMatrixBase()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
WeightPol4(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:666
virtual string SystemFunctionSystemInfo(string appName, string[] args)
Executes embedded application - writing to the console and returning the system info.
Definition: ScriptAppBase.cs:3730
static ScriptLoaderBase Global
Global script loader. Getter always returns a non-null object.
Definition: Loader.cs:420
static Complex CubicRoot(Complex x)
Returns cubic root of x .
Definition: Complex.cs:669
int NumTrainingPoints
Gets number of training points (this excludes verification points).
Definition: NeuralApproximatorBase.cs:404
void Log(ReportType messagetype, Exception ex)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:639
override void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionScalarRadial.cs:356
Implemented by objects that have the Run(args) method, or "Main" metthod of execution.
Definition: IRunnable.cs:10
void AddInputComment(string commentString)
Adds comment to the input file.
Definition: SimKosecFileManagerBase.cs:1176
static int ChildIndex(XmlNode node)
Returns the index of the node among siblings with the same name.
Definition: XmlUtilities.cs:507
object Lock
Lock object to be used for locking the current object.
Definition: UtilTime.cs:90
bool isDisposed
Definition: ReporterMsg.cs:1478
OptFileManager(string directoryPath)
Creates a new optimization file server manager.
Definition: OptFileManager.cs:37
int MaxAnalyses
Gets or sets maximal number of analyses.
Definition: OptimizationInputData.cs:250
void SetGradients(List< IVector > values)
Sets function gradients. If CopyReferences=true (false by default) then only the list reference is co...
virtual bool CalculatedGradient
Indicates whether calculation of function gradient is/was requested.
Definition: FunctionScalarResults.cs:515
const string KeyTracingLevel
Definition: ReporterMsg.cs:2308
UnstructuredMesh3d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured mesh with the specified number of nodes, name and description....
Definition: UnstructuredMesh3dGeneric.cs:58
virtual string RunFunctionName
Name of the method of dynamically loadable classes that contains the runnable script.
Definition: Loader.cs:799
virtual bool CalculatedValues
Indicates whether calculation of functions is/was requested.
Definition: FunctonVectorResults.cs:723
static double NormInfPlain(Vector a)
Returns the Infinity-norm (maximum absolute value of any element) of the specified vector.
Definition: VectorBase.cs:638
ThreadPriority _threadPriority
Definition: ParallelJobServerBase.cs:442
static void LdltSolve(IMatrix ldltMatrix, IMatrix B, ref IVector auxX, ref IMatrix X)
Calculates inverse of the matrix from its specified LDLT-decomposed matrix.
Definition: MatrixBase.cs:6152
double _epsilon
Definition: FunctionScalarRadial.cs:68
StringBuilder _sb
Definition: ClientServerStreamBase_Copy.cs:379
const int MinNumCheckedIsTextFile
Minimal number of checked bytes when determining whether a file is a text file.
Definition: UtilSystem.cs:4216
const int SW_HIDE
Definition: UtilConsole.cs:36
virtual void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionScalarRadial.cs:511
Controllable version of LoadableScriptOptBase, implements the ILoadableScriptC interface.
Definition: LoadableScriptOpt.cs:269
virtual void WriteAnalysisOutputXml(string filePath, AnalysisResults anpt)
Stores analysis output data to the specified file in the XML format . Does not perform any locking.
Definition: OptFileManager.cs:1084
XmlNode MoveTo(XmlNode node)
Moves the current position to the specified node.
Definition: XmlUtilities.cs:1887
string _neuralTrainingDataPath
Definition: NeuralFileManager.cs:135
static string DecryptStringPlain(string cipherText, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false)
Derypts the specified string from encryted byte array, using the specified symmetric algorithm,...
Definition: UtilCrypto.cs:2604
double MinY
Gets the lower bound in the second coordinate.
Definition: BoundingBox.cs:1574
static void GetIndices(int[] tableDimensions, int oneDimensionalIndex, ref int[] tableIndices)
Calculates and stores the multidimensional indices of an element of the multidimensional table of the...
Definition: Utils.cs:470
bool _keepCurrentGuess
Definition: OptimizationResults.cs:140
Matrix RightSingularVectors
Returns the right singular vectors.
Definition: MatrixDecompositions.cs:1482
abstract double SecondDerivative(double x)
Returns the second derivative of the given order of this function at the specified arameter.
static string AssemblySeparatorString
Gets the string that is used to separate resource from the assembly.
Definition: UtilSystem.cs:3614
color(string name)
Creates a new color that corresponds to the specified color name (e.g. "white", "blue",...
Definition: Color.cs:89
void RemoveIdleServer(ParallelJobServerBase< JobContainerType > server)
Removes the specified parallel job server from the idle list.
Definition: ParallerJobDispatcherBase.cs:141
static int DefaultInputLenght
Default value for number of input neurons.
Definition: NeuralTrainingParameters.cs:1297
const string CryptoCertStoreInfo
Definition: ScriptAppBase.cs:1474
object PopParameter()
Removae and returns the last object on the parameter store.
Definition: CommandlineApplicationInterpreterBase.cs:1948
virtual bool IsDefaultValueDefined
Definition: ModelParameter.cs:54
virtual bool IsVariableReference(CommandThread cmdThread, string str)
Returns true if the specified string represents a variable reference, false otherwise.
Definition: CommandlineApplicationInterpreter.cs:389
virtual void UpdateBoundingBoxTransformed()
Definition: GraphicalObjectsBase.cs:175
Client to the pipe server (classes derived from IpcStreamClientServerBase2).
Definition: IpcPipes.cs:391
bool _compareMinError
Definition: NeuralTrainingParameters.cs:2893
bool ReqGradients
Indicates whether calculation of function gradients is/was requested.
Definition: VectorFunctionResultsDto.cs:47
override string ToString()
Definition: SpeedTestInfo.cs:154
void ReportError(Exception ex)
Launches an error report. Predominantly for error and warning reports.
Definition: ReporterMsg.cs:3292
const int DD
Definition: App.cs:554
Definition: IdGenerator.cs:7
FieldCollection< TScalarField, TScalar > ScalarFields
Gets the collection of scalar fields of the current mesh.
Definition: UnstructuredMesh2dGeneric.cs:224
Matrix2d MultiplyRight(Matrix2d b)
Right-multiplies the current 2D matrix with the specified matrix and returns the product.
Definition: Matrix2DClass.cs:615
override double Value(IVector x)
Returns the value of this function at the specified parameter.
Definition: FunctionScalarBase.cs:82
virtual void StartCodeBlock()
Starts a new code block in the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:398
IVector _refParam
Definition: FunctionScalarBase.cs:39
ObjectRegister(int startId)
Creates an object that generates unique IDs (in the scope of the current instance) with the specified...
Definition: ObjectRegister.cs:33
override string GetResponse(string request)
Calculates and returns response
Definition: CommandlineApplicationInterpreter.cs:5314
static string DefaultStoppedResponse
Default stopped response (sent after the srver has sttopped on request).
Definition: IpcStreamClientServerBase.cs:671
virtual bool IsEligible(T obj)
Returns true if the specified object is eligible for storing in this object storage,...
Definition: UtilObjectStore.cs:111
IVector Gradient
Function gradient. If CopyReferences=true (false by default) then only the reference is copied in ass...
Definition: FunctionScalarResultsInt.cs:96
void SetRmsToleranceRelstiveToRange()
Updates the tolerances on RMS errors of outputs according to the relative tolerances (defined by Tole...
Definition: NeuralApproximatorBase.cs:1035
string[] _appArguments
Definition: UilCryptoAux1.cs:121
string MyName2
Definition: SampleClasses.cs:160
static void LoadRequestMath(string filePath, ref AnalysisResults anResults)
Loads analysis request data from a file in standard mathematical format and stores it in the specifie...
Definition: AnalysisResults.cs:1877
override void AddCommand(string commandName, CommandLine command)
Adds a new command to the interpreter. If the command with the specified name already exists then the...
Definition: InterpreterCommandLine.cs:270
StringParser()
Definition: StringParser.cs:48
object _mainLock
Definition: NeuralApproximatorBase.cs:582
virtual void SentRequest()
Sends the current request string (the ClientServerStreamBase2.RequestString property) to the server t...
Definition: ClientServerStreamBase2_Copy.cs:1046
static readonly PhysicalConstant inch
Inch, a deprecated non-SI unit of length, in = 0.0254 numrows.
Definition: Constants.cs:1291
static void MultiplyDiagonalPlain(IVector diag, IMatrix a, IMatrix result)
Left-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matrix...
Definition: MatrixBase.cs:4450
static double KelvinFromCelsius(double Celsius)
Converts temperature in Celsius to temperature in Kelvins.
Definition: Constants.cs:879
virtual void WriteMetaKeywords()
Adds the keywords meta tag to the document.
Definition: HtmlWriter.cs:392
double _G
Definition: Color.cs:98
virtual void SetValues(List< double > values)
Sets the list of function values. If CopyReferences=true (false by default) then only the list refere...
Definition: FunctonVectorResults.cs:303
Matrix in a 2 dimensional space.
Definition: Matrix2DClass.cs:27
static string ToStringMath(IVector vec)
Returns a string representation of the current vector in a standard IGLib form (Mathematica-like form...
Definition: VectorBase.cs:234
string ToString()
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
bool CalculatedValues
Indicates whether calculation of function values is/was requested.
Definition: FunctionVectorResultsInt.cs:295
virtual int NumParameters
Number of parameters.
Definition: AnalysisResults.cs:251
static void ExampleBlockCreateRemoveLatence(string filePath)
Monitors the specified file and successively blocks until it is created and then until it is removed....
Definition: WaitConditionFile.cs:1045
color(System.Drawing.Color color)
Creates a new color that corresponds (as closely as possible) to the specified color.
Definition: Color.cs:56
bool CanSetMaxZero
Whether maximal value for which penalty function is zero can be set.
Definition: FunctionRealPenalty.cs:199
override MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:1582
override double Value(vec2 parameters)
Calculates and returns value of the current 2D linear function.
Definition: Function2d.cs:481
Container class inherits from M in order to enable use of comfortable mathematical functions.
Definition: RealFunctionScriptExample.cs:36
const string ExecutableNameConvectionObstacles
Definition: SimKosecConst.cs:21
bool Equals(DerivedClass compared)
Definition: SampleClasses.cs:108
static void GenerateCoordinates(Field< vec2 > field, int dimx, double minxRef, double maxxRef)
Generates coordinates of a 1D unstructured grid embedded in 2D space from a regular grid with grid di...
Definition: FieldGeneric.cs:1230
Matrix3d(vec3 xrow, vec3 yrow, vec3 zrow)
Initializes 3D matrix structure with the specified components.
Definition: Matrix3DClass.cs:92
Vector2d GetNewThis(int length)
Creates and returns a new vector of the specified dimension in such a way that the type of the return...
Definition: Vector2Dclass.cs:84
string _modifiedName
Definition: SerializerBase.cs:692
string Name
Definition: ModelParameter.cs:117
const string ConstHelpRunFile
Definition: ScriptAppBase.cs:391
XmlNode NextOrCurrentNode(string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2215
virtual IScalarFunctionResults GetCopy()
Returns an exact deep copy of the current object.
Definition: FunctionScalarResults.cs:551
Graphic object, a tree - like collection of graphic primitives.
Definition: GrObjects.cs:151
static double Map(IBoundingBox original, IBoundingBox target, int whichComponent, double value)
Mapping from one bounding box to another. Returns a single component mapped by a mapping that maps th...
Definition: BoundingBox.cs:1345
ReadOnlyWithConstructor(string name, int age)
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:80
virtual bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: FunctonVectorResults.cs:692
BoundingBox1d(IVector min, IVector max)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal and m...
Definition: BoundingBox.cs:1838
VectorStore(int length, bool constrainDimensions)
Constructs a new Vector store for vectors with the specified dimensions.
Definition: VectorBase.cs:3217
override SampledDataSet CreateObject()
Creates and returns a new object of the appropriate type.
Definition: SampledDataDto.cs:147
static string DefaultMsgRequestBegin
Default message that begins any mulltiline request.
Definition: IpcStreamClientServerBase.cs:461
T[] ToArray()
Copy all elements of this vector to an array.
virtual IVector Parameters
Parameters that define the specific function out of parametric familiy of scalar functions.
Definition: FunctionScalarRadial.cs:476
override int GetHashCode()
Gets the hashcode of this Scalar.
Definition: Scalar.cs:137
override string ToString()
Definition: SampledData.cs:2695
bool AddTextLogger(TextWriter writer, bool writeintro)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:5020
static int GetNumConstants()
Returns the number of scalar constants that specify the current function.
Definition: Function3d.cs:578
string _parametersString
Definition: ScalarFunctionScriptController.cs:179
ThreadPriority _threadPriority
Definition: ClientServerStreamBase2_Copy.cs:844
sealed override bool ConditionFunction()
Must not be used!
Definition: WaitConditionFile.cs:1011
double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
bool _printNotes
Definition: WaitConditionFile.cs:43
Cubic RefInv
Definition: FunctionRealInterpolation.cs:1536
static void Example(string htmlDocumentPath, string styleSheetPath, string imagePath1, string imagePath2)
Writes an example HTML document.
Definition: HtmlWriter.cs:907
Defines some mathematical functions to be used in derived classes. In addition to functions defined i...
Definition: UtilMath.cs:813
HyperboloidParametric(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1108
bool IsLoaderConsistent
A flag indicateing whether the loader is currently consistent with the function definition contained ...
Definition: ScalarFunctionScriptController.cs:653
void EndTag(string tagName)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:535
virtual string CmdOutputLevel(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints or sets the current output level of the interpreter.
Definition: CommandlineApplicationInterpreter.cs:3914
ToStringTypeConverterViaJsonTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ToStringTypeConverterViaJsonTests.cs:21
bool IsDiscrete
Gets the flag indicating whether the color scale is discrete (with a finite number of possible colors...
Definition: ColorScale.cs:68
override void InstallInputMappings()
Installs definitions of default values of input fields that are automatically set before running the ...
Definition: SimKosecFileManager.cs:130
double xx
Definition: Matrix3D.cs:377
const string CryptoHelpDecryptBasic
Definition: ScriptAppBase.cs:1201
virtual void OnRenamed(object source, RenamedEventArgs e)
Handles events triggered when a file or directory is renamed.
Definition: WaitConditionFile.cs:260
override BoxType CreateObject()
Creates and returns a new bounding box of the specified type and dimension.
Definition: BoundingBoxDto.cs:71
double Distance(PointType pt1, PointContainerType boxedPt2)
Returns distance between the specified point and the second point encolosed in an PointContainer{....
Definition: DistanceComparer.cs:644
const int FileBufferSize
Default size of file buffer.
Definition: UtilCryptoAux.cs:267
bool _twoStage
Definition: Utils.cs:3200
static bool ReadPwd(ref string value, string printchar, bool repeat=true)
Reads a password from console, masking the input as specified.
Definition: UtilConsole.cs:655
void Register()
Registers the current object. Subsequent calls (after the first one) have no effect.
Definition: InterpreterCommandLine.cs:74
ScalarFunctionScriptControllerBase()
Default constructor, sets IsNull to true.
Definition: ScalarFunctionScriptController.cs:37
const string LockFileMutex
Definition: NeuralFileConst.cs:31
static bool operator<=(Counter a, Counter b)
Definition: Scalar.cs:529
static void SetRandom(IMatrix mat)
Sets the specified matrix such that it contains random elements on the interval (0,...
Definition: MatrixBase.cs:914
PointCloudVector(params IVector[] points)
Constructs a cloud of vector points containing the specified points.
Definition: PointCloudConcrete.cs:32
override double Inverse(double y)
Returns value of the inverse of the current function at the specified value of dependent variable.
Definition: FunctionReal.cs:1073
double Value
Gets the value of the physical constant.
Definition: Constants.cs:114
AlignmentHorizontal Horizontal
Horizontal alignment.
Definition: Alignment.cs:61
VectorType CreateVector(int dimension)
Creates and returns a vector of the type VectorType of dimension dimension .
bool IsViolated(int which, double equalityTolerance)
Returns true if the specified constraint is violated according to the current analysis results,...
mat2 Inverse
Gets inverse of the current matrix.
Definition: Matrix2D.cs:643
DateTime _stopTime
Definition: UtilTime.cs:113
bool AddTextWriter(Stream stream, bool writeintro)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4244
static string GetDefaultNameSpaceUri(XmlDocument doc)
Gets the default namespace URI of teh Xml document.
Definition: XmlUtilities.cs:912
Definition: ModelParameterTests.cs:12
void WaitJobCompletion()
Waits for job completion.
Definition: ParallelJobContainerBase.cs:450
virtual TIndexField CreateIndexField(string fieldName, string fieldDescription)
Creates and returns a new index field of dimensions that match dimensions of the current structured m...
Definition: StructuredMesh2dGeneric.cs:155
static int DefaultOutputLevel
Default output level for objects of this and derived types.
Definition: ParallelJobServerBase.cs:62
UnstructuredMesh1d3d(int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy)
Constructs a (unconnected) unstructured grid based on 1D regular grid with grid direction parallel to...
Definition: UnstructuredMesh1d3d.cs:71
override void CopyFromPlain(AnalysisResults anres)
Copies data to the current DTO from an analysis results object.
Definition: AnalysisResultsDto.cs:121
string _UserDirectory
Definition: App.cs:721
static readonly PhysicalConstant minarc
Minute of arc, non-SI unit of plane angle, 1′ = (1/60)° = (π/10800) rad.
Definition: Constants.cs:1114
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
double R0Square
Definition: FunctionVectorExamples.cs:55
XmlNode GetNextOrCurrentNode(XmlNodeType NodeType)
Moves the current node to the current or the first sibling node after the current node that is of the...
Definition: XmlUtilities.cs:1561
A RealFunction class representing exponential function.
Definition: FunctionRealBasic.cs:63
override string ToString()
Definition: ColorRGBA.cs:22
override void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionRealParametric.cs:207
Quadratic RefQuad
Definition: FunctionRealInterpolation.cs:1020
static double IntegralSimpsonTab(DlgFunctionValue f, double from, double to, int numintervals)
Calculates numerical integral of a function by Simpson's rule, but through a table of values.
Definition: FunctionNumeric.cs:171
void SetNeuronsOutputRange(double min, double max)
Sets the neurons output range. Bounds for all output neurons are set equally.
virtual string CommandArgumentBlockEnd
String that ends command argument block.
Definition: InterfaceInterpreterBase.cs:239
static double DefaultLearningRate
Default value for learning rate in neural networks.
Definition: NeuralTrainingParameters.cs:29
XmlNode RemoveNode(XmlNode node)
Removes the specified node from the current XML document and returns that node. null is returned if t...
Definition: XmlUtilities.cs:2530
void LoadCsv(string filePath, string separator)
Loads the specified CSV file. Reads contents of the file into the data table of the current object.
Definition: StringTable.cs:1110
Func2dQuadratic()
Definition: Function2d.cs:514
override void Script_AddCommands(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Adds commands to the internal interpreter.
Definition: ScriptAppBase.cs:365
virtual Matrix GetNewThis(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensions, and of the same type as the current m...
Definition: Matrix.cs:817
HyperboloidParametric(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1118
double EndParameter
Definition: HelixCurve3D.cs:63
bool IsDecrypt
Whether decryption is perrformed, rather than encryption.
Definition: UilCryptoAux1.cs:164
int _numObjectives
Definition: Analysis.cs:85
virtual bool GradientDefined
Whether calculation of functio ngradient is defined. Default is false.
Definition: Function2d.cs:672
override bool IntegralDefined
Indicates whether integral is defined for this function (w.r. implementation). Getter returns true if...
Definition: FunctionReal.cs:1066
static bool operator!=(vec3 a, vec3 b)
Vector comparison, returns true if vectors are different.
Definition: Matrix3D.cs:330
static bool operator==(vec3 a, vec3 b)
Vector comparison.
Definition: Matrix3D.cs:324
static Matrix2d Random(IRandomGenerator rnd)
Creates and returns a 2D matrix with uniformly distributed random elements in the [0,...
Definition: Matrix2DClass.cs:265
string AuthorFullName
Gets a treue/false value telling whether the global program data is initialized or not.
Definition: App.cs:867
static bool TestMultiplyTranspMatMat(double tolerance, bool printReports)
Tests product A^T*B*C.
Definition: MatrixBase.cs:3538
mat3 Add(mat3 a)
Returns sum of the current matrix and the specified matrix.
Definition: Matrix3D.cs:767
bool SetTextLogger(string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:4988
virtual string CryptoFunctionCheckSum_OLD_TO_DELETE_LATER(string appName, string[] args)
Executes embedded application - calculation AND verification of various hash values of a file.
Definition: ScriptAppBase.cs:2596
void AllocateNodeNormals()
Allocate space for VertexNormals, if not yet allocated, according to mesh sizes (NumPoints1 and NumPo...
Definition: StructuredSurfaceMesh3D.cs:86
static void TestSpeedBlockCreateRemoveLatence(string filePath, int numSwitches, int sleepMs, bool waitDirectory)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1108
string _commandArgumentBlockBegin
Definition: InterfaceInterpreterBase.cs:97
virtual int EvalToInteger(string code)
Evaluates (interprets) JavaScript code and returns integer result of evaluation. Code must be such th...
Definition: ExpressionEvaluatorCompiled.cs:232
virtual string GetErrorMessage(Exception ex)
Returns error message corresponding to the specified exception.
Definition: IpcStreamServerBase.cs:133
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
Definition: ApproxBasis.cs:491
IEnumerable< SerializationBinder > ContainedBinders
Enumerable that enables iteration over contained serialization binders (elements of ContainedBindersP...
Definition: SerializationBinderCascaded.cs:98
TcpClient MainClient
Definition: PortScanner.cs:27
bool ReqGradient
Indicates whether calculation of function gradient is/was requested.
Definition: FunctionScalarResultsInt.cs:187
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: ColonCharacterStrategy.cs:10
VectorDtoBase ToleranceRms
Tolerance over RMS error of outputs over training points. Training will continue until error becomes ...
Definition: SerializationDtoNeural.cs:780
static void ExportMeshToObj(StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, bool exportSurfaces=true, bool exportWireframe=true, string surfaceMaterialName="SurfaceMaterial", string wireframeMaterialName="WireframeMaterial")
Exports a structured mesh to OBJ format, including vertex normals, surfaces, and optional wireframe.
Definition: MeshExportExtensions_06.cs:25
string _functionArgumentGradientName
Definition: ScalarFunctionScriptBase.cs:88
abstract void SendDummyRequest()
static readonly PhysicalConstant BoltzmannConstant
Boltzmann constant, gas constant divided by the Avogadro constant. Each microscopic degree of freedom...
Definition: Constants.cs:485
IRealFunctionPenalty GetPenaltyFunction(int which)
Returns penalty function corresonding to the specified constraint.
Definition: AnalysisResults.cs:2606
virtual int NumValues
Gets number of values of the current vector function (-1 for not defined, e.g. in case that function ...
Definition: FunctionVectorBaseGeneral.cs:106
virtual void AllocateComponents(int dim)
Allocates the array that stores vector elements.
Definition: VectorDto.cs:59
IAnalysisResults Results
Optimization results.
Definition: OptimizationResults.cs:35
string _derivativeDefinitionString
Definition: RealFunctionScriptLoader.cs:171
virtual string CmdSetVariable(CommandThread cmdThread, string cmdName, string[] args)
Command. Sets the specified interpreter variable to the specified value. Usage:
Definition: CommandlineApplicationInterpreter.cs:3056
bool IsKeyMinimalValues(string str)
Whether the specified string is a keyword introducing variable minimal values.
Definition: SampledDataCsv.cs:721
ExplicitlyConvertibleFromDerived()
Definition: SampleClasses.cs:331
SI
SI base units (International system of units).
Definition: Constants.cs:19
int _outputLevel
Definition: Loader.cs:448
void Example52_1_ExportCylindricalBilliardKnot_WrongParameterization(int numLongitudinal, int numTransverse, double radius, int N, int P, double A=1.0)
Generates and exports (as .obj) tubular surface created form smooth parameterizaion of cylindric bill...
Definition: TubularSurfaceExportExamplesTests.cs:1186
BoundingBoxDtoBase InputDataBounds
Definition: SerializationDtoNeuralApproximator.cs:126
virtual string UserNameLowerCase
Gets name of the current user with all letters converted to lower case (in order to avoid ambiguities...
Definition: ApplicationCommandLineBase.cs:162
int NumHiddenNeuronsSecondMin
Minimum number of hidden neurons in second hidden layer.
Definition: NeuralTrainingParameters.cs:1747
static void ArrayPowerPlain(IMatrix a, double power, IMatrix result)
Element-by-element raise to power. This operation can be performed in place. This is a plain version ...
Definition: MatrixBase.cs:2536
int InputLength
Gets or sets the number of input neurons.
Definition: SerializationDtoNeural.cs:38
int MaxIterations
Gets or sets maximal number of iterations.
Definition: OptimizationInputData.cs:61
bool HasMinimum
Returns true if this quadratic function has a strict minimum.
Definition: FunctionRealInterpolation.cs:624
string _parameterNamesSeparator
Definition: ScalarFunctionScriptController.cs:551
virtual string AnalysisBlockName
String that introduces the analysis block.
Definition: InterfaceInv.cs:78
volatile int _numTestDelays
Definition: ParallelJobContainerBase.cs:266
KleinBottle2()
Definition: Function3d2d.cs:1598
virtual bool IsUserTadej
Returns true if the current user logged on the computer is Tadej, or false otherwise.
Definition: ApplicationCommandLineBase.cs:177
TimeSpan ExpireWarnPeriod
Gets or sets the length of the expiration warning period. This is the period of time between expirati...
Definition: App.cs:1152
void LoadData(string filePath)
Loads sampled data form the specified CSV file.
Definition: SampledDataCsv.cs:3367
static byte[] ToBytes(List< ushort > list)
Definition: MeshExportExtensions.cs:312
double Distance(SampledDataElement el1, SampledDataElement el2)
Returns distance in the output values space between output vectors of two tarining elemets,...
Definition: SampledData.cs:999
static void QrSolve(IMatrix factorQ, IMatrix factorR, IMatrix B, ref IVector auxB, ref IVector auxX, ref IMatrix X)
Calculates inverse of the matrix from its specified LDLT-decomposed matrix.
Definition: MatrixBase.cs:7352
List< string > _blockExitCommandsNoLevelffect
Definition: CommandlineApplicationInterpreterBase.cs:944
string RedirectedOutputPath
Gets or sets path to the file where standard output will be redirected. Setting to null causes that o...
Definition: SimKosecFileManagerBase.cs:118
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:316
virtual void MapOutput(IVector originalOutput, ref IVector reducedOutput)
Transfers elemts of originalOutput vector in the reducedOutput vector.
Definition: NeuralMapData.cs:976
string MissingAssemblyName
Definition: UtilSystem.cs:2542
void Add(params(string Key, ModelParameterType Parameter)[] keysAndParameters)
Adds the specified parameter objects to the currrent parameter set at the specified keys.
static string DefaultKeyDiscretizationSteps
Default key for introduction of discretization steps of input and output data elements.
Definition: SampledDataCsv.cs:279
string AlgorithmTypeString
String representation of algorithm type.
Definition: UilCryptoAux1.cs:147
MatrixBase_MathNetNumerics _inverse
Definition: MatrixDecompositions.cs:948
virtual color GetLineColor()
Returns average line color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:225
Base class for direct analysis classes that define optimization problems. Represent the complete defi...
Definition: Analysis.cs:53
Base class for classes that provide blocking until a file or directory is created/removed....
Definition: WaitConditionFile.cs:844
string _SessionDirectory
Definition: App.cs:723
static string GetEmbeddedResourceName(string resourcePath)
Returns name of the embedded resource (i.e., its filename) with the specified path.
Definition: UtilSystem.cs:3753
bool _stopServe
Definition: IpcStreamServerBase.cs:61
double _startCpuTime
Definition: UtilTime.cs:106
int _orderParameter
Definition: Utils.cs:3145
override string ToString()
Returns a string containing basic data of the module or application.
Definition: App.cs:1807
static ThreadPriority ParseThreadPriority(string str)
Converts the specified string to a ThreadPriority enum value, if possible, and returns it....
Definition: Utils.cs:2967
static readonly PhysicalConstant EarthEquatorialGravity
Earth equatorial surface gravity acceleration, 9.780327 numrows/result^2.
Definition: Constants.cs:1464
IVector ErrorsVerificationRms
RMS errors calculated on verification data.
Definition: NeuralTrainingParameters.cs:498
const string FuncNameSecondDerivativeDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: RealFunctionScriptLoader.cs:109
List< IVector > _errorsVerificationMaxList
Definition: NeuralTrainingParameters.cs:521
string Description
Returns a short description of the function.
Definition: FunctionVectorInt.cs:25
ILogger CreateLoger< T >()
void SpeedTestInfoGeneric_ParameterlessConstructorWorksCorrectly()
Definition: UtilSpeedTestingTests.cs:81
static double ceiling(double a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:863
bool ReqObjectiveHessian
Indicates whether calculation of objective function Hessian is/was requested.
Definition: AnalysisResutlsInt.cs:354
static MaterialProperties SurfaceMaterial
Returns material properties for surfaces and for wireframe, with surface color LightSyBlue and wirefr...
Definition: MaterialGallery.cs:18
string _msg
Definition: UtilIdRegistration.cs:310
virtual void RunOnStarted()
Called when 'started' notification is triggered (within the method NotifyJobStarted).
Definition: ParallelJobContainerBase.cs:336
override void Gradient3(double x, double y, out double gradx, out double grady)
Function for calculating gradient of the third component of vector function, just throws the NotImple...
Definition: Function3d2d.cs:210
void AddTensorField(TTensorField field, string name)
Adds the specified tensor field to the collection of tensor fields under the specified name.
Definition: UnstructuredMesh3dGeneric.cs:635
bool _hasDefaultNameSpace
Definition: XmlUtilities.cs:863
void SetMessagePreix(string messagePrefix)
Changes message prefix for the current object.
Definition: ClientServerStreamBase_Copy.cs:181
static void GetCertificateStores(ref IList< X509Store > stores, bool clearAtBeginning=true, string storeName=null, int storeLocation=(int) StoreLocation.CurrentUser|(int) StoreLocation.LocalMachine)
Adds to the specified list all persistent certificate stores that match the criteria specified by par...
Definition: UtilCrypto.cs:4260
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: Optimizer.cs:113
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: Analysis.cs:35
const string NeuralTrainingResultsCSVFilename
Name of the file where sets of training complete results and limits are stored in CSV file.
Definition: NeuralFileConst.cs:70
static void SaveCsv(IVector vec, string filePath, string separator, bool append)
Saves the specified vector to a CSV file.
Definition: VectorBase.cs:3046
static string ToString(IAnalysisResults anres)
Returns a string representation of the specified analysis results object in a standard IGLib form.
Definition: AnalysisResults.cs:1622
static string ToString(ScalarFunctionScriptControllerBase< ScalarFunctionType > sc)
Returns a string representation of the specified ScalarFunctionScriptController object.
Definition: ScalarFunctionScriptController.cs:890
string _invOptCommandFilename
Definition: OptFileManager.cs:161
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:389
string _functionArgumentGradientName
Definition: ScalarFunctionScriptLoader.cs:145
void TypeConversionHelper_RoundTripConversion_DoubleToDoubleObjectToDouble_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:132
void SetVariableValue(string varName, string varValue, VariableFlags flags=VariableFlags.Default)
Sets value of the specified variable.
Definition: CommandlineApplicationInterpreterBase.cs:1410
static void GenerateCoordinatesPlain(Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to ...
Definition: FieldGeneric.cs:496
static readonly Dictionary<(Type Source, Type Target), Func< object, object > > _conversionCache
Definition: ReflectionTypeConverter.cs:20
static void FromByteArray(byte[] bytes, out Int32 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2146
int _epochsInBundle
Definition: NeuralApproximatorBase.cs:614
Definition: ISingleTypeConverterRegistry.cs:5
bool AppSettingsWarnings
Gets or sets the flag that specifies whether a warning message is launched when reading of applicatio...
Definition: ReporterMsg.cs:854
static bool GlobalInitialized
Gets the value indicating whether the global reporter of this class has already been initialized.
Definition: ReporterMsg.cs:1554
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: Matrix3D.cs:112
Type[] ToArray()
Creates and returns an array that cotains elements of the current list, in the actual order.
Definition: SortedUniqueItemList.cs:105
Func2dBaseNoHessian()
Definition: Function2d.cs:76
static void SetConstant(IVector vec, double elementValue)
Sets all components of the current vector to the specified value.
Definition: VectorBase.cs:952
Function(double Kx, double Sx, double Ky, double Sy)
Definition: RealFunctionScriptExample.cs:45
Definition: SampleCollections.cs:9
static string GetAppSettingsValue(string key)
Returns configuration value corresponding to the configuration key in AppSettings (specified by key )
Definition: ReporterMsg.cs:1974
static IRandomGenerator Create(int seed)
Creates and returns a new random generator initialized with a specified seed.
Definition: Random.cs:160
static string _resourceSeparatorString
Definition: UtilSystem.cs:3578
static bool LoadableScriptShellIsRunnableDefault
Basic procedure for calculation of the flag LoadableScriptShellIsRunnable.
Definition: App.cs:2371
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
Definition: FunctionVectorBase.cs:133
const string ConstAssembly
Name of the command for the assemblies-related embedded applications.
Definition: ScriptAppBase.cs:332
virtual XmlDocument Doc
Xml document that represents the message.
Definition: XmlUtilities.cs:1132
override IWaitFileEvent Creation
Definition: WaitConditionFile.cs:597
int TextLoggerNumWriters()
Returns the current number of text writers used by the reporter's text logging module....
bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: AnalysisResutlsInt.cs:386
Base class for interpreter variables.
Definition: CommandlineApplicationInterpreterBase.cs:387
static readonly PhysicalConstant a
atto- (a), SI prefix for 10^-18.
Definition: Constants.cs:777
List< InputFieldDefinition > DefaultInputValues
List containing default values for input parameters, which will be set before the simulation input fi...
Definition: SimKosecFileManagerBase.cs:699
void AddSingleKeyWord(string keyword)
Adds a keyword to the document (keywords are written as meta tag).
Definition: HtmlWriter.cs:230
int[] AuxIntArray
Auxiliary array for temporary storage of integer numbers.
Definition: SampledDataCsv.cs:2657
virtual int NumConstraints
Number of constraints.
Definition: Analysis.cs:107
static void MultiplyDiagonalPlain(IMatrix a, IVector diag, IMatrix result)
Right-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matri...
Definition: MatrixBase.cs:4603
virtual mat3 Hessian(vec3 parameters)
Calculates and returns Hessian of the current 3D scalar function and returns it (in the form of a mat...
Definition: Function3d.cs:222
BoundingBox3d(IBoundingBox bounds)
Constructs a 3D bounding box of the specified dimension and initializes it in such a way that its bou...
Definition: BoundingBox.cs:1542
SpecificTypeConvrterTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: SpecificTypeConvrterTests.cs:34
static double exp(double a)
Returns e raised to the specified power.
Definition: UtilMath.cs:404
Linear (Affine) function of 3 variables.
Definition: Function3d.cs:471
static int ReadInteger(ref long number, string str, int startpos)
Reads an integer from a string, starting at a specified position and skipping eventual leading spaces...
Definition: StringParser0.cs:112
bool _isInputFormatLongInt
Definition: UilCryptoAux1.cs:464
ParallelJobCallback _onAborted
Definition: ParallelJobContainerBase.cs:359
virtual string UserDirectory
Gets or sets the spedcific user'result directory for the current version of the progrm....
Definition: App.cs:1466
double GetPenaltyTerm(int which, IPenaltyEvaluator evaluator)
Returns value of the penalty term corresponding to the specified constraint, calculated by the specif...
int _d3
Definition: StructuredField3dGeneric.cs:160
virtual void PrepareErrorData(ref int dimOutput, ref IVector[] prescribed, ref IVector[] calculated, bool takeTrainingPoints, bool takeVerificationPoints)
Prepares data for calculation of various error measures over training points or in verification point...
Definition: NeuralApproximatorBase.cs:2277
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:546
XmlNode RemoveMark()
Removes the last mark and returns its current node. Position is not affected.
Definition: XmlUtilities.cs:1809
double[] Params2
Definition: StructuredMesh3D_02.cs:17
virtual string CmdNameMinSimp
Command name - taban2d.
Definition: InterfaceInv.cs:178
Launches (immediately upon creation) a thread that performs pulsing on its object....
Definition: WaitConditionFile.cs:33
static IndexList CreateRandom(IRandomGenerator rand, int length, int lowerBound, int upperBound)
Creates and returns an index list with the specified number of unique random indices in the specified...
Definition: IndexList.cs:130
virtual void SpecificTypeConverter_Speed_RoundTripConversion_DoubleToStringObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:223
bool _anFormatXml
Definition: OptFileManager.cs:629
static string GetAssemblyInfo(Assembly assembly, int infoLevel=3, int versionLevel=0)
Returns a (possibly multiline) string containing basic information about the specified assembly,...
Definition: UtilSystem.cs:3125
static void Divide(IVector a, double scal, ref IVector result)
Division of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1850
static void ToByteArray(bool val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1240
void ExpandOrShrinkInterval(double factor)
Symmetrically expands or shrinks the intervals between the bounds for all components for the specifie...
Definition: BoundingBox.cs:919
string _printDefinitionsCommand1
Definition: ExpressionEvaluatorCompiled.cs:336
Definition: SampleCollections.cs:12
override double f1(double u, double v)
Definition: Function3d2d.cs:960
override vec2 Gradient(vec2 parameters)
Calculates and returns gradient of the current 2D quadratic function.
Definition: Function2d.cs:587
IRealFunction _function
Definition: FunctionScalarRadial.cs:46
static int DefaultEpochsInBundle
Default value for number of epochs in bundle (i.e. number of epochs performed at once,...
Definition: NeuralTrainingParameters.cs:39
void SetConstraintHessians(List< IMatrix > values)
Sets constraint functios' Hessians. If CopyReferences=true (false by default) then only the list refe...
void Read(string name)
Reads 3D matrix components from a console.
Definition: Matrix3DClass.cs:847
static bool IsBitmapExtensionDotNet(string extension)
Returns true if the speicified file extesion (without a '.') represents one of the standard ....
Definition: UtilSystem.cs:4184
AppBase()
Definition: ScriptAppBase.cs:42
string _commandArgumentBlockEnd
Definition: InterfaceInterpreterBase.cs:98
static void LoadSampledDataCombinedOutputsJSON(ref SampledDataSet sampledDat, string directoryPath, params string[] fileNames)
Loads sampled data and Definition data from multible CSV files. Sampled data consist of one output an...
Definition: SampledData.cs:1116
static string _defaultServerAddress
Definition: IpcPipes.cs:549
int TextWriterNumWriters(bool writableonly)
Returns the current number of TextWriters used by the reporter's text logging module.
Definition: ReporterMsg.cs:4529
void SetMessagePreix(string messagePrefix)
Changes message prefix for the current object.
Definition: IpcStreamClientServerBase.cs:211
void SetInterpolation(double x1, double y1, double d1)
Initializes the linear interpolation function with specified value and derivative.
Definition: FunctionRealInterpolation.cs:100
PointCloudVector()
Constructs a cloud of ponts where points are of vector type.
Definition: PointCloudConcrete.cs:26
ILoadableScript CreateObjectFromCode(string code, string className, string[] initializationArguments)
Creates and returns a loadable script object form code.
Definition: Loader.cs:1556
virtual string CommandFilePath
Gets path to command file.
Definition: InterfaceInterpreterBase.cs:192
static T DeserializeFromJson< T >(this string json)
Definition: JsonExtensions.cs:37
static bool CreateTextNode(XmlNode basenode, string xpath, string ContainerAttribute, string ContainerValue, string NodeAttribute, string NodeValue)
Definition: XmlUtilities.cs:710
ScalarFunctionRadialParametric(IRealFunctionParametric function, IAffineTransformation transf)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:418
PhysicalConstant(double value, double relativeerror, SI[] numerator, SI[] denominator, string symbol, string name, string description)
Creates a new physical constant with specified properties (value, units, description....
Definition: Constants.cs:55
string IntegralDefinitionString
Expression that defines function indefinite integral derivative.
Definition: RealFunctionScriptLoader.cs:322
void Delete(int startIndex, int length)
Removes the specified section of the buffer.
Definition: StringParserBuffer.cs:161
static double Pow6(double x)
6th power.
Definition: UtilMath.cs:1089
const string MsgOptDataReadyFilename
Default file name for optimization input data ready flag.
Definition: OptFileConst.cs:56
List< string > AppDataStructuresHelpStrings
List of help strings corresponding to the installed data structure - related demo commands.
Definition: ScriptAppBase.cs:5121
double EndParameter2
Definition: Sphere.cs:71
XUnitLoggerProvider(ITestOutputHelper testOutputHelper)
Definition: TestBase.cs:44
virtual string RunAppFile(string[] args)
Runs a file system related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:1004
static XmlNode RootNode(XmlNode node)
Returns the root node of the document containtng the specified xml node.
Definition: XmlUtilities.cs:472
static void GenerateCoordinatesPlain(Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:918
virtual void SpecificTypeConverter_RoundTripConversion_DoubleToStringObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:123
virtual IVector GetNew()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: VectorBase.cs:336
List< IRealFunctionPenalty > PenaltyFunctions
Returns a list of penalty functions used to evaluate penalty terms.
Definition: AnalysisResults.cs:2444
virtual MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:144
CommandAdapterSingleThreaded(ApplicationCommandDelegate singleThreadedApplication, ICommandLineApplicationInterpreter interpreter=null)
Constructor.
Definition: CommandlineApplicationInterpreterBase.cs:262
int GetHashFunctionInt()
Returns an integer valued hash function of the current vector object.
Definition: VectorBase.cs:892
override string ToString()
Definition: UtilTime.cs:243
abstract ICommandLineApplicationInterpreter GetInterpreterBase()
Returns the commans-line interpreter to which the current command thread belongs.
const string CryptoHelpTimeKeyGeneration
Definition: ScriptAppBase.cs:1355
virtual void SpecificTypeConverter_RoundTripConversion_ExplicitlytoderivedToDerivedObjectToBase_IsCorrect()
Definition: ReflectionTypeConverterTests.cs:48
string _name
Definition: ScalarFunctionScriptController.cs:70
static double Truncate(double a)
Calculates the integral part of a specified double-precision floating-point number.
Definition: UtilMath.cs:871
SampledDataSet TrainingData
Gets or sets the training data.
Definition: NeuralApproximatorBase.cs:281
virtual string AppCustomApp(string[] arguments)
Custom application.
Definition: ScriptAppBase.cs:5353
override string Name
Function name.
Definition: ScalarFunctionScriptBase.cs:124
double GetDouble(int rowNumber, int columnNumber)
Returns a double value of the element at the specified position of the data table,...
Definition: StringTable.cs:982
Vector(double[] components, bool copyElements=true)
Constructs a vector from a 1-D array, either by directly using the array or by copying its elements.
Definition: Vector.cs:120
static char DefaultMessageSeparator
Definition: IpcStreamClientServerBase.cs:136
void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
SortedUniqueItemList(int initialCapacity)
Creates an empty sorted list of items with the specified initial capacity.
Definition: SortedUniqueItemList.cs:28
const int StackLevelUndefined
Stack level used for variables that are neither local or global (or for which stack level is unknown)...
Definition: CommandlineApplicationInterpreterBase.cs:426
virtual int NumTrainingPoints
Gets number of training points (this excludes verification points).
Definition: NeuralApproximatorBase.cs:1991
void GetOutputRelativeCoordinates(IVector coord, ref IVector relativeCoortinates)
Converts the specified OUTPUT coordinates to relative coordinates where compponents run from 0 to 1 i...
abstract IVector CreateVector(int dim)
Creates and returns a new vector that is consistent with the definition of bounding box.
InputOutputDataDefiniton DataDefinition
Definition: SampledDataCsv.cs:911
int EpochsInBundle
Number of epochs in bundle (i.e. number of epochs performed at once, without any checks or output ope...
Definition: NeuralTrainingParameters.cs:166
A 3D parametric curve with bounds - a cylindrical helix.
Definition: HelixCurve3D.cs:18
int TextLoggerWrite(string str)
Writes a string to all text writers of the Writer's TextLogger subsystem.
static readonly PhysicalConstant FaradayConstant
.Faraday constant, the magnitude of electric charge per mole of electrons.
Definition: Constants.cs:493
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: IpcPipes.cs:298
bool SetTW(ref TextWriter tw, ref bool disptw, TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:3461
BoundingBoxBase(IBoundingBox bounds)
Constructs a bounding box of the specified dimension and initializes it in such a way that its bounds...
Definition: BoundingBox.cs:356
static void MultiplyPlain(IMatrix a, IMatrix b, IMatrix result)
R=A*B. Multiplies two matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:2663
int numCalls
Counter of calls to prevent infinite recursion, which would occur if none of the methods are overridd...
Definition: SingleTypeConverterBaseGeneric.cs:29
static byte[] PadToAlgorithmBlocksizeCyclic(byte[] byteArray, int blockSize, bool truncateIfLarger=false)
For the specified symmetric encryption algorithm, this function takes the specified byte array and ch...
Definition: UtilCrypto.cs:1678
UnstructuredMesh1d2d()
Constructs a new empty 1D (unconnected) unstructured grid (no elements contained) with no name and no...
Definition: UnstructuredMesh1d2d.cs:28
xdouble(double value)
Definition: UtilMath.cs:1350
bool _reqObjectiveHessian
Definition: AnalysisResultsDto.cs:59
virtual void WriteAnalysisInputJson(string filePath, AnalysisResults anpt)
Stores analysis input data to the specified file in the JSON format. Does not perform any locking.
Definition: OptFileManager.cs:1006
string _IGHomeIdFile
Definition: App.cs:637
UnstructuredMeshGeometry1d(int numElements)
Creates a new unstructured grid with the specified number of elements.
Definition: UnstructuredMeshGeometry1dGeneric.cs:26
bool _isOutputFormatHex
Definition: UilCryptoAux1.cs:500
void Update(params vec2[] points)
Updates the bounding box in such a way that all specified points fit in it.
Definition: BoundingBox.cs:1750
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: SortedUniqueItemList.cs:83
static RealFunction GetWeightPol7(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object based on 7th order polynomial....
Definition: FunctionRealWeight.cs:1007
static double IntegralTrapezoidal(DlgFunctionValue f, double from, double to, int numintervals)
Returns numerical integral of a function calculated by the composite trapezoidal rule....
Definition: FunctionNumeric.cs:108
virtual string[] ConvertFunctionDefinitionsToArray(string functionDefinitionsString)
Converts a single string containing function definitions in delimited form to an array of individual ...
Definition: ScalarFunctionScriptController.cs:146
bool _measureTime
Definition: UtilTime.cs:122
void KillDispatcherThread()
Forces the working thread to stop. To let the working thread finish its current jobs and then stop,...
Definition: ParallerJobDispatcherBase.cs:547
virtual string ToStringMath()
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:5133
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionReal.cs:1367
override bool Condition()
Condition that unblocks Wait() when it becomes true. The condition is true if the specified directory...
Definition: WaitConditionFile.cs:763
virtual void WriteMetaTag(string name, string content)
Adds a meta tag with specified values of the name and content fields.
Definition: HtmlWriter.cs:373
static bool CreateContainer(XmlNode basenode, string xpath, string ContainerAttribute, string ContainerValue)
Definition: XmlUtilities.cs:697
override void Hessian1(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the first component, just throws the NotImplementedException exce...
Definition: Function3d2d.cs:167
ExpressionEvaluatorJs()
Initializes a new JavaScript evaluator. This includes compiling the JavaScript code where evaluation ...
Definition: ExpressionEvaluatorJs.cs:38
void AppendEndcomment(StringBuilder sb)
Appends end of comment.
Definition: ScalarFunctionScriptLoader.cs:546
IVectorFunction Function
Scalar function (of type IVectorFunction) created on basis of definition in this controller.
Definition: VectorFunctionScriptController.cs:901
bool CalculatedValues
Indicates whether calculation of functions is/was requested.
Definition: VectorFunctionResultsDto.cs:153
override bool DerivativeDefined
Definition: FunctionVectorFromScalar.cs:112
IRandomGenerator _rand
Definition: PointCloud.cs:270
const bool DefaultCaseSensitive
Default value of the flg indicating whether command names are case sensitive.
Definition: CommandlineApplicationInterpreter.cs:189
virtual void LoadXml(string docstr)
Definition: XmlUtilities.cs:1091
static string TrimMatchingQuotes(this string str, char quote)
Returns a string where the leading and trailing quotes have been removed, if any.
Definition: CommandLineParserSimple.cs:44
object _mainLock
Definition: RealFunctionScriptLoader.cs:36
This class contains key parameters of the cryptographic operations performed on some item.
Definition: UtilCryptoAux.cs:158
double XZ
XZ component.
Definition: Matrix3DClass.cs:316
static void Example_03()
Definition: TubularSurfaceExamples.cs:70
void StoreDefinitionAndData()
Stores data definitions AND sampled data to the data table.
Definition: SampledDataCsv.cs:1950
List< string > Tags
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:181
const string MachineConfiguration
Definition: UtilSpeedTesting.cs:156
override double f3(double u, double v)
Definition: Function3d2d.cs:1087
bool TreatUndefined
Returns a boolean value indicating whether undefined messages with the lowest priority are treated by...
Definition: ReporterMsg.cs:2701
SerializationTestArrayMember[] _testArray
Definition: SerializerBase.cs:755
int NumEpochs
Number of epochs actually spent at training.
Definition: NeuralTrainingParameters.cs:563
Matrix(int d1, int d2)
Constructs an d1*d2 - dimensional matrix of zeros.
Definition: Matrix.cs:91
bool IsResizable
Definition: ArrayAccessors.cs:58
string RunInteractive(CommandThread commandThread)
Reads commands one by one from the standard input and executes them.
static int[,,] IntArray3x2x4
Sample 3D rectangular array of int (type int[,,]), for use in tests. Dimensions of the array are 2*3*...
Definition: SampleCollections.cs:53
bool IsReadOnly
Definition: SampleClasses.cs:452
bool IsPositiveInfinity
Indicates whether the current Scalar represents positive infinity.
Definition: Scalar.cs:97
string GetInputFieldValue(int fieldId)
Returns value of the sepcified input field.
Definition: SimKosecFileManagerBase.cs:1192
virtual void RespondToMessage(string messageName, string[] messageArguments, ref bool responded)
Responds to a received message.
Definition: IpcStreamClientServerBase.cs:568
Vector3d CrossProduct(Vector3d v)
Returns vector product of the current and the specified vector.
Definition: Vector3Dclass.cs:445
override void CalculateOutput(IVector input, ref IVector output)
Calculates and returns the approximated outputs corresponding to the specified inputs,...
Definition: NeuralApproximatorAforgeFake.cs:71
ILoadableScript CreateObjectFromCode(string code, string[] initializationArguments)
Creates and returns a loadable script object form code. Class name is extracted from code.
Definition: Loader.cs:1569
override string ToString()
Definition: App.cs:348
static bool IsApplicationRunningByWindowTitle(string mainWindowTitle, bool caseSensitive, bool isFullString)
Returns true if at least one application with the specified main window title is running,...
Definition: UtilSystem.cs:1643
void IncrementNumStartedJobs()
Increments by one the number of started by the dispatcher up to this point.
Definition: ParallerJobDispatcherBase.cs:1176
Base class for one parametric families of radial scalar functions with affine transformation of co-or...
Definition: FunctionScalarRadial.cs:210
abstract double double double z CurveCylindrical(double t)
Bounding box, defines minimum and maximum co-ordinates of domains, geometric objects and their groups...
Definition: BoundingBox.cs:22
NonSerializableWithPrivateFieldsSetByConstructor(int hidden)
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:116
static double ch(double a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:505
virtual double Norm2
Gets the two norm of the matrix, i.e. its maximal singular value.
Definition: Matrix.cs:1083
@ Function
Function block (entered via Call command).
override void InitWaitFileEventBase(string fileOrDirectoryPath)
Performs class specific initialization.
Definition: WaitConditionFile.cs:658
static bool DynamicThreadPriority
Whether the ThreadPriority property should be obtained dynamically from the process priority each tim...
Definition: UtilSystem.cs:1995
PointContainerSampledDataElement(SampledDataElement point)
Definition: PointCloudSampledDataElement.cs:98
Interface for the registry of vector factories. For method descriptions, see VectorFactoryRegistry<Ba...
Definition: VectorFactoryRegistry.cs:17
string AnInXmlPath
File path of the analysis input file in XML format. Setter takes only pure file name,...
Definition: OptFileManager.cs:301
void ResetLevels()
Resets the various kinds of reporting levels to default values.
Definition: ReporterMsg.cs:2642
void CopyInputs(ref IVector[] extracted)
Copies vectors of input parameters from the current sampled data set, and stores them to the specifie...
Definition: SampledData.cs:489
static bool operator==(BaseClass lhs, BaseClass rhs)
Definition: SampleClasses.cs:52
override void PrepareInternalTrainingData()
Prepares internal training data that is needed by the native training algorithm. When overridden,...
Definition: NeuralApproximatorAforgeFake.cs:25
static readonly PhysicalConstant EarthEquatorialRadius
Earth equatorial radius, 6,378.1 km.
Definition: Constants.cs:1391
void GetTrainingAndVerificationData(ref SampledDataSet trainingData, ref SampledDataSet verificationData)
Auxiliary function, obtains network's training and verification data.
Definition: NeuralApproximatorBase.cs:1532
abstract double FromReference(double referenceValue)
Transforms the specified value from reference domain (interval [0,1]) to actual domain.
color GetReferenceColor(double referenceValue)
Returns the color from the current color scale that corresponds to the specified value in the referen...
String Parsers and Formatted Writers.
Definition: StringParserInt.cs:13
override string ToString()
Returns a stirng containing the server data.
Definition: IpcPipes.cs:842
TTensorField GetTensorField(string name)
Returns tensor field with the specified name.
Definition: StructuredMesh2dGeneric.cs:588
int OriginalElementIndex
Definition: NeuralMapData.cs:33
Definition: SpeedTests.cs:15
virtual void RegisterDerivedType< TypeToRegister >()
Registeers the type (TypeToRegister ) under its simple, fully specified and assembly specified names ...
Definition: DerivedTypesRgistryBasic.cs:41
override string BaseDefinitions
A set of pre-defined definitions that can be used in the evaluated code.
Definition: ExpressionEvaluatorJint.cs:88
IMatrix GetNew()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1304
static object _lockStatic
Definition: UtilSystem.cs:53
static void MultiplyDiagonal(IVector diag, IMatrix a, IMatrix result)
Right-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matri...
Definition: MatrixBase.cs:4466
static void InitType()
Does nothing by itself, but causes call to static constructor, which causes the necessary type initia...
Definition: NeuralApproximatorBase.cs:555
Type Type
Definition: CapturedVar.cs:117
char ForWhichCharacter
Definition: SkipWhileNotInStringStrategy.cs:19
PasswordAlgorithmRfc2898(bool publicParameters)
Definition: UtilCryptoAux.cs:891
static void MapCoordinatesToScalars(StructuredField2d< vec2 > referenceField, StructuredField2d< double > targetScalarField, IFunc2d scalarMap)
Generates scalar values for a 2D structured grid from the specified field of grid coordinates by a sp...
Definition: StructuredField2dGeneric.cs:589
override void ResetNetwork()
Resets the neural network.
Definition: NeuralApproximatorAforgeFake.cs:45
Vector function containing lineer basis in a n-dimensional vector space. Composed of n+1 functions: 1...
Definition: ApproxBasis.cs:16
virtual string Description
Scalar function description.
Definition: VectorFunctionDto.cs:96
List< double > GetIntervalLengthsList()
Generates and returns a list of interval lengths between the generated nodes. The returned list is a ...
double LinearCombinationDerivative(IVector parameters, IVector coefficients, int component)
Returns the specified component of gradient of combination of functions contained in this vector func...
Definition: FunctionVectorBaseGeneral.cs:477
TraceSwitch ReportingSwitch
Gets or sets the TraceSwitch that is synchronized with ReportingLevel. IMPORTANT: State of the object...
Definition: ReporterMsg.cs:992
string GetVariableValue(string varName)
Returns value of the specified variable.
Definition: CommandlineApplicationInterpreterBase.cs:1389
virtual int NextInclusive(int minValue, int maxValue)
Returns a random number within a specified range (lower bound inclusive, upper bound INCLUSIVE).
Definition: Random.cs:440
void ResetMin(int componentIndex)
Resets the specified minimal coordinate value to UndefinedMin.
Definition: BoundingBox.cs:612
const string MsgAnInputReadyFilename
Default file name for analysis input data ready flag.
Definition: OptFileConst.cs:49
abstract int NumNodes
Returns number of grid points.
Definition: Mesh.cs:57
static void Example()
Examples for this class.
Definition: ApproxBasis.cs:96
static double NormInfStatic(IVector a)
Returns the Infinity-norm (maximum absolute value of any element) of the specified vector.
Definition: VectorBase.cs:653
virtual void ClientCalculateAnalysisResults(ref AnalysisResults anRes)
Calculates analysis results by using the analysis server. Writes analysis input, sends request to the...
Definition: OptFileManager.cs:1163
static mat2 operator+(mat2 m)
Unary plus for 2D matrices, returns the operand.
Definition: Matrix2D.cs:806
static void FromByteArray(byte[] bytes, out Int64 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2211
double _stopCpuTime
Definition: UtilTime.cs:107
override double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionScalarRadial.cs:367
ToStringTypeConverterViaJson(bool indentedJson=false)
Constructs the converter, optionally enabling indented JSON formatting.
Definition: ToStringTypeConverterViaJson.cs:23
void Test()
Definition: LoadableScriptOpt.cs:253
virtual string Description
Returns a short description of the current function.
Definition: FunctionReal.cs:195
VectorFunctionResultsDto()
Default constructor.
Definition: VectorFunctionResultsDto.cs:135
bool TryGetInt(int rowNumber, int columnNumber, out int value)
Safely gets the integer value at the specified position of the data table, if it is defined,...
Definition: StringTable.cs:863
static void CopyPlain(MatrixBase_MathNetNumerics a, IMatrix result)
Copies components of a matrix to another matrix. This is a plain version of the method that does not ...
Definition: MatrixBase.cs:1591
static readonly PhysicalConstant Y
yotta- (Y), SI prefix for 10^.
Definition: Constants.cs:710
bool _reqConstraintHessians
Definition: AnalysisResultsDto.cs:61
override void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionScalarParametric.cs:256
void Clear()
Clears the list of scalar functions.
Definition: VectorFunctionScriptController.cs:181
void Dispose()
Implementation of IDisposable interface.
Definition: HtmlWriter.cs:868
Interface for classes that provide waiting for specific file events (such as ceration or deletion of ...
Definition: WaitConditionFile.cs:19
bool TryConvertTyped< TargetType >(string source, out TargetType target)
Definition: FromStringTypeConverterViaIConvertible.cs:23
string ActiveTensorFieldName
Gets or sets name of the currently active tensor field. This determines the currently active tensor f...
Definition: UnstructuredMesh1dGeneric.cs:571
virtual string CmdSetPriority(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Sets the priority of the current process.
Definition: CommandlineApplicationInterpreter.cs:4689
override bool CancelFlag
If this flag is set then the current waiting (if one is going on) will be cancelled.
Definition: WaitConditionFile.cs:873
static void TestSerializationJSON(string filePath)
Test serialization performed by the JSon serializer. This function creates a test object,...
Definition: SerializerBase.cs:494
bool IsProcessingDoubleQuoteInitiatedString
Definition: JsonPPStrategyContext.cs:53
Class encapsulating a command-line shell. Used as embedded shell application that can be installed on...
Definition: ApplicationCommandLineBase.cs:338
bool ModuleInitializationBeforeCalled
Definition: App.cs:792
static void SetRandom(IVector vec, IRandomGenerator rnd)
Sets the current vector such that it contains random elements on the interval (0,1].
Definition: VectorBase.cs:992
JobContainerType JobData
Data for the job that is executed by teh current parallel job runner.
Definition: ParallelJobServerBase.cs:178
Definition: ColorScale.cs:195
static string DefaultGenericResponse
Default generic response (sent in absence of any other method to generate the response).
Definition: ClientServerStreamBase2_Copy.cs:252
Parametric Möbius strip, with configurable number of half-twists ff (which must be odd to generate no...
Definition: MoebiusStrip.cs:21
StreamReader _inputStream
Definition: NamedPipes_Copy.cs:560
StopWatch1 Timer
Timer that measures the total time elapsed when waiting for fulfillment of unblocking condition....
Definition: WaitCondition.cs:297
virtual double MinPerSecond
Minimum required number of executions per second in speed tests.
Definition: BasicTypeConverterTests.cs:43
VectorBase(ElementType[] elements, bool copyElements=false)
Definition: VectorBase.cs:38
JavaScript Evaluator with command-line interpreter.
Definition: ExpressionEvaluatorJs.cs:30
static ColorScale CreateBlueRedYellow(double minValue, double maxValue)
Creates and returns a continuous color scale that runs from blue through red till yellow color.
Definition: ColorScale.cs:978
static void PeformNonStringPrint(JsonPPStrategyContext context)
Definition: CloseBracketStrategy.cs:16
static void MapCoordinatesToScalarsPlain(StructuredField3d< vec3 > referenceField, StructuredField3d< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 3D structured grid from the specified field of grid coordinates by a sp...
Definition: StructuredField3dGeneric.cs:316
static object _idLock
Definition: ExpressionEvaluatorCompiled.cs:44
int n2
Definition: LissajousKnot3D.cs:44
IVector CreateVector(Type vectorType, int dimension)
Creates and returns a vector with the precise specified type vectorType , of the specified dimension ...
Definition: VectorFactoryRegistry.cs:110
string PasswordString
Password, in form of string, to be used in generation of keys, initialization vectors,...
Definition: UtilCryptoAux.cs:740
VectorDtoBase ToleranceRms
Tolerance over RMS error of output over training points. Training will continue until error becomes b...
Definition: SerializationDtoNeuralApproximator.cs:90
void TestSpeedBlockCreateRemove(string filePath, int numSwitches, int sleepMs, bool waitDirectory)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1331
MathNet.Numerics.LinearAlgebra.Vector< double > VectorBase_MathNetNumerics
Definition: MatrixDecompositions.cs:20
virtual void SetFunctionLoader(ScalarFunctionLoader loader)
Sets the loader that can create a scalar function according to the definition from the current DTO.
Definition: ScalarFunctionScriptController.cs:724
bool HasDerivative
Definition: TrefoilKnot3D.cs:42
virtual double CalculateOutput(IVector input, int whichElement)
Calculates and returns the specified output by using the current vector function approximator.
Definition: VectorApproximatorBase.cs:63
Abstract base class for vectors with the specific element type (ElementType ).
Definition: VectorBase.cs:25
static ColorScale CreateColorBlindDeuteranopia(double minValue, double maxValue)
Creates and returns a continuous color scale that is adapted to people with deuteranopia.
Definition: ColorScale.cs:844
Definition: TubularSurfaceExportExamplesTests.cs:16
static double Arcoth(double x)
Inverse hyperbolic cotangent.
Definition: UtilMath.cs:1298
Func3dQuadratic(mat3 hessian, vec3 gradient0, double scalarTerm)
Creation of a quadratic 3D scalar function.
Definition: Function3d.cs:566
VectorFunctionResults _auxResults
Definition: FunctionVectorBaseGeneral.cs:197
void SortUsingStoredDistance(List< PointContainerType > list)
Sorts a list of point containers with the current comparer.
Definition: DistanceComparer.cs:710
double epsilon
Determine the amplitude of oscillation of the parameterization in z-axis.
Definition: TrefoilKnot3D_MathCurve3.cs:30
virtual double Parameter
Gets or sets the (only) parameter that defines the current function out of parametric family of funct...
Definition: FunctionScalarRadial.cs:332
TScalarField _activeScalarField
Definition: StructuredMesh3dGeneric.cs:245
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealBasic.cs:264
virtual string CmdPipeClientsRemove(CommandThread cmdThread, string cmdName, string[] args)
Command. Removes the spcified (or all, if names are not specified) named pipe clients....
Definition: CommandlineApplicationInterpreter.cs:5813
bool AsyncIsAllCompleted()
Returns true if all asynchronous command executions have completed, and false otherwise.
Definition: CommandlineApplicationInterpreter.cs:2536
string _msgOptResultsReadyFilename
Definition: OptFileManager.cs:156
color[] _definitionColors
Table of definition colors.
Definition: ColorScale.cs:249
virtual int InputLength
Gets or sets the number of input neurons.
Definition: NeuralTrainingParameters.cs:116
TScalarField ActiveScalarField
Gets active scalar field. Has protected setter.
Definition: UnstructuredMesh2dGeneric.cs:238
void SortUsingStoredDistance(List< PointContainerType > list)
Sorts a list of point containers with the current comparer.
string RunCode(string code, string className, string[] initializationAndRunArguments)
Runs a loadable script object form code.
Definition: Loader.cs:1613
double b
Definition: Function3d2d.cs:875
virtual string FileFunctionCurrentDirectory(string appName, string[] args)
Executes embedded application - writing to the console information about file events for the specifie...
Definition: ScriptAppBase.cs:944
byte[] PasswordBytes
Password as byte array.
Definition: UilCryptoAux1.cs:298
UnstructuredMeshGeometry1d()
Constructs a new empty unstructured grid (no elements contained) with no name and no description.
Definition: UnstructuredMeshGeometry1dGeneric.cs:20
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:82
virtual string DataStructuresFunctionTestCsvReadDefinitionAndData(string appName, string[] appArgs)
Executes embedded application - test of writing sampled data definition and data in CSV format.
Definition: ScriptAppBase1.cs:284
bool _reqConstraints
Definition: AnalysisResults.cs:214
void RemoveVectorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh3dGeneric.cs:512
static double max(params double[] numbers)
Maximal of the specified values.
Definition: UtilMath.cs:263
static Complex PI
Gets the real-valued constant Pi (= Math.PI), the ratio of circumference and diameter of a circle,...
Definition: Complex.cs:378
void NullifyAll()
Sets all objects (parameter and result objects) to null. If the references are not assigned elsewhere...
static void CreateFunctionDefinitionsArray(string namesString, string separator, ref string[] namesArray, bool trimSpaces=true)
Parses a string that contains delimited function definitions, extract an array of individual function...
Definition: ScalarFunctionScriptController.cs:481
bool NetworkPrepared
Gets a flag telling whether the network is prepared for operation (training and calculation of output...
Definition: NeuralApproximatorBase.cs:844
virtual Type GetType(string derivedTypeName, bool tryGetIfNotRegistered=false, bool throwIfCannotResolve=true)
Tries to resolve and return the type that corresponds to the specified type name (derivedTypeName ).
Definition: DerivedTypesRegistry.cs:111
static void SaveJson(VectorFunctionScriptController functionController, string filePath, bool append=false, InputOutputDataDefiniton dataDefinition=null)
Saves (serializes) the specified script-based vector function controller to the specified JSON file....
Definition: VectorFunctionScriptController.cs:672
virtual void MapFromNeuralOutput(IVector values, ref IVector mappedValues)
Inverse maps (scales and shifts) vector of neural output values back to the vector of actual outputs.
Definition: NeuralApproximatorBase.cs:1956
override void CopyToPlain(ref VectorFunctionScriptController functionController)
Copies data from the current DTO to a scalar function object.
Definition: VectorFunctionDto.cs:206
string name
Definition: XmlUtilities.cs:1644
virtual double EvalToDouble(string code)
Evaluates (interprets) JavaScript code and returns double result of evaluation. Code must be such tha...
Definition: ExpressionEvaluatorCompiled.cs:242
double[] Values
Definition: VectorFunctionResultsDto.cs:161
RealFunctionOneParametric()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionRealParametric.cs:138
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function's derivative.
Definition: ApproxBasis.cs:65
bool IsVariableDefinedLocked(string varName)
Returns true if the specified variable is defined, false if it is not.
Definition: CommandlineApplicationInterpreterBase.cs:1371
double StartParameter
Definition: GrannyKnot3D.cs:49
Simple TCP port scanner, multi-threaded.
Definition: PortScannerSimple.cs:21
string _errorString
Definition: AnalysisResults.cs:226
int NumIdleJobServers
Gets the number of idle job servers that are currently available on the dispatcher.
Definition: ParallerJobDispatcherBase.cs:1118
virtual void AllocateHessian(int which)
Allocates space for the specified fucnction's Hessian.
Definition: FunctonVectorResults.cs:630
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:1150
int NumHiddenNeuronsThirdMin
Minimum number of hidden neurons in third hidden layer.
Definition: NeuralTrainingParameters.cs:1843
virtual string ProcessFunctionListApplicationsByWindow(string appName, string[] args)
Embedded application. Lists all running applications sarisfyin specified conditions.
Definition: ScriptAppBase.cs:4727
StructuredField3d()
Constructs a new empty 3D field (no elements contained) with no name and no description.
Definition: StructuredField3dGeneric.cs:78
void SetGradientReference(IVector reference)
Sets the function gradient. Only the reference is copied.
ReporterConsole(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg_Derived.cs:263
string _anInXmlFilename
Definition: OptFileManager.cs:134
InterpreterType _interpreter
Definition: CommandlineApplicationInterpreterBase.cs:1645
ConicalSpiralLogarithmic3D(double alpha, double a, double k)
Constructor.
Definition: ConicalSpiralLogarithmic3D.cs:23
virtual TVectorField CreateVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh3dGeneric.cs:456
VectorFunctionScriptControllerBase(int numParameters, int numValues)
Constructor, prepares the current DTO for storing a scalar function of the specified dimension.
Definition: VectorFunctionScriptController.cs:46
int Length
Gets the current number of elements in the list.
Definition: SortedUniqueItemList.cs:112
override VectorBase GetNewVectorBase(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: Matrix2DClass.cs:487
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:990
static IEnumerable< string > Split(this string str, Func< char, bool > splitControlFunc)
Splits string according to function telling whether a given character should be used as splitting poi...
Definition: CommandLineParserSimple.cs:22
TIndexField _activeIndexField
Definition: UnstructuredMesh2dGeneric.cs:80
static bool operator!=(ExplicitlyConvertibleFromDerived lhs, ExplicitlyConvertibleFromDerived rhs)
bool SaveConvergenceRms
Flag to enable Rms error convergence colection. Default is false.
Definition: NeuralApproximatorBase.cs:183
double epsilon
1 if righthanded, -1 if not (for the left-handed helix curve).
Definition: HelixCurve3D.cs:33
override MatrixBase GetNewMatrixBase()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector.cs:525
bool Strict
Definition: Utils.cs:3207
FieldCollection< TScalarField, TScalar > ScalarFields
Gets the collection of scalar fields of the current mesh.
Definition: UnstructuredMesh1dGeneric.cs:224
int Dim
Returns vector's dimension (nmber of components / elements).
Definition: IVector.cs:31
virtual string RunAppCustom(string[] args)
Runs a file system related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:185
CommandThread(InterpreterType interpreter)
Definition: CommandlineApplicationInterpreterBase.cs:812
InterpreterPipeServer(CommandThread cmdThread, string pipeName, bool startImmediately, string requestEnd, string responseEnd, string errorBegin)
Constructs a new named pipe server with the specified pipe name and other paramters.
Definition: CommandlineApplicationInterpreter.cs:5294
override void CopyFromPlain(SampledDataSet dataSet)
Copies the specified sampled data set to the current DTO.
Definition: SampledDataDto.cs:156
virtual string IndentationString
String used for indentation of code.
Definition: InterfaceInterpreterBase.cs:303
int OutputLevel
Level of information that is output to the console by some methods.
Definition: SimKosecFileManagerBase.cs:166
ImplicitlyConvertibleToDerived()
Definition: SampleClasses.cs:149
object _mainLock
Definition: InterfaceInterpreterBase.cs:73
override void CloseOutput()
Closes the outut stream.
Definition: IpcStreamClientBase.cs:34
virtual IAnalysisResults CurrentGuess
Results of the current guess (usually last analysis that has been performed).
Definition: Optimizer.cs:339
static string DefaultKeyOptimizationIndices
Default key for introduction of optimization indices of input and output data elements.
Definition: SampledDataCsv.cs:322
virtual void SetHessian(int which, IMatrix value)
Sets the specified function's Hessian. If CopyReferences=true (false by default) then only the refere...
Definition: FunctonVectorResults.cs:475
abstract LoadableScalarFunctionBase CreateScalarFunction()
Creates and returns a new scalar function object where the returned object is of scalar function clas...
int _rowCount
Definition: MatrixDto.cs:55
override string GetSetting(string settingname)
Retrieves the specified setting from the current settings source.
Definition: SettingsRreader.cs:183
Converts strings to values (objects) of a single specified type (TTarget ).
Definition: ITypeToStringConverters.cs:9
int NumParameters
Number of parameters of an optimization problem.
Definition: VectorFunctionResultsDto.cs:38
StructuredField2d(int dim1, int dim2, string fieldName, string fieldDescription)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:104
Matrix2d(IMatrix m)
Constructor. Initializes components of a 2D matrix with components of another matrix....
Definition: Matrix2DClass.cs:48
void SetNames(string returnedValueName, string functionArgumentName, string[] independentVariableNames)
Sets names used in generated script code.
Definition: ScalarFunctionScriptLoader.cs:183
ColorScale(double minValue, double maxValue, params color[] definitionColors)
Constructor. Creates a continuous scale.
Definition: ColorScale.cs:207
static void ExportToStl(this StructuredMesh3D_02 mesh, string stlFilePath)
Exports the mesh to a binary STL file.
Definition: MeshExportExtensions_02.cs:78
abstract bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
override int NextInclusive(int minValue, int maxValue)
Returns a random number within a specified range (lower bound inclusive, upper bound INCLUSIVE).
Definition: Random.cs:288
double _c
Definition: FunctionScalarExamples.cs:63
void SetEpochErrorsAbs(List< double > errors)
Sets the list of sampled absolute errors corresponding to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:665
virtual void InitCommandLineApplicationInterpreterBasic(bool caseSensitive)
Performs basic initializations of the interpreter.
Definition: CommandlineApplicationInterpreter.cs:60
Tests of the basic type converter (BasicTypeConverter, implementation of the ITypeConverter interface...
Definition: BasicTypeConverterTests.cs:20
IAnalysisResults BestGuess
The best results so far.
Definition: Optimizer.cs:97
const string AssemblyHelpLoaded1
Definition: ScriptAppBase.cs:4253
static readonly PhysicalConstant min
Minute, non-SI unit of time, 60 result.
Definition: Constants.cs:1081
virtual IAnalysis Analysis
Direct analysis object used in optimization. Initialized when first accessed with the embedded class,...
Definition: LoadableScriptOpt.cs:193
TScalarField GetScalarField(int index)
Returns the scalar field with the specified index.
Definition: UnstructuredMesh2dGeneric.cs:282
static string GetExecutableVersion(int numLevels=2)
Returns version (from the file info) of the current executable.
Definition: UtilSystem.cs:3214
LoadableRealFunctionBase()
Default function constructor, result is reference function (witout shifting or stretching).
Definition: RealFunctionScriptBase.cs:65
string KeyNames
A keyword string that introduces variable names in the CSV file containing sampled data and / or data...
Definition: SampledDataCsv.cs:581
double Zero2
Returns the second zero of the current cubic function. Throws InvalidOperationException if the functi...
Definition: FunctionRealInterpolation.cs:1187
void Register()
Registers the current object. Subsequent calls (after the first one) have no effect.
Definition: InterpreterCommandLine.cs:221
Base class for graphic line primitive.
Definition: GraphicalObjectsBase.cs:355
override bool ValueDefined
Definition: FunctionRealWeight.cs:493
string LastCommandLine
Definition: CommandlineApplicationInterpreterBase.cs:1288
virtual void SpecificTypeConverter_OneDirectionConversion_ExplicitlyfromderivedToDerivedObjectToBase_IsCorrect()
Definition: ReflectionTypeConverterTests.cs:72
bool IsPositiveInfinity
Indicates whether the current Counter represents positive infinity.
Definition: Scalar.cs:461
void ResetNumIdleJobServers()
Resets number of idle job servers to 0.
Definition: ParallerJobDispatcherBase.cs:1123
static Complex Exp(Complex x)
returns exponential function (where exponent is the Euler's number, base of natural logarithm)....
Definition: Complex.cs:603
int stop
Definition: PortScannerSimple.cs:139
void SetInputParameters(int which, IVector parameters)
Sets the vector of input parameters of the specified element of the sampled data set.
Definition: SampledData.cs:331
static void Multiply(IMatrix a, IMatrix b, ref IMatrix result)
R=A*B. Multiplies two matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:2720
mat2 Multiply(double b)
Multiplies the current 2D matrix with the specified scalar and returns the product.
Definition: Matrix2D.cs:725
override double Value(IVector parameters)
Returns the value of this function at the specified parameter.
Definition: FunctionScalarExamples.cs:480
void IEnumerableElementTypeIsRetrievedCorrectlyForNestedGenericCollections()
Definition: IGLibCoreReflectionTests.cs:115
static Complex Sinh(Complex x)
Definition: Complex.cs:700
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:877
int RunParallel(string command, string[] commandArguments)
Runs she specified command with arguments once in a parallel thread by using the interpreter's job di...
Definition: CommandlineApplicationInterpreter.cs:2385
InterpreterVariable GetFirstLocalVariable(CommandThread cmdThread, string value)
Definition: CommandlineApplicationInterpreter.cs:468
SortedDictionary< string, InputFieldDefinition > _inputFields
Definition: SimKosecFileManagerBase.cs:911
int OutputLevel
Level of output printed to console when performing actions.
Definition: NeuralApproximatorBase.cs:626
const string ConstHelpSystem
Definition: ScriptAppBase.cs:329
bool RemoveTextWriter(Stream stream)
Removes the first object from Writers whose TextWriter has been created form the specified stream....
Definition: ReporterMsg.cs:4424
abstract void CloseInput()
Closes the inpt stream.
static double Acot(double x)
Arc cotangent, inverse of 1/tan(x).
Definition: UtilMath.cs:1225
IVector Normalized()
Returns a vector that equals a normalized current vector.
abstract void TrainNetworkSpecific(int numEpochs)
Trains neural network wiht the specified data, performing the specified number of epochs....
const string SystemComputerName
Definition: ScriptAppBase.cs:3622
virtual void TabAn1d(IVector pont0, IVector point1, int numPoints, bool centered, double factor, double scaling, bool printTab, bool printParam, bool printList, bool printObj, bool printConstr, bool printGradobj, bool printGradconstr)
Runs an 1D table of analyses.
Definition: InterfaceInv.cs:566
static StringParser _global
Definition: StringParser.cs:494
override string ToString()
Definition: SampleClasses.cs:155
Base class for scalar functions of 3 variables (implementations of the IFunc3d interface)....
Definition: Function3d.cs:103
string Symbol
Gets the symbol used for a physical constant.
Definition: Constants.cs:136
virtual string AppCleanFiles(string appName, string[] args)
Executes command-line action - deletion of eventual redundant files that remained in the file system ...
Definition: UilCryptoAux1.cs:2774
string Run(CommandThread cmdThread, string commandLine)
Runs command that is specified as a single string, composed of command name and its argumens....
Definition: CommandlineApplicationInterpreter.cs:1971
string _description
Definition: SerializerBase.cs:609
static string ToString(this IVector vec, string elementFormat)
Returns a string representation of the current vector in a standard IGLib form, with the specified ...
Definition: VectorBase.cs:244
override string ToString()
Returns a string representation of this 3D matrix.
Definition: Matrix3D.cs:1062
virtual bool IsMultilineRequest
Whether or not multi line requests are allowed.
Definition: ClientServerStreamBase2_Copy.cs:93
double Value
Definition: SerializerBase.cs:581
static Scalar operator-(Scalar s)
Definition: Scalar.cs:155
TempFileStream(FileAccess access, FileShare share, int bufferSize)
Definition: UtilSystem.cs:42
int _rowCount
Number of rows.
Definition: Matrix.cs:547
InterfaceInverse()
Definition: InterfaceInv.cs:27
static void SetDiagonal(IMatrix mat, IVector diagonal)
Sets the current matrix to the diagonal matrix with diagonal element specified by a vector.
Definition: MatrixBase.cs:873
static string ToStringMath1(IMatrix mat)
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:311
static double Pi
Ratio of the circumference of a circle to its diameter.
Definition: UtilMath.cs:824
virtual bool EventOccured
This flag is set by event handlers, and can be used by waiting procedures to check if the current eve...
Definition: WaitConditionFile.cs:198
bool IsRunning
Returns a flag indicating whether the stopwatch is currently running.
Definition: UtilTime.cs:157
int read(string str)
Reads in the value from a string, starting at the beginning and skipping any leading spaces....
Definition: Scalar.cs:327
BoundingBox3d(IVector min, IVector max)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal and m...
Definition: BoundingBox.cs:1534
string ErrorBegin
Definition: ClientServerStreamBase2_Copy.cs:139
virtual string VarNameCalcGradObjective
Definition: InterfaceInv.cs:132
double _growthFactor
Definition: GridGenerator1d.cs:97
static bool IsVariableName(string str)
Returns true if the specified string is a legal standard representation of a variable name,...
Definition: UtilString.cs:628
void SetFlags(params CryptoFlags[] whichFlags)
Sets the specified flags.
Definition: UtilCryptoAux.cs:206
string DataDirectory
Directory for data and messages exchange through files.
Definition: OptFileManager.cs:72
static bool CheckStringHashHex(string stringToCheck, string hashValue, HashType hashAlgorithmType)
Chechs the specified type of hash value of a string.
Definition: UtilCrypto.cs:1021
static void LdltExtractLower(IMatrix matLdlt, ref IMatrix result)
Extracts the lower part of the specified LDLT decomposition (1s on diagonal, 0s above diagonal) and s...
Definition: MatrixBase.cs:6254
override vec3[] GridCoordinates
Definition: Mesh.cs:229
double Norm2
Gets a 2 norm of the current 2D vector.
Definition: Matrix2D.cs:128
IBoundingBox OutputDataBounds
Bounds on output data, used for scaling from actual output to output produced by neural network....
Definition: NeuralApproximatorBase.cs:331
Represents a 2D regular quadrilateral mesh in 3D space.
Definition: StructuredSurfaceMesh3D.cs:12
static ReportLevel TraceLevel2ReportLevel(TraceLevel tl)
Returns the ReportLevel value corresponding to the given System.Diagnostics.TraceLevel.
Definition: ReporterMsg.cs:2918
int GetHashFunctionInt()
Returns an integer valued hash function of the current matrix object.
Definition: MatrixBase.cs:775
object ValueObject
Untyped value of the entity captured by the instance of the class, typed as object.
Definition: ICapturedVar.cs:27
const string VarNameGradientDefinitionStrings
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: ScalarFunctionScriptLoader.cs:93
double a
Half axis of the ellipsoid in the x direction. Default is aDefault.
Definition: Ellipsoid.cs:39
const string ArgIvHexBytes
Specification of initialization vector as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:489
override double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
Definition: Function3d2d.cs:517
const string CryptoHelpCleanFiles
Definition: ScriptAppBase.cs:1612
ICommandLineApplicationInterpreter Interpreter
Definition: CommandlineApplicationInterpreter.cs:5306
string _secondDerivativeDefinitionString
Definition: RealFunctionScriptBase.cs:101
void SetMessageSeparator(char messageSeparator)
Changes message separator for the current object.
Definition: ClientServerStreamBase_Copy.cs:214
abstract bool IsConnected()
Returns true if server pipe is connected, .
int NumConstraints
Number of constraints.
Definition: OptimizationInputData.cs:119
static void MapCoordinates(Field< vec2 > referenceField, Field< vec2 > targetField, IFunc2d fx, IFunc2d fy)
Generates coordinates of a set of unstructured points (point cloud) from a reference set according to...
Definition: FieldGeneric.cs:703
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: IpcPipes.cs:686
void Example03_ExportGrannyKnot3DTube(int numLongitudinal, int numTransverse, double radius)
Creeates a tubular surface mesh from a Granny knot parameterization, GrannyKnot3D,...
Definition: TubularSurfaceExportExamplesTests.cs:437
int Get_HashCode5()
A candidate for object.GetHashCode() override. Leverages framework's implementation for tuples.
Definition: Complex.cs:882
double Norm1
Gets an 1 norm of the current 3D vector - sum of absolute values of components.
Definition: Matrix3D.cs:147
Definition of input and output data mapping. Contains Mapped and Original Index, descriptiove informa...
Definition: NeuralMapData.cs:553
string CsvSeparator
Separator used in CSV files that this class loads data from or writes data to.
Definition: StringTable.cs:1102
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
VariableFlags Flags
Flags that define type and behavior of the variable.
Definition: CommandlineApplicationInterpreterBase.cs:473
void CheckRetrievedElementTypeForIEnumerable< ElementType >()
Definition: IGLibCoreReflectionTests.cs:49
virtual TIndexField CreateIndexField(string fieldName, string fieldDescription)
Creates and returns a new index field of dimensions that match dimensions of the current structured m...
Definition: UnstructuredMesh3dGeneric.cs:150
virtual double NumericalSecondDerivative(double x, double stepsize)
Calculates numerical second order derivative of this function. Central difference formula is used.
Definition: FunctionReal.cs:376
double LearningRateMax
Maximum limit for learning rate.
Definition: NeuralTrainingParameters.cs:1319
int _numValues
Definition: FunctionVectorBaseGeneral.cs:41
const string FileHelpRelativePath
Definition: ScriptAppBase.cs:854
char ForWhichCharacter
Definition: CloseBracketStrategy.cs:24
int IndexOf(Type item)
Returns index of the specified item on the list, if it exists, otherwise a negative number is returne...
Definition: SortedUniqueItemList.cs:211
virtual IModelParameter ClearValue()
Clears the value of the current parameter, making it undefined (IsValueDefined becomes false).
Definition: ModelParameter.cs:212
static void ExportMeshWireframeToObj(this StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, string wireframeMaterialName="WireframeMaterial")
Exports only the wireframe of the mesh to an OBJ file.
object _lock
Definition: AnalysisResults.cs:2382
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:370
Module(string moduleName, string codeName, int version, int subVersion, int subSubVersion, string release)
Definition: App.cs:605
List< string > RecursiveFilePatterns
Definition: UilCryptoAux1.cs:395
object InternalLock
Used internally for locking access to internal fields.
Definition: SimKosecFileManagerBase.cs:89
virtual double DoubleNumber
Definition: SerializerBase.cs:701
bool CompareMaxPenalty
Whether maximal penalty term is compared.
Definition: AnalysisComparer.cs:141
virtual string CmdWhile(CommandThread cmdThread, string cmdName, string[] args)
Command. Enters the while block. Arguments represent loop contioton that is evaluated at the begining...
Definition: CommandlineApplicationInterpreter.cs:3840
virtual void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionRealParametric.cs:330
double SigmoidAlphaValue
Alpha value specifying the shape of the activation function.
Definition: NeuralApproximatorBase.cs:851
virtual string AssemblyFunctionResourcesResx(string appName, string[] args)
Executes embedded application - writing to the console information about the specified assembly's res...
Definition: ScriptAppBase.cs:4022
VectorDtoBase ErrorsTrainingMeanAbs
Mean absolute errors calculated on training data.
Definition: SerializationDtoNeural.cs:189
static Vector Ones(int n)
Generates an d2-dimensional vector filled with 1.
Definition: Vector.cs:223
virtual void ReadFunctionInput(ref IVector inputParameters)
Reads function reduced input parameters form the file at standard location.
Definition: NeuralFileManager.cs:1168
string NeuralTrainingDataPath
File path of the training data file. Setter takes only pure file name, without path information....
Definition: NeuralFileManager.cs:276
static string ListToString(List< double > l)
Definition: StringParser0.cs:626
static long ToInt(string strsetting, long defaultvalue)
Converts a string representation of an integer setting to an integer value.
Definition: UtilString.cs:752
double _determinant
Definition: MatrixDecompositions.cs:923
const string ConstMyTest
Name of the command that performs my custom test.
Definition: ScriptAppBase.cs:5300
void CapturedVar_StaticCaptureVar_PropertiesShouldBeCorrect()
Definition: CapturedVarTests.cs:92
const string ArgForceDelete1
If files are to be deleted, permission is not asked for and deletion is forced.
Definition: UtilCryptoAux.cs:578
bool IsArrayNull
Whether the underlying array-like structure is null.
Definition: IReadonlyArrayAccessor.cs:26
static bool DefaultIsTestMode
Default value of test mode flag.
Definition: ParallelJobServerBase.cs:82
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of the structured 2D mesh embedded in 3D for a parametric surface according to ...
Definition: StructuredMesh2d3d.cs:146
Vector2d VectorProduct(Vector2d v)
Returns vector product of the current and the specified vector.
Definition: Vector2Dclass.cs:431
@ If
Branching block (entered via If, ElseIf or Else comands).
byte[] SaltBytes
Salt as byte array.
Definition: UilCryptoAux1.cs:310
delegate void DoForParameters(List< NeuralTrainingParameters > trainingParameters, List< int > dimensions, int which)
Sample implementation of ISingleTypeConverter<SourceType, TargetType> for testing.
Definition: SpecificTypeConvrterTests.cs:69
Shell application to be installed in script application of the current program.
Definition: ShellIGLib.cs:19
override bool ValueDefined
Definition: FunctionReal.cs:1362
bool CalculateVerificationErrors
Definition: NeuralApproximatorBase.cs:2480
virtual void BeforeOptimization()
Auxiliary housekeeping method that should be called at the beginning of Optimize.
Definition: Optimizer.cs:174
static int NextPointId
Returns the next point ID that can be used for new PointContainer objects.
Definition: PointContainer.cs:214
string _anOutXmlFilename
Definition: OptFileManager.cs:140
static IRandomGenerator Create()
Creates and returns a new random generator initialized with a time dependent seed....
Definition: Random.cs:155
virtual IMatrix GetNew()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: MatrixBase.cs:397
virtual int NumExecutions
Number of executions in speed tests.
Definition: BasicTypeConverterTests.cs:37
static Matrix2d Ones()
Creates a 2D matrix filled with 1.
Definition: Matrix2DClass.cs:229
IVector GetParameters()
Returns vector of optimization parameters.
RandomGenerator(int seed)
Initializes a new instance of random generator, using the specified seed value.
Definition: Random.cs:116
string _description
Definition: CommandlineApplicationInterpreter.cs:292
abstract bool HasFaces
Gets a value indicating whether the mesh has faces.
Definition: Mesh.cs:63
double[] Min
Minimal values of coordinates.
Definition: BoundingBoxDto.cs:55
CodeBlockType _blockType
Definition: CommandlineApplicationInterpreterBase.cs:1199
virtual void SetNumNeuronsInHiddenLayer(int whichLayer, int numNeurons)
Sets the number of neurons in the specified hidden layer. Hidden layers are those not containing inpu...
Definition: NeuralApproximatorBase.cs:810
object Lock
Objectt for locking the current object.
Definition: ClientServerStreamBase_Copy.cs:47
static string _defaultStoppedResponse
Definition: IpcStreamClientServerBase.cs:667
virtual void SpecificTypeConverter_RoundTripConversion_IntegerDoubleToIntObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:74
virtual Func2dBase Component1
Returns the scalar function that represents the first component of the current 3D vector function of ...
Definition: Function3d2d.cs:452
Parametric definition of an origin-centered upper two-sheeted hyperboloid surface (x^2/a^2+y^2/b^2-z^...
Definition: Function3d2d.cs:1047
void AddTensorField(TTensorField field, string name)
Adds the specified tensor field to the collection of tensor fields under the specified name.
Definition: UnstructuredMesh2dGeneric.cs:635
abstract void Hessian3(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the third component of the current function and returns its component through t...
static mat3 Copy(mat3 m)
Returns a copy of the specified 3D matrix.
Definition: Matrix3D.cs:846
int Index
Idex of the element in arrays or list (or in SampledDataSet objects), auxiliary information that faci...
Definition: SampledDataDto.cs:31
void SpeedTestInfoGeneric_TwoParameterConstructorWorksCorrectly()
Definition: UtilSpeedTestingTests.cs:70
UnstructuredMesh2d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured mesh with the specified number of nodes, name and description....
Definition: UnstructuredMesh2dGeneric.cs:58
virtual string[] ParameterNames
Names of function parameters.
Definition: VectorFunctionDto.cs:113
Definition: MaterialGallery.cs:12
virtual int NumEqualityConstraints
Number of equality constraints.
Definition: Analysis.cs:114
static Matrix2d operator+(Matrix2d m)
Unary plus for 2D matrices, returns the operand.
Definition: Matrix2DClass.cs:696
bool _calcHessian
Definition: FunctionScalarResults.cs:79
override string ToString()
Definition: SampleClasses.cs:212
const string DefaultIndentationString
Defines the default indentation string used in string representations of structured data that extends...
Definition: CollectionExtensions.cs:56
override RealFunctionBase IntegralFunction
Returns a function that represents definite integral of the current function from 0 to function argum...
Definition: FunctionReal.cs:753
void GetTrainingData(ref SampledDataSet trainingData)
Auxiliary function, returns network's training data.
virtual void InitAppNumerics()
Initializes commands for numerics related utilities (embedded applications).
Definition: ScriptAppBase.cs:612
UnstructuredMesh3d(int length, string fieldName)
Constructs a new 3D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh3d.cs:43
Vector2d NormalizedInfinity()
Normalizes this 2D vector in infinity norm.
Definition: Vector2Dclass.cs:423
void AddTag(string tagName, string text, params string[] attributeNameValuePairs)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:634
string _stringValue
Definition: CommandlineApplicationInterpreterBase.cs:437
object _lock
Definition: IpcStreamClientServerBase.cs:39
TestBase(ITestOutputHelper output, bool assignConsole=true)
Definition: TestBase.cs:19
double _parameter
Definition: FunctionRealParametric.cs:164
static Complex Pow(Complex x, int power)
Definition: Complex.cs:634
bool _loadable
Definition: LoadableScriptOpt.cs:304
static Scalar MaxValue()
Creates a scalar that contains maximal representable value.
Definition: Scalar.cs:85
void AddOptimizationParameterDefinitions(params InputFieldDefinition[] definitions)
Adds a set of optimization parameter definitions to the list. Each definitios specifies which paramet...
Definition: SimKosecFileManagerBase.cs:786
VectorBase(params ElementType[] elements)
Definition: VectorBase.cs:56
virtual bool TryStore(T obj)
Stores the specified object if the object is eligible for storage in this store and if The maximal nu...
Definition: UtilObjectStore.cs:151
static double DefaultSigmoidAlphaValue
Default value of the sigmoid alpha value (used in networks with sigmoid activation functions).
Definition: NeuralTrainingParameters.cs:35
int NumFinishedJobs
Gets the number of finished jobs (of those handled by the current dispatcher) up to this point.
Definition: ParallerJobDispatcherBase.cs:1189
override void GetPointCoordinates(IVector pt, ref IVector coord)
Gets vector of coordinates of the specified point and stores it in the specified variable.
Definition: PointCloudConcrete.cs:136
Base class for building scalar functions from scripts. This is currently an interrmediate class betwe...
Definition: ScalarFunctionScriptController.cs:30
Definition: CommandLineParserSimple.cs:12
virtual void SetConstraintGradientsReference(List< IVector > reference)
Sets constraint function gradients. Only the list reference is copied.
Definition: AnalysisResults.cs:608
JavaScript Evaluator with command-line interpreter, based on Jint.
Definition: ExpressionEvaluatorJint.cs:30
bool IsResponseSent
Auxiliary flag telling whether response to a request has already been sent to the client....
Definition: IpcStreamServerBase.cs:55
Definition: IParametricSurfaceMeshGenerator.cs:6
LUDecomposition(Matrix_MathNetNumerics A)
Constructor.
Definition: MatrixDecompositions.cs:338
override CommandThreadBase GetThreadBase()
Returns the stack frame of the specified level for the current thread.
Definition: CommandlineApplicationInterpreterBase.cs:868
static double arcsin(double a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:473
char TextLoggerIndentCharacter
Gets or sets the indentation character.
Definition: ReporterMsg.cs:2567
static bool TestMultiply3(double tolerance, bool printReports)
Tests product A*B*C.
Definition: MatrixBase.cs:3221
static bool IsAsciiLetter(char ch)
Returns true if the specified character is an ASCII letter, and false otherwise.
Definition: UtilString.cs:572
ThreadPriority ThreadPriority
Priority of the server thread.
Definition: ParallelJobServerBase.cs:447
static RealFunction GetIdentity(double Kx, double Sx)
Creates and returns a new real identity (or linear) function object.
Definition: FunctionRealBasic.cs:372
static void GetIndices(List< int > tableDimensions, int oneDimensionalIndex, ref int[] tableIndices)
Calculates and stores the multidimensional indices of an element of the multidimensional table of the...
Definition: Utils.cs:523
StructuredMesh2d3d(int dim1, int dim2, string fieldName)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2d3d.cs:44
abstract void PrepareNetworksArray()
Prepares the networks array (allocates it if necessary) for storing all neural networks of the curren...
static byte[] _auxBytes
Definition: Utils.cs:1785
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: Matrix2DClass.cs:519
int MaxEpochs
Maximum number of epochs performed in training.
Definition: SerializationDtoNeural.cs:766
List< NeuralTrainingParameters > _trainingParameters
Definition: NeuralTrainingParameters.cs:2634
static void MultiplyTranspMatPlain(IMatrix a, IMatrix b, IMatrix result)
R=A^T*B Calculates product of transposed matrix and a matrix, and stores the result in the specified ...
Definition: MatrixBase.cs:2758
override bool SecondDerivativeDefined
Definition: FunctionRealPenalty.cs:284
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: ApproxBasis.cs:547
SymmetricAlgorithmType _symmetricAlgorithmType
Definition: UilCryptoAux1.cs:159
PointType Point
Point that is enclosed by the current point container object.
Definition: PointContainer.cs:200
double _c
Definition: Function3d.cs:506
ReciprocalPower(int power)
Definition: FunctionRealBasic.cs:219
override string ToString()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:85
override MatrixBase GetNewMatrixBase()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: Vector2Dclass.cs:151
string[][] _hessianDefinitionStrings
Definition: ScalarFunctionScriptBase.cs:93
virtual void Negate()
Negates the current matrix.
Definition: MatrixBase.cs:686
void SetCoordinateScales(IVector min, IVector max, IVector lengthScales)
Sets parameters that affect default calculation of distance and relative point coordinates.
string[] GetBlockExitCommandsNoLevelEffect()
Returns the array of commands that can exit the current kind of code block but have no level effect.
Definition: CommandlineApplicationInterpreterBase.cs:1039
string _pipeName
Definition: NamedPipes_Copy.cs:88
static void Copy(IMatrix a, ref Matrix_MathNetNumercs result)
Copies components of a matrix to another matrix. Resulting matrix is allocated or reallocated if nece...
Definition: MatrixBase.cs:1694
Matrix2d Subtract(Matrix2d a)
Returns difference between the current matrix and the specified matrix.
Definition: Matrix2DClass.cs:609
const string ArgKeyHexBytes
Specification that key as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:424
List< double > Constraints
Constraint function values. If CopyReferences=true (false by default) then only the list reference is...
Definition: AnalysisResutlsInt.cs:141
IVector _objectiveGradient
Definition: AnalysisResults.cs:198
static void MapCoordinates1d(Field< vec3 > referenceField, Field< vec3 > targetField, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:414
bool IsArrayNull
Definition: ArrayAccessors.cs:52
static int SizeOf(sbyte val)
Returns size of a value of type sbyte, in bytes.
Definition: Utils.cs:1180
int Id
Unique ID for objects of the currnet and derived classes.
Definition: ParallerJobDispatcherBase.cs:1074
PointCloudSampledDataElement()
Constructs a cloud of ponts where points are of vector type.
Definition: PointCloudSampledDataElement.cs:18
bool AddTW(ref List< TWClass > lwriters, string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter from a specific file and adds it to the list of TextWriters on which reporting i...
Definition: ReporterMsg.cs:3797
void Read(string name)
Reads 2D matrix components from a console.
Definition: Matrix2DClass.cs:784
const string AssemblyInfoLoad1
Definition: ScriptAppBase.cs:4301
static int _nextIdThread
Definition: CommandlineApplicationInterpreterBase.cs:1804
int getCharFromEscapeNoCheck(int from, int to, ref char value)
Gets a character represented by an escape sequence at the specified position. If character references...
Definition: StringParser.cs:356
void AddTensorField(TTensorField field)
Adds the specified tensor field to the collection of tensor fields.
Definition: UnstructuredMesh2dGeneric.cs:646
DataMapperIdentity()
Definition: NeuralMapData.cs:958
virtual void EnterRepeatBlock(CommandThread cmdThread, int numRepetitions=1)
Enters a new repeat code block. A new stack frame is added where code is executed,...
Definition: CommandlineApplicationInterpreter.cs:818
string Title
Title when introducing the parameter set, for example as title in documentation, as label in user int...
Definition: IModelParameterSetBase.cs:83
void ClearFunctionInputReady()
Clears the falg that indicates that the reduced approximation input data is ready.
Definition: NeuralFileManager.cs:1084
double Determinant
Returns the determinant.
Definition: MatrixDecompositions.cs:1519
static int DefaultMomentumNum
Default value for number of momentums in neural networks.
Definition: NeuralTrainingParameters.cs:1234
SampledDataCsv(int inputLength, int outputLength)
Construct a new CSV representation of sampled data and data definitions, with numbers of input parame...
Definition: SampledDataCsv.cs:34
static string GetNameSpaceUri(XmlDocument doc, string prefix)
Returns the namespace URI associated with a specific prefix that applies to the specified Xml documen...
Definition: XmlUtilities.cs:1002
AnalysisRequestDto()
Default constructor.
Definition: AnalysisResultsDto.cs:34
static void SetUnit(IVector vec, int which)
Sets the current vector to the specific unit vector (one component equals 1, others are 0).
Definition: VectorBase.cs:963
void Insert(int index, List< char > chList)
Inserts the specified list of characters at the specified position of the buffer.
Definition: StringParserBuffer.cs:215
virtual void SetVariable(string variableName, double value)
Command - sets a double interpreter variable.
Definition: InterfaceInv.cs:306
string PipeClientGetServerResponse(string clientName, string commandLineString)
Sends the specified command to the corresponding pipe serverr and reads and returns its response.
Definition: CommandlineApplicationInterpreter.cs:5736
static string _csvSeparator
Definition: UtilCsv.cs:23
bool IsInitialized
Flag that specifies whether the algorithm has been initialized.
Definition: UtilCryptoAux.cs:734
virtual string RunRepeatSpecificOutputLevel(CommandThread cmdThread, string[] args)
Runs command several times where the first argument is number of repetitions, second argument is comm...
Definition: CommandlineApplicationInterpreter.cs:1669
override void CopyToPlain(ref MappingDefinitionElement obj)
Definition: NeuralMapData.cs:143
CharacterBuffer(StringBuilder sb)
Definition: StringParserBuffer.cs:130
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: VectorBase.cs:873
void AllocateParameters()
Allocates space for parameters.
virtual void AddOrReplace(params ModelParameterType[] parameters)
Adds the specified parameter objects to the currrent parameter set at keys that equal parameter names...
Definition: ModelParameterSetBase.cs:91
double a
Parameter of the Logarithmic spiral, coefficient in its equation r(φ) = a / φ.
Definition: ConicalSpiralHyperbolic3D.cs:31
int Length
Number of elements.
Definition: FieldGeneric.cs:86
bool CheckIfDataColumnsDefined()
Returns a flag defining whether all data columns in the data table are defined.
Definition: SampledDataCsv.cs:1265
abstract double f3(double u, double v)
string _code
Definition: RealFunctionScriptLoader.cs:175
Benchmark tests for ToStringTypeConverterViaJson (memory size and speed).
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:20
double YX
YX component.
Definition: Matrix2DClass.cs:316
static void VectorProductPlain(IVector a, IVector b, IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:2038
T TryGet()
Returns an object from this object store, or null if it is not possible to provide an eligible object...
Definition: UtilObjectStore.cs:194
virtual string CmdEndRepeat(CommandThread cmdThread, string cmdName, string[] args)
Command. Exits the current repeat block, which repeats execution of its body for the specified number...
Definition: CommandlineApplicationInterpreter.cs:3580
override bool ValueDefined
Definition: FunctionRealWeight.cs:683
static void ExecuteSystemCommand(string[] args)
Executes the specified system commmand and blocks until the execution completes.
Definition: CommandlineApplicationInterpreter.cs:1386
VectorDtoBase[] ErrorsTrainingMaxTable
Convergence Table of Maximal errors calculated on training data.
Definition: SerializationDtoNeural.cs:185
bool IsFiniteSupport
Whether penalty function has finite support (meaning that it is 0 for all arguments less than some sp...
Definition: FunctionRealPenalty.cs:183
virtual string CmdExit(CommandThread cmdThread, string cmdName, string[] args)
Execution method that exits the interpreter.
Definition: CommandlineApplicationInterpreter.cs:6178
long Value
Value of the counter.
Definition: Scalar.cs:404
static void MultiplyMatTransp(IMatrix a, IMatrix b, ref IMatrix result)
R=A*B^T. Multiplies a matrix by transpose of another matrix and stores the result in the specified re...
Definition: MatrixBase.cs:2927
abstract void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
void SetEpochErrorsRms(double[] errors)
Sets the list of sampled RMS errors that correspond to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:626
Definition: JsonPrettyPrinter.cs:6
TextWriter Writer
Definition: ReporterMsg.cs:3571
readonly string Command_Else
Definition: CommandlineApplicationInterpreter.cs:648
Exception LastException
Returns the last exception thrown when serving request.
Definition: IpcStreamClientServerBase2.cs:215
Abstract base class for an array-like structures (potentially multidimensional) of number elements (w...
Definition: NumberArrayLikeClass.cs:14
int MaxNumParallelServers
Maximal number of parallel servers allowed to be created for parallel command execution.
Definition: CommandlineApplicationInterpreter.cs:2256
EventHandler BundleCompleted
Event that is fired after completion of each bundle of training epochs (after auxiliary data is updat...
Definition: NeuralApproximatorBase.cs:486
string RunCode(string code, string[] initializationAndRunArguments)
Creates and returns a loadable script object form code. Class name is extracted from code.
Definition: Loader.cs:1628
bool GradientDefined
Whether calculation of function ngradient is defined.
Definition: Function3d.cs:24
WeightPol3(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:476
TcpClient Connect(string hostName, int port, int timeout)
Definition: PortScanner.cs:129
new Vector3d Normalized()
Normalizes this 3D vector.
Definition: Vector3Dclass.cs:421
static readonly PhysicalConstant NuclearMagneton
Nuclear Magneton.
Definition: Constants.cs:454
virtual List< IMatrix > ConstraintHessians
Constraint functions' Hessians (matrices of second derivatives). If CopyReferences=true (false by def...
Definition: AnalysisResults.cs:715
virtual bool IsAnInputReady()
Gets a flag telling whether analysis input data is ready.
Definition: OptFileManager.cs:675
void AddIndexField(TIndexField field)
Adds the specified index field to the collection of index fields.
Definition: UnstructuredMesh3dGeneric.cs:187
Generator of uniformly distributed random numbers. Based on system random generator....
Definition: Random.cs:304
Base class for scalar functions of 3 variables (base for implementation of IFunc3d interface).
Definition: Function3d.cs:130
virtual void PrepareForPulsing()
Performs evantual preparation of data before pulsing is performed.
Definition: WaitConditionFile.cs:78
Example implementation of IIdentifiable interface.
Definition: UtilIdRegistration.cs:254
override string Description
Function description.
Definition: RealFunctionScriptBase.cs:148
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntIEnumerableToStringArrayObjectToIntList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:127
override void PrepareNetworksArray()
Prepares the networks array (allocates it if necessary) for storing all neural networks of the curren...
Definition: NeuralApproximatorAforgeFake.cs:60
static string XPath(XmlNode node, XmlNode basenode)
Returns an XPath expression that uniquely specifies location of an XML node relative to a given ances...
Definition: XmlUtilities.cs:534
override double f3(double u, double v)
Definition: Function3d2d.cs:1286
virtual ElementType Norm()
Definition: VectorBase.cs:428
void RoundTripConversion_ShouldWorkForArrayOfMyClass()
Definition: ToStringTypeConverterViaJsonTests.cs:100
static double _defaultUpperBound
Definition: VectorFunctionScriptController.cs:499
static Exception ReviseException(Exception ex, string messageaddition, Type newtype, bool keepmessage, bool oldasinner)
Takes an existing exception and returns a modified exception based on it.
Definition: ReporterMsg.cs:1772
static int Read(ref Scalar result, string str, int startpos)
Reads a scalar from a string, starting at a specified position and skipping any leading spaces....
Definition: Scalar.cs:250
void SetInterpolation2der(double x1, double y1, double d1, double x2, double y2, double d2)
Initializes the quadratic interpolation function with specified two function values and two approxima...
Definition: FunctionRealInterpolation.cs:433
object ValueObject
Definition: CapturedVar.cs:114
abstract double rhoDerivative
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:31
bool CanSetMaxZero
Whether maximal value for which penalty function is zero can be set.
Definition: FunctionRealPenalty.cs:33
override bool IntegralDefined
Definition: FunctionRealBasic.cs:300
double Determinant
Returns the determinant.
Definition: MatrixDecompositions.cs:931
override PointContainerSampledDataElement CreatePointContainer(SampledDataElement point)
Creates and returns a new point container that wraps the specified point.
Definition: PointCloudSampledDataElement.cs:70
Interface for parsable strings and their genetalizations.
Definition: IParsable.cs:12
void SetMax(int componentIndex, double max)
Sets maximal value for the specified coponent of the bounding box.
Definition: BoundingBox.cs:977
virtual int NumParameters
Gets number of parameters of the current user defined scalar function.
Definition: ScalarFunctionScriptBase.cs:118
StopWatch1 _timer
Definition: WaitCondition.cs:292
bool IsInputFormatString
Whether input format is ordinary string. Returns true if there is no binary format specified,...
Definition: UilCryptoAux1.cs:445
override Vector CreateVector(int length)
Creates and returns a new vector of the specified dimension.
Definition: VectorDto.cs:271
string IGHomeEnv
Environment variable that holds the software root directory.
Definition: App.cs:650
bool UseConsole
Definition: ReporterMsg_Derived.cs:19
bool ValueDefined
Tells whether value of the function is defined by implementation.
Definition: FunctionReal.cs:62
IVector MinAuxiliary
Auxiliary property, gets or sets vector of minimal co-ordinates.
Definition: BoundingBox.cs:404
static new xdouble pi
Ratio of the circumference of a circle to its diameter.
Definition: UtilMath.cs:1575
static bool DefaultIsMultilineResponse
Default pipe name.
Definition: ClientServerStreamBase2_Copy.cs:76
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: IpcNamedPipes.cs:316
static string DefaultServerAddress
Default server address. Setting to null sets it to "." (i.e. the local machine).
Definition: NamedPipes_Copy.cs:467
double _totalTime
Definition: UtilTime.cs:117
static string GetStringSaltedHashSha256Hex(string stringToHash, string salt, int numIterations=0)
Computes and returns the SHA-256 salted hash of the specified string, with the specified number of re...
Definition: UtilCrypto.cs:981
static double acot(double x)
Arc cotangent, inverse of 1/tan(x).
Definition: UtilMath.cs:1228
void Update(params double[] coordinates)
Updates the bounding box in such a way that a vector with the specified co-ordinates fits in it.
Definition: BoundingBox.cs:757
void AppendFunctonDefinition(StringBuilder sb, string functionName, string[] definitionStrings, string returnedVectorName, int numIndents)
Appends to the apecified string builder the C# definition of a function of parameters returning a vec...
Definition: ScalarFunctionScriptLoader.cs:733
static Complex Cosh(Complex x)
Definition: Complex.cs:705
ThreadPriority ThreadPriority
Priority of the dispatcher and contained server threads.
Definition: ParallerJobDispatcherBase.cs:655
virtual double GetNode(int which)
Returns the specified node of the generated grid. If necessary, grid is generated first in order to o...
Definition: GridGenerator1dBase.cs:900
double[] Elements
Vector elements.
Definition: VectorDto.cs:117
static ObjectType LoadBinary< ObjectType >(string fileName)
Loads the from specified file.
Definition: UtilSystem.cs:5583
Definition: UtilMath.cs:1337
void Unregister()
Unregisters the current object if it is currently registered. Can be performed several times,...
Definition: InterpreterCommandLine.cs:84
void getIndices(int index, out int i1, out int i2, out int i3)
Converts linear (contiguous) index to 3 separate indices for 3 dimensions.
Definition: StructuredField3dGeneric.cs:151
virtual bool IsEqualityConstraint(int which)
Returns true if the specified constraint is an equality constraint, and false otherwise.
Definition: AnalysisResults.cs:342
double DistanceFromPoint
Distance to the point containing the current link in its neighbor list.
Definition: PointLink.cs:95
RealFunction(DlgFunctionValue valueDelegate, DlgFunctionValue derivativeDelegate, DlgFunctionValue secondDerivativeDelegate, DlgFunctionHigherDerivative higherDerivativeDelegate, DlgFunctionValue integralDelegate, DlgFunctionValue inverseDelegate)
Constructs a new function where delegates are provided for calculation of function value,...
Definition: FunctionReal.cs:651
HtmlWriter()
Prevent argument-less constructor.
Definition: HtmlWriter.cs:60
int NumConstraints
Number of constraints.
Definition: AnalysisResutlsInt.cs:39
static xdouble Sign(xdouble a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:1774
ResolutionIdentity(string assembly, string requestingAssembly)
Definition: UtilSystem.cs:2705
SampledDataElement[] Data
Gets or sets sampled data, as an array of data elements.
Definition: SampledData.cs:179
void ClearNeuralOutputReady()
Clears the falg that indicates that the approximation output data is ready.
Definition: NeuralFileManager.cs:606
string ToStringShort()
Returns a short form string representation of a complex number.
Definition: Complex.cs:924
Parametric equation of an origin-centered (ellipsoidal) cylindrical surface in form of 3D vector func...
Definition: Function3d2d.cs:891
static double pow2(double x)
Square.
Definition: UtilMath.cs:343
bool IsOutputFormatLongInt
Whether output is in form of long integer.
Definition: UilCryptoAux1.cs:503
static void CopyList< T >(List< T > original, ref List< T > target)
Copies all elements of the specified list to a target list. After operation, target list contains all...
Definition: Utils.cs:626
Definition: GrProperties.cs:17
static string _defaultErrorBegin
Definition: IpcStreamClientServerBase2.cs:55
double Norm
Gets a 2 norm of the current 2D vector.
Definition: Matrix2D.cs:125
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:1313
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
Definition: Sphere.cs:31
static double Min(params double[] numbers)
Minimal of the specified values.
Definition: UtilMath.cs:958
CommandLineApplicationInterpreter TestInterpreter
Application interpreter for running test scripts.
Definition: ApplicationCommandLineBase.cs:183
bool HasInfos()
Returns true if logger contains any info logs false otherwise.
Definition: LoggerMsg.cs:399
override int Compare(SampledDataElement el1, SampledDataElement el2)
Compares two data elemets and returns -1 if the first element is smaller than the second,...
Definition: SampledData.cs:969
String AuthorAddress4
Definition: App.cs:861
double Argument
Alias for the property Phi. Avoid using this alias.
Definition: Complex.cs:218
void Optimize()
Performs optimization using initial data and problem definition contained in this object.
GridGenerator1d(double from, double to, int numNodes, double growthFactor)
Creates a 1D grid generator. Grid intervals can grow or fall in geometrical series from the lower bou...
Definition: GridGenerator1d.cs:79
string _networkRelativePath
Definition: NeuralApproximatorBase.cs:1286
double Momentum
Gets or sets momentum.
Definition: NeuralApproximatorBase.cs:93
override bool ValueDefined
Tells whether value of the function is defined by implementation. Getter returns true if internal fla...
Definition: FunctionReal.cs:969
static void Multiply(IMatrix a, IMatrix b, IMatrix result)
R=A*B. Multiplies two matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:2686
static color ScaleYellow(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:693
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: OpenBracketStrategy.cs:10
string RunFile(string filePath, string className, string[] initializationArguments, string[] runArguments)
Executes a loadable script form a file. The file must contain definition of the loadable script class...
Definition: Loader.cs:1711
readonly ITestOutputHelper _testOutputHelper
Definition: TestBase.cs:76
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealBasic.cs:454
~CommandLineInterpreter()
Definition: InterpreterCommandLine.cs:358
Base class for one parametric families of real-valued functions of single variable....
Definition: FunctionRealParametric.cs:127
Definition: CloseBracketStrategy.cs:3
static int SizeOf(long val)
Returns size of a value of type long, in bytes.
Definition: Utils.cs:1198
List< IVector > ErrorsVerificationRmsList
Convergence List of RMS errors calculated on verification data.
Definition: NeuralTrainingParameters.cs:507
double GetReferenceCellValue(int cellIndex)
Returns the reference value (in the interval [0, 1]) corresponding to the specified cell in the discr...
ParallelJobServerBase()
Definition: ParallelJobServerBase.cs:42
string _name
Definition: FunctionReal.cs:176
AnalysisScript()
Definition: LoadableScriptOpt.cs:231
string GetInputFieldValue(int fieldId, string fieldName)
Returns value of the sepcified input field.
Definition: SimKosecFileManagerBase.cs:1200
bool ModuleInitializationCoreCalled
Definition: App.cs:793
Cartesion parameterization of a curve in 3D. Beside the Curve and (optional) CurveDerivative,...
Definition: ICurve3DParameterizationWithBounds.cs:18
static double TestComputationalTimesLdlt_Base(int numEq, int outLevel, bool testProduct=false)
Test of Ldlt decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:772
string GetNetworkFilePath(string fileOrDirectoryPath, int whichNetwork)
Returns an absolute path to the file for storing the specified neural network contained on the curren...
Definition: NeuralApproximatorBase.cs:1253
readonly ToStringTypeConverterViaJson toJson
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:31
IVector InitialStep
Gets or sets initial step used in optimization.
Definition: OptimizationInputData.cs:55
bool SuppressInteractive
Indicates that the interactive mode is temporarily represset.
Definition: CommandlineApplicationInterpreterBase.cs:2040
virtual color GetReferenceColor(double referenceValue)
Returns the color from the current color scale that corresponds to the specified value in the referen...
Definition: ColorScale.cs:477
bool IsKey(string str, string keyString)
Returns true if the specified string represents the specified keyword.
Definition: SampledDataCsv.cs:353
Generalzed multivariate RosenBrock function for Dim >= 2.
Definition: FunctionScalarExamples.cs:698
void PushJsonArrayType()
Definition: PPScopeState.cs:67
CommandLineJobContainer GetParallelCommandData(int id)
Returns the command data object of the parallel command that with the specified ID.
Definition: CommandlineApplicationInterpreter.cs:2062
string Name
Returns the name of the current node.
Definition: XmlUtilities.cs:1338
static void TestSpeedBlockCreateRemoveLatence(string filePath)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1079
string Path
Get or set path of the file on which the particular event is waited for.
Definition: WaitConditionFile.cs:995
string RunFile(string filePath, string[] initializationArguments, string[] runArguments)
Executes a loadable script form a file. The file must contain definition of the loadable script class...
Definition: Loader.cs:1728
static volatile Mutex _mutexGlobal
Definition: Utils.cs:82
SortedList< string, TField > Fields
Definition: FieldCollectionGeneric.cs:173
color GetDiscreteReferenceColor(double referenceValue)
Returns a color from the DISCRETE color scale represented by the current object that corresponds to h...
override bool Equals(object obj)
string IndependentVariableName
Name of variable (within functions in the loadable scripts) that holds the independent variable....
Definition: RealFunctionScriptLoader.cs:269
static double Product(params double[] numbers)
Product of the specified values.
Definition: UtilMath.cs:968
static string GetExecutableInfo(int infoLevel=3, int versionLevel=0)
Returns a (possibly multiline) string containing basic information about the current executable,...
Definition: UtilSystem.cs:3250
virtual void DeleteOutputFiles()
Deletes the output files.
Definition: SimKosecFileManagerBase.cs:1386
static void Divide(IVector a, double scal, IVector result)
Division of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1830
A RealFunction class representing a constant function.
Definition: FunctionRealBasic.cs:511
void Init()
Definition: FunctionReal.cs:1250
object _mainLock
Definition: ScalarFunctionScriptLoader.cs:36
Contains speed testng utilities, mainly as static methods. These usually perform calculations whose e...
Definition: UtilSpeedTesting.cs:47
const string AttributeTextDirection
The text direction attribute. Specifies text direction for the content in an element.
Definition: HtmlWriter.cs:33
ModelParameter(string name, Type type, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=DefaultIsDefaultWhenValueNotDefined)
Minimal constructor that only defines parameter's name and type, and some flags with default values s...
Definition: ModelParameter.cs:67
IMatrix GetNewMatrix()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
override int Id
Unique ID for objects of the currnet and derived classes.
Definition: CommandlineApplicationInterpreterBase.cs:148
bool _useJint
Definition: CommandlineApplicationInterpreter.cs:1482
static void AddDefaultAssemblies(params string[] assemblies)
Add the specified assemblies (just their names) to the list of assemblies that are referenced by newl...
Definition: Loader.cs:316
static string _defaultKeyOptimizationIndices
Definition: SampledDataCsv.cs:318
int _errorCode
Definition: FunctionScalarResults.cs:74
A data transfer object (DTO) for neural approximation classes that implement the INeuralApproximator ...
Definition: SerializationDtoNeuralApproximator.cs:22
static string GetPageTitle(string link)
Definition: PortScanner.cs:199
int AddPenaltyFunction(IRealFunctionPenalty func)
Adds a new penalty function for evaluation of penalty terms to the list.
Definition: AnalysisResults.cs:2595
const string NeuralInputXmlFilename
Default file name of neural networks approximation input file in XML format.
Definition: NeuralFileConst.cs:77
static void LoadJson(string filePath, ref SampledDataSet dataDefRestored)
Restores sampled data from the specified file in JSON format.
Definition: SampledData.cs:1101
virtual void UserSaveUserDefinitions(bool append)
Saves or appends the all valid user definitions added to the evaluator up to this point....
Definition: ExpressionEvaluatorCompiled.cs:485
override IVector Parameters
Gets or sets parameters that define the specific function out of parametric familiy of scalar functio...
Definition: FunctionScalarRadial.cs:318
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: NeuralTrainingParameters.cs:370
override void CreateNetwork()
Creates the neural network anew. It the network already exists on the current object,...
Definition: NeuralApproximatorAforgeFake.cs:50
ExampleIRegistrable(string str)
Definition: UtilIdRegistration.cs:304
object ConvertRectangularToJagged(Array sourceArray, Type targetType)
Converts a rectangular array to a jagged array with matching shape and converted values.
Definition: CollectionTypeConverter.cs:328
virtual string ToStringNewlines(string elementFormat)
Returns a string representation of this matrix with newlines inserted after each row,...
Definition: MatrixBase.cs:5124
int NumPoints
Gets the current number of points on the list.
Definition: PointCloud.cs:117
Base class for graphic line primitive.
Definition: GraphicalObjectsBase.cs:339
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArrayToIntListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:193
static void Negate(Matrix2d m, ref Matrix2d res)
Negates the specified 2D matrix and stores its copy in the resulting matrix.
Definition: Matrix2DClass.cs:652
StructuredMeshGeometry2d(int dim1, int dim2, string fieldName)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:38
override string ToString()
Definition: SampleClasses.cs:269
virtual string ProcessFunctionListProcesses(string appName, string[] args)
Embedded application - lists all processes that satisfy the specified conditions.
Definition: ScriptAppBase.cs:4555
virtual string Script_DefaultRun(string[] arguments)
Default run method for the script. Can be used when only installed commands are run by hte script.
Definition: LoadableScriptBase.cs:327
virtual string RunRepeatSilent(CommandThread cmdThread, string[] args)
Runs command several times where the first argument is number of repetitions, second argument is comm...
Definition: CommandlineApplicationInterpreter.cs:1656
void Read()
Reads 3D vector components from a console.
Definition: Matrix3D.cs:349
override double Derivative(double x, int order)
Returns the derivative of the given order of this function at the specified parameter.
Definition: FunctionRealBasic.cs:437
int EpochsInBundle
Definition: SerializationDtoNeuralApproximator.cs:68
ExampleIIdentifiable(string str)
Definition: UtilIdRegistration.cs:256
virtual bool IsCompiled
Whether the code is compiled.
Definition: Loader.cs:945
RealFunctionParametricBase(IVector parameters)
Cobnstructor. Creates a new parametric real-valued functions of single variable with the specified pa...
Definition: FunctionRealParametric.cs:259
void AppendFunctonDefinition(StringBuilder sb, string functionName, string[][] definitionStrings, string returnedVectorName, int numIndents)
Appends to the apecified string builder the C# definition of a function of parameters returning a vec...
Definition: ScalarFunctionScriptLoader.cs:787
string ResponseString
The last answer string that was written to the pipe.
Definition: IpcStreamClientServerBase2.cs:142
Implements blocking until the specified directory is created (becomes existent). Directory is specifi...
Definition: WaitConditionFile.cs:1484
static string ToStringReadable(this IMatrix mat, int accuracy=4, int padding=8)
Easily readable string form of a matrix, accuracy and padding can be set.
Definition: MatrixBase.cs:247
const int FirstChildIndex
Defines the index of the first child node as used in XPath expressions.
Definition: XmlUtilities.cs:500
@ SHA256
Specifies the SHA256 hashing algorithm.
static void AddOnThreadPriorityChange(ThreadStart onPriorityChangeMethod)
Adds the specified method that is executed when the global thread priority changes.
Definition: UtilSystem.cs:2095
virtual int Position
Definition: ParserBase.cs:26
string[][] HessianDefinitionStrings
Expressions that define function hessian components.
Definition: ScalarFunctionScriptLoader.cs:491
Definition: ReflectionTypeConverterTests.cs:161
static void ExportMaterial(string filePath, vec3 color)
Definition: MeshExportExtensions_05.cs:50
virtual string[] GradientDefinitionStrings
Gradient definition strings (separately for each gradient component).
Definition: ScalarFunctionScriptController.cs:249
int OutputLength
Number of output values in sampled data elements. Less than 0 means unspecified.
Definition: SampledData.cs:235
virtual IVector GetGradient()
Returns the function gradient.
Definition: FunctionScalarResults.cs:275
virtual string CodeBlockEnd
String that ends a code block in interpreted files.
Definition: InterfaceInterpreterBase.cs:282
void TypeConversionHelper_RoundTripConversion_NonintegerDoubleToIntObjectToInt_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:144
Matrix3d(Vector3d rowx, Vector3d rowy, Vector3d rowz)
Initializes 3D matrix structure with the specified components.
Definition: Matrix3DClass.cs:58
bool IsInitialized
Whether the object has been initialized or not.
Definition: LoadableScriptBase.cs:111
List< GraphicPrimitive > _primitives
Definition: GrObjects.cs:161
static StructuredSurfaceMesh3D Generate(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numT, int numTheta)
Definition: TubularMeshGenerator_04.cs:13
Complex Sin()
Definition: Complex.cs:765
bool _isLargestKey
Definition: UilCryptoAux1.cs:339
const string AssemblyHelpResourcesResx
Definition: ScriptAppBase.cs:4003
string _outputDirpath
Definition: SimKosecFileManagerBase.cs:274
DO NOT USE! The base class implementing the IVarType interface.
Definition: Vartypes.cs:29
override MappingDefinition CreateObject()
Definition: NeuralMapData.cs:181
string ServerAddress
Server address.
Definition: IpcNamedPipes.cs:489
static double NormPStatic(IVector a, double p)
Returns the p-norm (p-th root of sum of absolute values of components raised to the power of p) of th...
Definition: VectorBase.cs:618
static double arctg(double a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:477
virtual double GetMaximalResidual()
Returns sum of constraint function values corresponding to violated constraints in the current analys...
Definition: AnalysisResults.cs:1536
void IncreaseDepth()
Increases indentation level by 1.
Definition: ReporterMsg.cs:2577
void NotifyJobFinished(ParallelJobServerBase< JobContainerType > server, JobContainerType job)
Notifies the current dispatched that the specified job has started on the specified server.
Definition: ParallerJobDispatcherBase.cs:827
static double NormWeightedPlain(IVector a, IVector characteristicLengths)
Returns weighted Euclidean norm of the specified vector.
Definition: VectorBase.cs:781
Defines the Klein's bottle (a parametric surface), a closed surface with no interior and exterior.
Definition: Function3d2d.cs:1561
static readonly PhysicalConstant p
pico- (p), SI prefix for 10^-12.
Definition: Constants.cs:761
virtual void SetVariable(string variableName, IVector value)
Command - sets a vector interpreter variable.
Definition: InterfaceInv.cs:342
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system represented by the current decomposit...
Definition: MatrixDecompositions.cs:52
override bool SecondDerivativeDefined
Definition: FunctionReal.cs:1371
void NotifyJobAborted()
Notifies all interested parties that job has been aborted.
Definition: ParallelJobServerBase.cs:282
FieldCollection< TVectorField, TVector > _vectorFields
Definition: UnstructuredMesh2dGeneric.cs:371
virtual void SaveUserDefinitions(string filePath, bool append)
Saves or appends to the specified file all valid user definitions added to the evaluator up to this p...
Definition: ExpressionEvaluatorCompiled.cs:473
bool RequestedConstraintGradients
Flag indicating whether calculation of constraint function gradients is required or not.
Definition: AnalysisResultsDto.cs:98
bool StoreEligible(T obj)
Stores the specified object in the store. WARNING: Throws ArgumentException if the specified object i...
Definition: UtilObjectStore.cs:172
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:278
void Log(ReportType messagetype, Exception ex, string location)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:631
TScalarField GetScalarField(string name)
Returns scalar field with the specified name.
Definition: UnstructuredMesh1dGeneric.cs:272
bool CompareByTrainingRmsError
Whether training RMS errors from convergence tavble are compared.
Definition: NeuralTrainingParameters.cs:2936
IMatrix Solve(IMatrix B)
Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-h...
Definition: MatrixDecompositions.cs:279
static readonly PhysicalConstant EarthVolume
Earth volume, 1.0832073e12 km^3.
Definition: Constants.cs:1440
static xdouble arctg2(xdouble a, xdouble b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1654
string _certificatePassword
Definition: UilCryptoAux1.cs:269
double rhoDerivative
3D vector function of scalar argument, which represents the derivative of CurveCylindrical with respe...
Definition: ICurve3DCylindricalParameterization - Copy.cs:24
static string GetAssemblyAssemblyName(Assembly assembly)
Returns assembly name of the specified assembly.
Definition: UtilSystem.cs:3050
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: IpcNamedPipes.cs:603
virtual string[] ParameterNames
Names of function parameters.
Definition: ScalarFunctionDto.cs:87
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: IdGenerator.cs:45
void GetErrorsVerificationMeanAbs(ref IVector errors)
Calculates the mean absolute errors of output values for the verification elements of the training se...
Generic base class for Data Transfer Objects (DTO). This class is used as template for producing conc...
Definition: SerializationDtoBase.cs:461
virtual string CmdRunInteractive(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs interpreter commands interactively. Reads commands one by one from console and executes...
Definition: CommandlineApplicationInterpreter.cs:4411
PipeClientBase(string pipeName, string serverAddress)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: IpcPipes.cs:410
override NeuralTrainingParameters CreateObject()
Creates and returns a new object of the corresponding type.
Definition: SerializationDtoNeural.cs:312
abstract StreamReader InputStream
Input stream writer of the server's named pipe.
Definition: ClientServerStreamBase2_Copy.cs:176
static double Tanh(double a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:1270
double _totalCpuTime
Definition: UtilTime.cs:105
abstract void AddCommand(string commandName, TCommand command)
static readonly PhysicalConstant ElementaryCharge
Elementary electric charge, the electric charge of a proton.
Definition: Constants.cs:432
static void ExampleTableFactors()
Examples for calculating table factors.
Definition: GridGenerator1dBase.cs:626
static AsymmetricAlgorithmType GetAsymmetricAlgorithmType(string typeString)
Returns the AsymmetricAlgorithmType value corresponding to the specified string.
Definition: UtilCrypto.cs:3773
string TextWriterProgramName
String denoting the name of the program or other entity that uses the Reporter for logging....
Definition: ReporterMsg.cs:3998
override bool ValueDefined
Whether calculation of value is implemented for the current scalar function.
Definition: ScalarFunctionScriptBase.cs:164
const string AttributeTitle
The style attribute. Specifies extra information about an element.
Definition: HtmlWriter.cs:30
void ReportError(string message)
Launches an error report.
Definition: ReporterMsg.cs:3309
bool HasMinimum
Returns true if this cubic function has a strict minimum.
Definition: FunctionRealInterpolation.cs:1370
virtual void SetConstraintHessian(int which, int rowIndex, int columnIndex, double value)
Sets the specified component of the specified constraint's Hessian.
Definition: AnalysisResults.cs:794
object fileOperationLock
Lock for file creation and removal operations.
Definition: WaitConditionFile.cs:1248
string GetWarningsReport()
Returns a string that contains reports for all warnings contained in the logger. If there are no logs...
Definition: LoggerMsg.cs:572
static void GenerateCoordinatesPlain(Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to ...
Definition: FieldGeneric.cs:851
static void SetUsername(string username)
Sets name of the current user. This method is provided to enable testing code under another user name...
Definition: UtilSystem.cs:104
void WaitAllJobsCompleted()
Waits for job completion.
Definition: ParallerJobDispatcherBase.cs:444
virtual Func2dBase Component3
Returns the scalar function that represents the third component of the current 3D vector function of ...
Definition: Function3d2d.cs:472
static void GenerateCoordinates2dPlain(Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D unstructured grid embedded in 3D from a regular grid with grid directio...
Definition: FieldGeneric.cs:972
RealFunction()
Definition: FunctionReal.cs:575
static Vector3d Create(IVector vec)
Constructs a 3D vector as a copy of another IVector object.
Definition: Vector3Dclass.cs:278
virtual color GetDiscreteReferenceColor(double referenceValue)
Returns a color from the DISCRETE color scale represented by the current object that corresponds to h...
Definition: ColorScale.cs:576
Func< TSource, TTarget > ConversionDelegate
Definition: SingleTypeConverterFromDelegate.cs:21
const string ArgString
Specification of string that is worked follows.
Definition: UtilCryptoAux.cs:544
static double Sinh(double a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:493
const string MsgOptBusyFilename
Default file name for optimization busy flag.
Definition: OptFileConst.cs:54
void Init()
Initializes all error reporting delegates to default values and sets auxliary object to null....
Definition: ReporterMsg.cs:1401
override IVector Parameters
Gets or sets parameters that define the specific function out of parametric familiy of functions....
Definition: FunctionRealParametric.cs:169
const string DefaultExportPathIGLib
Default export path for tests that generate output. Specified relative to the currennt directory of t...
Definition: TestBase.cs:29
static int MaxLaunchedBinayFormattingConsoleWarnings
Definition: UtilSystem.cs:5528
WeightPol7(double Kx, double Sx)
Definition: FunctionRealWeight.cs:1043
double fi
Phase shift 1 (y direction).
Definition: LissajousCurve3D.cs:50
virtual void WriteAnalysisOutputJson(string filePath, AnalysisResults anpt)
Stores analysis output data to the specified file in the JSON format Does not perform any locking.
Definition: OptFileManager.cs:1070
Base class for client and server classes with stream-based communication.
Definition: ClientServerStreamBase_Copy.cs:32
static double TestComputationalTimesLU(int numEq, int outLevel, bool testProduct)
Test of LU decomposition.
Definition: TestSpeed.cs:74
@ m
Metre, an SI unit for length.
IVector ReferencePoint
Reference point in the space of output values.
Definition: SampledData.cs:936
const string AssemblyLoaded
Definition: ScriptAppBase.cs:4248
static readonly PhysicalConstant MoonAlbedo
Moon average albedo, 0.12.
Definition: Constants.cs:1644
int OutputLevel
Output level the current object.
Definition: ParallelJobServerBase.cs:74
static double DefaultToleranceMaxRelativeToRangeScalar
Default value for the tolerance on max. abs. error, relative to the output range.
Definition: NeuralTrainingParameters.cs:64
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: MatrixBase.cs:767
virtual string CmdNameDWrite
Command name - analyse.
Definition: InterfaceInv.cs:94
XmlNode NextOrCurrentNode(string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2223
override void LaunchInitNotice()
Launches initialization notice.
Definition: App.cs:113
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray3DToStringArray3DObjectToIntArray3D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:463
double[] _coefficients
Definition: FunctionReal.cs:1264
IGraphicPrimitive GetChildPrimitive(int i)
Returns the specified child graphic primitive contained in the current graphic set.
Definition: GraphicalObjectsBase.cs:59
LoadableScalarFunctionBase Function
Scalar function (of type IScalarFunction) created on basis of definition in this DTO.
Definition: ScalarFunctionScriptController.cs:738
double a
Parameter of the Fermat's spiral, coefficient in its equation r(φ) = a * Sqrt(φ).
Definition: ConicalSpiralFermats3D.cs:32
static RealFunction GetReciprocalPower(int power, double Kx, double Sx)
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:206
InterpreterVariable GetFiestLocalOrGlobalVariable(CommandThread cmdThread, string value)
Definition: CommandlineApplicationInterpreter.cs:475
ParallelJobDispatcherBase()
Definition: ParallerJobDispatcherBase.cs:45
double _sigmoidAlphaValue
Definition: NeuralApproximatorBase.cs:602
Matrix U
Returns the upper triangular factor.
Definition: MatrixDecompositions.cs:384
static IEnumerable< string > SplitCommandLine(string commandLine)
Definition: CommandLineParserSimple.cs:65
abstract string Name
Definition: ClientServerStreamBase2_Copy.cs:29
virtual void Register(InfoType typeData)
Registeers the specified type information (typeData ) under the registered type's (TypeInfoBase....
Definition: DerivedTypesRegistry.cs:69
void AddServer(ParallelJobServerBase< JobContainerType > server)
Adds the specified server to the current dispatcher.
Definition: ParallerJobDispatcherBase.cs:72
const string ConstHelpProcess
Definition: ScriptAppBase.cs:349
bool _isKeysCaseSensitive
Definition: SampledDataCsv.cs:339
HyperboloidParametric2(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1168
double c
Definition: Function3d2d.cs:1125
Simple class using for testing serialization.
Definition: SerializerBase.cs:572
String AuthorSecondName
Definition: App.cs:857
static int CsvColumnIndex(string[][] values, string fieldName)
Returns index of thr column that contains data with the specified name in a 2D jagged array of values...
Definition: UtilCsv.cs:85
static double Average(IVector sample)
Returns mean value of the specified sample.
Definition: UtilMath.cs:79
static string GetUserDomainName()
Returns the domain name associated with the current user.
Definition: UtilSystem.cs:232
bool _appFileCommandsInitialized
Definition: ScriptAppBase.cs:976
void Exapmle_CreateLightingDefinition()
Definition: LightSource.cs:95
const int MM
Definition: App.cs:555
static double Min(double a, double b, double c)
Smallest of three numbers.
Definition: UtilMath.cs:890
TTensorField ActiveTensorField
Gets active tensor field. Has protected setter.
Definition: UnstructuredMesh3dGeneric.cs:544
virtual void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
Definition: FunctionScalarResults.cs:206
double ScaleX
Gets or sets the scaling factor for independent variable.
Definition: FunctionReal.cs:846
Base class for named pipe servers and clients, contains common stuff for both.
Definition: ClientServerStreamBase2_Copy.cs:19
List< DataColumnDefinition > InputColumnDefinitions
Contains definitions for input data columns, sorted by element indices.
Definition: SampledDataCsv.cs:1226
long ToInteger(double tolerance=0.0)
Definition: Complex.cs:339
override void CopyFromPlain(VectorFunctionResults vectorFunctionRes)
Copies data to the current DTO from an vector function results object.
Definition: VectorFunctionResultsDto.cs:67
override bool HasDerivativePolar
Definition: ConicalSpiralHyperbolic3D.cs:43
static int MaxWarnCpu
Definition: UtilTime.cs:131
void Update(params IVector[] points)
Updates the bounding box in such a way that all specified vectors fit in it.
Definition: BoundingBox.cs:741
Base class for classes of type CommandStackFrame{InterpreterType, ThreadType}see cref=""/>....
Definition: CommandlineApplicationInterpreterBase.cs:896
int NumLastErrors
Number of last errors in convergence list for calculataing the mean value of error....
Definition: NeuralTrainingParameters.cs:2909
2D tables of data represented by strings. Maps to CSV files.
Definition: StringTable.cs:39
static string _defaultErrorBegin
Definition: ClientServerStreamBase2_Copy.cs:127
float R
Definition: ColorRGBA.cs:9
TraceSwitch ReportingSwitch
Gets or sets the TraceSwitch that is synchronized with ReportingLevel. IMPORTANT: State of the object...
Definition: ReporterMsg.cs:2970
void SetBounds(double minX, double maxX, double minY, double maxY)
Sets the bounds.
Definition: Function3d2d.cs:756
BoundingBox2d(IBoundingBox bounds)
Constructs a 2D bounding box of the specified dimension and initializes it in such a way that its bou...
Definition: BoundingBox.cs:1699
virtual ScalarFunctionLoader GetFunctionLoader()
Returns the loader that can create a scalar function according to the definition from the current DTO...
Definition: ScalarFunctionScriptController.cs:716
StringBuilder StringBuilderInternal
Definition: IpcStreamClientServerBase.cs:74
bool IsElementTypeKey(string str)
Returns a value indicating whether the specified string is a keyword indicating a specific value (e....
Definition: SampledDataCsv.cs:378
static int SizeOf(uint val)
Returns size of a value of type uint, in bytes.
Definition: Utils.cs:1195
static RealFunction GetWeightPol3(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object. Reference function: bell like fu...
Definition: FunctionRealWeight.cs:437
MathNet.Numerics.LinearAlgebra.Double.DenseVector Vector_MathNetNumerics
Definition: MatrixDecompositions.cs:19
void SetZero()
Sets all components of the current matrix to 0.
List< CommandLineJobContainer > ParallelCommands
List where parallel commands are stored.
Definition: CommandlineApplicationInterpreter.cs:2036
string _saltString
Definition: UtilCryptoAux.cs:747
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
Definition: MatrixDecompositions.cs:1272
string ConstAttributeShortcutKey
The shortcut key attribute. Specifies a shortcut key to activate/focus an element.
Definition: HtmlWriter.cs:104
StructuredMesh3D_02(int numPoints1, int numPoints2, double[] params1, double[] params2)
Definition: StructuredMesh3D_02.cs:22
int _errorCode
Definition: FunctonVectorResults.cs:114
const string VarNameInverseDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: RealFunctionScriptLoader.cs:138
override vec3[] Coordinates
Definition: GrObjects.cs:463
static int DefaultNumHiddenNeuronsSecondNum
Default value for number of hidden neurons in second hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1279
virtual void AppendCommandArgument(double value)
Appends a double argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:583
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:185
static string GetParametersStringPlain(string[] parameters)
Returns a string representation of the list of parameters, separated by commas but not embedded in an...
Definition: UtilString.cs:119
override void InitDynamic()
Initialization of variables that are used by dynamic loading mechanisim. This function must be overri...
Definition: ScalarFunctionScriptExample.cs:51
NamedPipeClientStream ClientPipe
Named pipe used for communication by the server.
Definition: IpcNamedPipes.cs:524
virtual VectorDtoBase InputParameters
Vector of input parameters of a single data element.
Definition: SampledDataDto.cs:39
string TypeString
Definition: CapturedVar.cs:126
static double Pow3(double x)
3rd power.
Definition: UtilMath.cs:1080
IVector _lastCalculationOutputValues
Definition: VectorApproximatorBase.cs:60
BoundingBox3d(double[] coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1550
void SetElement(int rowNumber, int columnNumber, string element)
Sets element at the specified position to the specified value.
Definition: StringTable.cs:207
override double f3(double u, double v)
Definition: Function3d2d.cs:1187
color GetCellColor(int cellIndex)
Returns the (discrete) color corresponding to the specified cell index. If the index is out of range ...
static bool operator!=(BaseClass lhs, BaseClass rhs)
int Compare(Counter a, Counter b)
Definition: Scalar.cs:476
static string ToStringMath(bool value)
Returns a atring representation of a boolean value: "0" for false and "1" for true.
Definition: AnalysisResults.cs:1593
static void Example()
A short example of how to use mat2 and vec2 structs.
Definition: Matrix2D.cs:923
static Assembly GetAssemblyByName(string assemblyName, bool caseSensitive=false, bool loadIfNecessary=true, bool byFileName=false)
Finnds and returns assembly specified by file name.
Definition: UtilSystem.cs:2198
static void Example_Export_02()
Definition: TubularSurfaceExamples.cs:100
void Dispose()
Definition: ReporterMsg.cs:1480
static int _defaultSleepTimeMs
Definition: ParallerJobDispatcherBase.cs:1079
string KeyDiscretizationSteps
A keyword string that introduces variable discretization steps in the CSV file containing sampled dat...
Definition: SampledDataCsv.cs:805
override IRealFunction Function
Gets or sets a real-valued function of one variable that defines the current radial function....
Definition: FunctionScalarRadial.cs:302
static string ToStringMath(IVector vec, string elementFormat)
Returns a string representation of the current vector in a standard IGLib form (Mathematica-like form...
Definition: VectorBase.cs:255
static bool TryParse(string str, ref Counter result)
Parses a counter from a string and returns it. Leading and trailing spaces are ignored,...
Definition: Scalar.cs:663
void SetServersSleepTimeMs(int sleepTimeMs)
Sets sleeping time in milliseconds on all servers assigned to the current parallel job dispatcher.
Definition: ParallerJobDispatcherBase.cs:157
void Remove(params string[] keys)
Removes parameter objects at the specified keys. If any of the specified keys is not contained in the...
static void ArrayQuotient(IVector a, IVector b, ref IVector result)
Calculates array quotient (element-by-element division) of two vectors and stores the result in the s...
Definition: VectorBase.cs:2164
Information about optimization data and algorithm parameters.
Definition: OptimizationInputData.cs:261
void SetConstraintGradientsReference(List< IVector > reference)
Sets constraint function gradients. Only the list reference is copied.
string Description
Description of the parameter set, usually a short one, as it may be used in documentation describing ...
Definition: IModelParameterSetBase.cs:87
UmbilicTorus()
Definition: Function3d2d.cs:1492
ComponentFunctionBase(IFunc3d2d func)
Definition: Function3d2d.cs:486
static void Scale(IVector a, double scal, IVector result)
Multiplication of a vector by a scalar. Vector operand must be defined (non-null).
Definition: VectorBase.cs:1779
virtual void FileAnalysis(string analysisCommand, string analysisInputPath, string analysisOutputPath)
Command - runs an external analysis program that exchanges intoermation through files....
Definition: InterfaceInv.cs:413
MissingAssembly(string missingAssemblyName, string missingAssemblyNameParent)
Definition: UtilSystem.cs:2537
int _indexOfLastNumStoredParameters
Definition: CommandlineApplicationInterpreterBase.cs:1992
override Matrix CreateMatrix(int rowCnt, int columnCnt)
Creates and returns a new matrix of the specified dimension.
Definition: MatrixDto.cs:300
static void LoadJson(string filePath, ref NeuralTrainingParameters trainingParametersRestored)
Restores (deserializes) a training parameters object from the specified file in JSON format.
Definition: NeuralTrainingParameters.cs:915
override void CopyToPlain(ref VectorFunctionResults vectorFunctionRes)
Copies data from the current DTO to a vector object.
Definition: VectorFunctionResultsDto.cs:93
int NumFunctions
Number of functions.
Definition: FunctionVectorResultsInt.cs:35
static bool IsApplicationRunning(string processName)
Returns true if at least one application with the specified process name is running,...
Definition: UtilSystem.cs:1151
static void Examples()
Uses the current factory to generate a couple of JSON serialized options, and outputs the resulting o...
Definition: JsonSerializationOptionsFactory.cs:143
Abstract base implementation of ISingleTypeConverter<TSource, TTarget>. Sets SourceType and TargetTyp...
Definition: SingleTypeConverterBaseGeneric.cs:17
Matrix2d Add(Matrix2d a)
Returns sum of the current matrix and the specified matrix.
Definition: Matrix2DClass.cs:605
static void MultiplyPlain(IMatrix a, double b, IMatrix result)
Multiplies matrix by scalar and stores the result in the specified result matrix. This is a plain ver...
Definition: MatrixBase.cs:4308
string _csvSeparator
Definition: SimKosecFileManagerBase.cs:264
static void ExportMaterial_04(string filePath, vec3 color)
Definition: MeshExportExtensions_04.cs:50
override bool IsEligible(T vec)
Returns true if the specified Vector is eligible for storage in the current store,...
Definition: VectorBase.cs:3270
static Complex operator-(Complex c1, Complex c2)
Defines the binary operator - for subtraction of two complex numbers.
Definition: Complex.cs:549
override void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating function Hessian, just throws the NotImplementedException exception.
Definition: Function2d.cs:106
ScalarFunctionRadialOneParametric(IRealFunctionOneParametric function, IVector parameters)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:251
string ClearVariable(CommandThread commandThread, string varName)
Clears (removes) the specified variable.
LoadableScalarFunctionBase GetFunction()
Returns a scalar function that is created from the funciton definitio on the current function DTO.
Definition: ScalarFunctionScriptController.cs:732
override NeuralTrainingTable CreateObject()
Creates and returns a new object of the corresponding type.
Definition: SerializationDtoNeural.cs:1089
void AddKeywords(params string[] keywords)
Adds the specified keywords to the document (keywords are written as meta tag).
Definition: HtmlWriter.cs:243
static string ToString(IMatrix mat, string elementFormat)
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:5019
UnstructuredMesh1d3d()
Constructs a new empty 1D (unconnected) unstructured grid (no elements contained) with no name and no...
Definition: UnstructuredMesh1d3d.cs:28
static string ToString< T >(IList< T > elementList)
Creates and returns a stirng representation of a list of items.
Definition: Utils.cs:940
static Vector3d Random()
Generates 3-dimensional vector with random elements uniformly distributed on [0, 1).
Definition: Vector3Dclass.cs:298
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:482
IVector _initialStep
Definition: OptimizationInputData.cs:212
static void AddPlain(IMatrix a, IMatrix b, IMatrix result)
Sums two matrices and stores the result in the specified result matrix. Operation can be performed in...
Definition: MatrixBase.cs:2269
static readonly PhysicalConstant one
Factor of 1 (1), 10^0.
Definition: Constants.cs:630
double Distance(PointType pt1, PointType pt2)
Returns distance between the specified two points.
String AuthorAddress1
Definition: App.cs:858
Definition: IGLibCoreReflectionTests.cs:13
virtual string CryptoFunctionCleanFiles(string appName, string[] args)
Executes embedded application - conversion between different representations of data.
Definition: ScriptAppBase.cs:1638
Alternative parameterization of an origin-centered hyperboloid surface (x^2/a^2+y^2/b^2-z^2/c^2=1) in...
Definition: Function3d2d.cs:1248
Base class for client and server classes with stream-based communication.
Definition: IpcStreamClientServerBase.cs:27
Definition: IGLibCoreReflectionTests.cs:17
Dynamically generates IRealFunction classes from user definitions. User can define in string form how...
Definition: RealFunctionScriptLoader.cs:22
override CommandStackFrameBase GetStackFrameBase(int level)
Returns the stack frame of the specified level for the current thread.
Definition: CommandlineApplicationInterpreterBase.cs:1636
override StreamReader InputStream
Input stream of the server's named pipe.
Definition: IpcNamedPipes.cs:568
List< IVector > ConvergenceErrorsTrainingMaxList
Convergence List of Maximum errors calculated on training data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:204
void GetBytes(int numBytes, ref byte[] outputBytes)
Creates and stores the next generated key of the specified length.
Definition: UtilCryptoAux.cs:855
static void GenerateCoordinates2dPlain(Field< vec3 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:1042
double _sigmoidAlphaValue
Definition: NeuralTrainingParameters.cs:103
int OutputLevel
Output level, specifies the level of descriptive output on console during the operation.
Definition: StringTable.cs:74
static GridGenerator1dFunc CreateFunctionBased(double from, double to, int numNodes, IRealFunction function, double firstFunctionArgument, double lastFunctionArgument)
Creates and returns a 1D grid generator where grid point positions are calculated by the specified fu...
Definition: GridGenerator1dBase.cs:239
Definition: FunctionRealBasic.cs:17
virtual string ExecuteUser(string command)
Executes the code, prints results and reports eventual errors. Also appends the code to the complete ...
Definition: ExpressionEvaluatorCompiled.cs:514
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: Vector2Dclass.cs:384
override CommandStackFrame< InterpreterType > CreateFrame(CodeBlockType type, int stackLevel)
Creates a new stack frame.
Definition: CommandlineApplicationInterpreterBase.cs:817
string MyDescription2
Definition: SampleClasses.cs:161
virtual string ConvertFunctionDefinitionsToString(params string[] functionDefinitions)
Converts an array of function definition strings to a delimited single string that contains these def...
Definition: ScalarFunctionScriptController.cs:138
static IRandomGenerator Global
Global random generator. Initialized with time dependent seed. Therefore, the generator should genera...
Definition: Random.cs:132
static readonly PhysicalConstant AtomicMassUnit
Atomic mass unit, 1/12 of the mass of an unbound atom of carbon-12 at rest and in its ground state.
Definition: Constants.cs:468
ColorRGBA[][] VertexColors
Optional per-vertex RGBA colors (if defined, exported to GLTF as COLOR_0). Dimensions must match Node...
Definition: StructuredSurfaceMesh3D.cs:23
virtual void InitAppFile()
Initializes commands for file system related utilities (embedded applications).
Definition: ScriptAppBase.cs:979
string GetInputFieldValue(string fieldName)
Returns value of the sepcified input field.
Definition: SimKosecFileManagerBase.cs:1185
static void ArrayAddPlain(IVector a, double scal, IVector result)
Addition of a scalar to all components of a vector. This is a plain version of the method that does n...
Definition: VectorBase.cs:1614
Collection of structured 2D fields of the same type. Fields are identified by their names.
Definition: FieldCollectionGeneric.cs:80
NamedPipeServerStream ServerPipe
Named pipe used for communication by the server.
Definition: IpcPipes.cs:126
A reference of command usage, contains ID of the interpreter where a command is registered,...
Definition: Interpreter.cs:62
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:117
void AddVectorField(TVectorField field)
Adds the specified vector field to the collection of vector fields.
Definition: UnstructuredMesh2dGeneric.cs:493
StructuredMesh2d3d(int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy)
Constructs a 2D regular grid in 3D on the XY plane with grid directions parallel to coordinate axes,...
Definition: StructuredMesh2d3d.cs:71
bool NetworkTrained
Whether network has been trained since the training data was set.
Definition: NeuralApproximatorBase.cs:442
const string NullTypeString
Definition: BasicTypeConverter.cs:90
static double Mean(params double[] sampleElements)
Calculates and returns mean value of its arguments (or elements of the specified double array).
Definition: UtilMath.cs:724
int SleepTimeMs
Sleeping time, in milliseconds, used by the current object when waiting for fulfillment of some condi...
Definition: ParallelJobServerBase.cs:142
int DaysTillExpire
Gets the number of days until the expiration of the program or module (0 or negative if already expir...
Definition: App.cs:1216
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:664
static void ArrayProduct(IVector a, IVector b, ref IVector result)
Calculates array product (element-by-element product) of two vectors and stores the result in the spe...
Definition: VectorBase.cs:2108
IVector InitialGuess
Gets or sets initial guess used in optimization.
Definition: Optimizer.cs:62
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: MatrixDecompositions.cs:116
bool CheckInputUniqueness
Gets true if original and mapped input element indexes are unique.
Definition: NeuralMapData.cs:592
static xdouble sin(xdouble a)
Returns the sine of the specified angle.
Definition: UtilMath.cs:1790
double _tolRmsRelativeScalar
Definition: NeuralTrainingParameters.cs:1556
virtual IBoundingBox InputNeuronsRange
Gets the range in which data should be for input neurons, used for scaling from actual input to input...
Definition: NeuralApproximatorBase.cs:1673
VectorFunctionScriptControllerBase()
Default constructor, sets IsNull to true.
Definition: VectorFunctionScriptController.cs:39
Torus(double radiusRatio)
Constructs a parametric definition of a torus with the radius of centerline equal to 1 and the specif...
Definition: Function3d2d.cs:1310
static bool IsListSorted< T >(List< T > list, IComparer< T > comparer)
Checks whether the specified list is sorted according to the specified comparer, and returns true if ...
Definition: Utils.cs:695
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareValue
Comparison of values.
Definition: Utils.cs:3171
static System.Globalization.NumberFormatInfo ni
Definition: StringParser.cs:22
static string ToStringList(List< DataColumnDefinition > list, string introString)
Returns string representation of a list of data column definitions.
Definition: SampledDataCsv.cs:1187
XmlElement PreviousElement
Definition: XmlUtilities.cs:1321
FieldCollection< TTensorField, TTensor > TensorFields
Gets the collection of tensor fields of the current mesh.
Definition: UnstructuredMesh3dGeneric.cs:530
override int ColumnCount
Gets the second dimension (number of columns) of the 2D matrix, i.e. 2.
Definition: Matrix2DClass.cs:289
Geometry and topology of an unstructured 2D mesh. Presents both connected meshes and unconnected sets...
Definition: UnstructuredMeshGeometry2dGeneric.cs:15
void SetNumPoints(int numX, int numY)
Sets recommended number of plot points along parameter curves.
Definition: Function3d2d.cs:765
string _documentTitle
Definition: HtmlWriter.cs:176
A factory that provides standard JsonSerializerOptions objects for non-polymorfic serialization.
Definition: JsonSerializationOptionsFactory.cs:23
string ToString()
Returns a short representation of the current object, containing the captured entity's declared type,...
static void SaveJson(List< NeuralTrainingParameters > trainingParameters, string filePath)
Saves (serializes) the specified list of training parameters objects to the specified JSON file....
Definition: NeuralTrainingParameters.cs:966
override double Value1(double x, double y)
Calculates and returns value of the first component of the current function.
Definition: Function3d2d.cs:777
static void RemoveInputDuplicates(SampledDataSet sampledSet)
Removes elements with duplicated input parameters, leaving only a single element with specified input...
Definition: SampledData.cs:2423
string OriginalName
Definition: NeuralMapData.cs:41
override string ToString()
Returns a stirng containing the server data.
Definition: NamedPipes_Copy.cs:729
Various utilities for testing computational speed of the current system.
Definition: TestSpeed.cs:31
const string NeuralTrainingParametersFilename
Name of the file where sets of training parameters and convergence results are stored.
Definition: NeuralFileConst.cs:58
static void ArrayQuotient(IVector a, IVector b, IVector result)
Calculates array quotient (element-by-element division) of two vectors and stores the result in the s...
Definition: VectorBase.cs:2142
Represents a real function of a real variabe.
Definition: FunctionReal.cs:570
Definition: GraphicalObjects.cs:15
static double Atan2(double a, double b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1237
double _defaultNeuronMaxInput
Definition: NeuralApproximatorBase.cs:1433
int n1
Definition: LissajousKnot3D.cs:42
static ReportType EventLogEntryType2ReportType(EventLogEntryType el)
Returns the ReportType value corresponding to the given System.Diagnostics.EventLogEntryType....
Definition: ReporterMsg.cs:2873
delegate bool ConditionDelegateBase()
void LoadFile(string filePath)
Loads loadable script code form a file. Name of the class is extracted from the file contents.
Definition: Loader.cs:1670
double _error
Definition: Constants.cs:109
MappingDefinition _mappingDefinition
Definition: NeuralMapData.cs:1051
double y
The second component of the vector.
Definition: vec2.cs:16
abstract double Value(double x, double y)
Calculates and returns value of the current 2D scalar function.
double EndParameter
Definition: TrefoilKnot3D_MathCurve3.cs:53
Definition: MaterialProperties.cs:14
LoadableRealFunctionBase CreateRealFunction()
Creates and returns an instance of dynamically compiled real function object.
Definition: RealFunctionScriptLoader.cs:620
const string AssemblyInfo
Definition: ScriptAppBase.cs:3916
int _otputLevel
Definition: ClientServerStreamBase_Copy.cs:398
virtual void SetLength(int newLength)
Sets the length of the current field to the specified value.
Definition: FieldGeneric.cs:101
AnalysisComparer()
Definition: AnalysisComparer.cs:21
bool IsApproximatelyInteger(double tolerance=0.0)
Returns true if the current complex number is approximately an integer (within tolerance ) and can be...
Definition: Complex.cs:292
bool RequestedObjectiveGradient
Flag indicating whether calculation of objective function gradient is required or not.
Definition: AnalysisResultsDto.cs:94
static Complex Cot(Complex x)
Definition: Complex.cs:695
void RunSimulator(string[] commandlineArguments)
Runns the simulator with the specified command-line arguments. Warning: this method should be used fo...
Definition: SimKosecFileManagerBase.cs:1486
void SetNeuronsInputRange(double min, double max)
Sets the neurons input range. Bounds for all input neurons are set equally.
Definition: NeuralApproximatorBase.cs:1706
string PipeName
Definition: NamedPipes_Copy.cs:91
const int _maxLoadableScriptWarnings
Definition: App.cs:2341
void Example00_CreateAndExportTubularSurfaceTest(int numLongitudinal, int numTransverse, double radius)
Creates the first test of tubular surface generation and export, using a custom parameterization of a...
Definition: TubularSurfaceExportExamplesTests.cs:74
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: InterpreterCommandLine.cs:47
static void Copy(Counter a, ref Counter res)
Copies a counter to another (existing) counter in place.
Definition: Scalar.cs:430
static RealFunction GetWeightPol5(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real polynomial weighting function object based on 5th order polynomial....
Definition: FunctionRealWeight.cs:817
string createResponseOrRequestString(string originalResponseOrRequestString)
Generates request and response string in such a way that it can not be mixed up with a message.
Definition: ClientServerStreamBase_Copy.cs:318
abstract string Name
Definition: IpcStreamClientServerBase2.cs:29
override bool ValueDefined
Tells whether value of the function is defined by implementation.
Definition: FunctionScalarRadial.cs:111
bool IsRectangular
Returns true if data table is rectangular (i.e. all rows have equal number of elements) or not.
Definition: StringTable.cs:760
override string ToString()
Returns string representation of the 2D vector.
Definition: Matrix2D.cs:317
static volatile Assembly[] _referencedAssembliesRecursive
Assemblies directly or indirectly referenced by the current executale assembly. Calculated only once,...
Definition: UtilSystem.cs:2345
XmlNode NextNode(XmlNodeType NodeType)
Moves the current node to the first sibling node after the current node that is of the specified type...
Definition: XmlUtilities.cs:2159
static void ToByteArray(char val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1291
static void StandardizeDirectoryPath(ref string directoryPath)
Converts the specified path to standard form (absolute path, system's path separator,...
Definition: UtilSystem.cs:4588
vec3 Direction
Direction of the light (for Directional and Spot lights).
Definition: LightSource.cs:48
static xdouble tan(xdouble a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:1834
static ColorScale Create(double minValue, double maxValue, int numCells, params color[] scaleColors)
Creates and returns a discrete color scale that runs through the specified colors.
Definition: ColorScale.cs:618
Vector or point in a 2 dimensional space.
Definition: Vector2Dclass.cs:24
static void FromByteArray(byte[] bytes, out Int64 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2248
override void AppendValue(bool value)
Appends a boolean value to the interpreter command file contents.
Definition: InterfaceInv.cs:198
bool IsWritable
Whether write access to elements is provided by the current element.
Definition: IReadonlyArrayAccessor.cs:31
virtual void SetHessian(int which, int rowIndex, int columnIndex, double value)
Sets the specified component of the specified function's Hessian.
Definition: FunctonVectorResults.cs:501
IVectorFunctionResults AuxResults
Definition: FunctionVectorBaseGeneral.cs:200
Similar as ModelParameterSetFixedBase<ModelParameterType>, except that parameter objects can be added...
Definition: ModelParameterSetBase.cs:14
object Convert(object source, Type sourceType, Type targetType)
bool CalculatedObjectiveGradient
Indicates whether calculation of objective function gradient is/was requested.
Definition: AnalysisResutlsInt.cs:392
override vec3[] Coordinates
Definition: GrObjects.cs:477
readonly List< T > _items
Definition: SampleClasses.cs:444
static readonly PhysicalConstant Z
zetta- (Z), SI prefix for 10^21.
Definition: Constants.cs:702
string _originalName
Definition: NeuralMapData.cs:329
PasswordAlgorithmBase _passwordAlgorithm
Definition: UilCryptoAux1.cs:142
bool IsBlockExitQuietCommand(string commandLine, bool isOnlyCommandName=false)
Returns true if the specified command should be executed as block exit command, in spite of the fact ...
Definition: CommandlineApplicationInterpreterBase.cs:1184
ReportLevel TracingLevel
Gets or sets trace level (for external trace systems).
Definition: ReporterMsg.cs:2675
void GenerateRandomCloud(int numPoints, int spaceDimension)
Generates a specified number of random points with random co-ordinates that fall between 0 and 1 (inc...
Definition: PointCloud.cs:435
override void Hessian2(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the second component, just throws the NotImplementedException exc...
Definition: Function3d2d.cs:222
virtual void EnterJsBlock(CommandThread cmdThread)
Enters a new JavaScript calculator's code block. A new stack frame is added, such that the embedded c...
Definition: CommandlineApplicationInterpreter.cs:934
static void GenerateCoordinates(Field< vec2 > field, int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to ...
Definition: FieldGeneric.cs:883
static double asin(double a)
Returns the angle whose sine is the specified number.
Definition: UtilMath.cs:1209
Base class for building vector functions from scripts. This is currently an interrmediate class betwe...
Definition: VectorFunctionScriptController.cs:29
static RealFunction GetExp()
Creates and returns a new real exponential function object.
Definition: FunctionRealBasic.cs:59
int _numy
Definition: Function3d2d.cs:725
string _appName
Definition: UilCryptoAux1.cs:116
const string ConstHelpMyTest
Definition: ScriptAppBase.cs:5301
Interface for all implementations of read-only character buffer. Classes that implement this interfac...
Definition: StringParserBuffer.cs:16
static void DoNothingForSomeTime(object seconds)
Definition: TracedThread.cs:239
Complex GetConjugate()
Returns negative value of the current complex number.
Definition: Complex.cs:513
QRDecomposition(Matrix_MathNetNumerics A)
Constructor.
Definition: MatrixDecompositions.cs:616
virtual void SendRequest(string requestString)
Send specified request to server through a named pipe.
Definition: IpcStreamClientBase.cs:81
static AsymmetricAlgorithmType[] GetAsymmetricAlgorithmTypes()
Returns all asymmetric encryption algorithm types contained in the enumeration AsymmetricAlgorithmTyp...
Definition: UtilCrypto.cs:3752
static bool CheckStringHashMd5Hex(string stringToCheck, string hashValue)
Checks whether the specified MD5 hash value matches the actual hash value of the specified string.
Definition: UtilCrypto.cs:1083
static char RandomChar(CharType typeflags, IRandomGenerator rndgen=null)
Returns a random character whose type is specified by type flags. Type flags can be combined by bitwi...
Definition: UtilString.cs:399
OptFileAnalysisServer(string directoryPath, IAnalysis analysis)
Definition: OptFileAnalaysisServer.cs:29
static readonly PhysicalConstant ThomsonCrossection
Thomson cross section.
Definition: Constants.cs:579
int _ind1
Definition: SerializerBase.cs:677
SampledDataSet _sampledData
Definition: SampledDataCsv.cs:947
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:165
void Exapmle_CreateLightingDefinition()
Definition: LightingDefinition_05.cs:70
double YY
YY component.
Definition: Matrix2DClass.cs:323
void RecalculateDataBounds(SampledDataSet trainingData)
Recalculates input and output data bounds by taking into account the specified training data set.
Definition: NeuralApproximatorBase.cs:1808
virtual void ReadInputParameters(ref IVector inputParameters)
Reads optimization input parameters form the file at a standard location.
Definition: SimKosecFileManagerBase.cs:1325
RealFunction(DlgFunctionValue valueDelegate, DlgFunctionValue derivativeDelegate)
Constructs a new function where delegates are provided for calculation of function valu and first der...
Definition: FunctionReal.cs:593
Interface for the CapturedVar<DeclaredType> and its derived types. See documetation for that type for...
Definition: ICapturedVar.cs:11
virtual string CmdNameTab1d
Command name - taban1d.
Definition: InterfaceInv.cs:170
static string _defaultFunctionsSeparator
Definition: ScalarFunctionScriptController.cs:383
color[] _lineColors
Definition: GraphicalObjectsBase.cs:125
static double Distance(IVector a, IVector b)
Returns Euqlidean distance between the specified two vectors.
Definition: VectorBase.cs:690
virtual TField CreateField(int dim1, int dim2, int dim3, string fieldName, string fieldDescription)
Creates a new 3D structured field of specified dimensions and with specified name and description.
Definition: FieldCollectionGeneric.cs:40
int LearningRateNum
Number of learning rates.
Definition: NeuralTrainingParameters.cs:1328
bool _iscompiled
Definition: ScalarFunctionScriptLoader.cs:971
static void ExportToGltf(this StructuredSurfaceMesh3D mesh, string gltfPath, MaterialProperties material, LightSource[] lights=null)
Exports the mesh to GLF format.
Definition: MeshExportExtensions.cs:173
XmlNode NextOrCurrentElement(string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:2267
override void CopyFromPlain(NeuralTrainingParameters trainingParameters)
Copies the specified training parameters to the current DTO.
Definition: SerializationDtoNeural.cs:321
IBoundingBox _inputNeuronRange
Definition: NeuralTrainingParameters.cs:245
override double[] GetParameters()
Returns parameters of the current parametric function as an array. Since this class is for one parame...
Definition: FunctionScalarParametric.cs:226
Base class for VectorFunctionBase and VectorFunctionBaseComponentwise. In general,...
Definition: FunctionVectorBaseGeneral.cs:20
void Init(object obj, ReportDelegate reportdelegate, ReportLocationDelegate locationdelegate, ReportMessageDelegate messagedelegate, ReserveReportErrorDelegate reservereportdelegate)
Initializes the error reporter by the specified auxiliary object and delegates used to perform error ...
Definition: ReporterMsg.cs:1379
static bool InitializedGlobal
Gets a true/false value telling whether the global application data is initialized or not.
Definition: App.cs:396
virtual string Name
Gets or sets the full name of the program.
Definition: App.cs:945
Parametric surface that is a graph of the function f(x,y)=x*y.
Definition: Function3d2d.cs:818
Base class for plotting graphic objects.
Definition: GrPlotting.cs:12
override MatrixBase GetCopyBase()
Returns a deep copy of the current 2D matrix.
Definition: Matrix2DClass.cs:429
RealFunction funcDerivative
Definition: FunctionReal.cs:702
bool IsKeyNames(string str)
Whether the specified string is a keyword introducing variable names.
Definition: SampledDataCsv.cs:596
bool LiesOutside(IBoundingBox bounds)
Returns true if the specified bounding box lise outside of the current bounding box,...
Definition: BoundingBox.cs:700
RosenrockAndCircle()
Definition: FunctionVectorExamples.cs:29
void AddTag(string tagName, string text)
Adds the specified tag containing the specified text to the document.
Definition: HtmlWriter.cs:624
static string _defaultKeyElementTypeInput
Definition: SampledDataCsv.cs:71
DateTime CalculateCreationTime()
Calculates program creation time of the current executable (the entry assembly) and returns it.
Definition: App.cs:1084
void SaveCsv(string filePath, bool append)
Saves the data of the current object into a CSV file. Constant UtilCsv.DefaultCsvSeparator is assumed...
Definition: StringTable.cs:1170
static void SaveJson(NeuralTrainingParameters[] trainingParameters, string filePath, bool append)
Saves (serializes) the specified array of training parameters objects to the specified JSON file.
Definition: NeuralTrainingParameters.cs:939
CommandLineApplicationInterpreter(bool caseSensitive)
Construct a new commandline interpreter object initialized with some basisc commands.
Definition: CommandlineApplicationInterpreter.cs:50
MathNet.Numerics.LinearAlgebra.Double.DenseVector Vector_MathNetNumerics
Definition: Vector.cs:12
static MatrixBase operator*(MatrixBase a, MatrixBase b)
Product of two matrices.
Definition: MatrixBase.cs:5206
bool _calcConstraintGradients
Definition: AnalysisResults.cs:234
override bool ValueDefined
Definition: FunctionRealBasic.cs:242
void AddBlockExitCommandsNoLevelEffect(params string[] commands)
Adds the specified strings to the list of commands that can exit the current kind of the code block,...
Definition: CommandlineApplicationInterpreterBase.cs:1023
override bool HasFaces
Gets a value indicating whether the mesh has faces.
Definition: Mesh.cs:257
virtual void SpecificTypeConverter_Speed_RoundTripConversion_IntToDoubleObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:209
const new string ConstCustomApp
Name of the command for custom test.
Definition: ScriptAppBase.cs:324
int NumParameters
Number of parameters of the vector function, i.e., dimension of thefunction domain.
Definition: VectorFunctionScriptController.cs:84
static void PerformSomeTests()
Definition: CommandLineParserSimple.cs:90
List< IRealFunctionPenalty > PenaltyFunctions
Returns a list of penalty functions used to evaluate penalty terms.
Definition: AnalysisResutlsInt.cs:600
bool IsMaxDefined(int componentIndex)
Returns true if maximum value is defined for the specified component, false otherwise.
string _neuralInputPath
Definition: NeuralFileManager.cs:140
virtual string AppCertStoreInfo(string appName, string[] args)
Executes command-line action - prints information about the certificate stores specified by command-l...
Definition: UilCryptoAux1.cs:3576
bool IsNeuralOutputReady()
Returns value of the falg that indicates whether the approximation output data is ready.
Definition: NeuralFileManager.cs:617
Field where field elements are arranged in a 2 dimensional array. Usually represents a field over a s...
Definition: StructuredField2dGeneric.cs:72
virtual void WriteFunctionOutput(IVector outputValues)
Writes function reduced outut values to the file at standard location.
Definition: NeuralFileManager.cs:1192
static void Examples()
Definition: StringParser0.cs:659
static IEnumerable< int > IntIEnumerable
Sample IList of int (type IEnumerable<int>, actual type CustomEnumerable<int>), for use in tests.
Definition: SampleCollections.cs:31
void ExtractOutputsComplement(IndexList filterIndices, ref IVector[] extracted)
Extracts the specified vectors (complement of the index list) of output values from the current sampl...
Definition: SampledData.cs:477
static int SizeOf(float val)
Returns size of a value of type float, in bytes.
Definition: Utils.cs:1204
static int SizeOf(char val)
Returns size of a value of type char, in bytes.
Definition: Utils.cs:1177
void IncreaseDepth(int numlevels)
Increases indentation level by the specified number of levels (can be 0 or negative).
Definition: ReporterMsg.cs:2586
bool HasDerivative
Definition: GrannyKnot3D.cs:46
static void KillFirstApplicationByWindowTitle(string mainWindowTitle)
Kills the first running application found that has the specified main window title.
Definition: UtilSystem.cs:1680
virtual bool GradientDefined
Whether calculation of functio ngradient is defined. Default is false.
Definition: Function3d2d.cs:261
virtual string GetErrorMessage(Exception ex)
Returns error message corresponding to the specified exception.
Definition: ClientServerStreamBase2_Copy.cs:598
override int GetHashCode()
Returns the hash code (hash function) of the current matrix.
Definition: Matrix2D.cs:504
virtual void NumericalSecondDerivative(IVector x, IVector stepsizes, ref List< IVector > secondDerivatives)
Calculates numerical second order derivative of this function. Central difference formula is used.
Definition: FunctionVectorBaseGeneral.cs:619
virtual void ClearAnInputReady()
Clears the analysis data ready flag.
Definition: OptFileManager.cs:716
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:672
TextWriter Writer
Text writer used for writing on the document.
Definition: HtmlWriter.cs:268
TIndexField GetIndexField(int index)
Returns the index field with the specified index.
Definition: UnstructuredMesh3dGeneric.cs:129
XmlNode GetNextOrCurrentNode(string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1570
static string CreateNonexistentFilePath(string originalPath)
Returns a file path that does not exist and is derived form the specified file path by adding a suffi...
Definition: Loader.cs:1109
const double DefaulltEpsilon
Definition: vec2.cs:58
static void MultiplyDiagonal(IMatrix a, IVector diag, IMatrix result)
Right-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matri...
Definition: MatrixBase.cs:4619
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid with grid directions parallel to coordinate axes and equid...
Definition: test_to_delete.cs:124
double NormInfinity
Get the infinity norm of the matrix - maximum over rows of sum of absolute values of components.
Definition: Matrix3D.cs:661
List< double > EpochErrorsAbs
List of sampled absolute errors corresponding to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:648
override bool IntegralDefined
Definition: FunctionRealInterpolation.cs:729
ILoadableScript _runnableObject
Definition: Loader.cs:1381
virtual void SetCoordinate(int which, vec3 coord)
Sets the specified co-ordinates of the graphic primitive.
Definition: GraphicalObjectsBase.cs:157
void BeginTag(string tagName, params string[] attributeNameValuePairs)
Adds the specified tag to the document.
Definition: HtmlWriter.cs:506
ReportLevel LoggingLevel
Gets or sets level of output for logging (writing to log files).
Definition: ReporterMsg.cs:2663
void ModuleInitialization(string moduleName, string codeName, int version, int subVersion, int subSubVersion, string release)
Performs complete initialization of the program or module, including the pre-initialization,...
Definition: App.cs:806
Matrix3d MultiplyLeft(Matrix3d b)
Left-multiplies the current 3D matrix with the specified matrix and returns the product.
Definition: Matrix3DClass.cs:696
bool CalculatedConstraintGradients
Flag indicating whether calculation of constraint function gradients is required or not.
Definition: AnalysisResultsDto.cs:257
Rfc2898DeriveBytes _externalAlgorithm
Definition: UtilCryptoAux.cs:898
bool TextWriterWriteIntro
Specifies whether introduction text is written before logging of messages begins or not.
Definition: ReporterMsg.cs:181
virtual void SetLineColor(Color color)
Sets all line colors of the graphic primitive to the specified value.
Definition: GraphicalObjectsBase.cs:243
Base class for 1D grid generators.
Definition: GridGenerator1dBase.cs:153
void ExtractFilteredData(IndexList filterIndices, ref IVector[] extracted, bool complement, bool outputData, bool copyValues)
Extract extracts.
Definition: SampledData.cs:565
Definition: PortScannerSimple.cs:136
string _description
Definition: FunctionVectorBaseGeneral.cs:37
void RemoveVariableLocked(string varName)
Removes the specified variable within lock on the property.
Definition: CommandlineApplicationInterpreterBase.cs:1457
void IncrementNumFinishedJobs()
Increments by one the number of finished jobs (of those handled by the current dispatcher) up to this...
Definition: ParallerJobDispatcherBase.cs:1194
FieldCollection2d< TIndexField, TIndex > IndexFields
Gets the collection of index fields of the current mesh.
Definition: StructuredMesh2dGeneric.cs:76
Definition: MeshExportExtensions_03.cs:15
static Exception ReviseException(Exception ex, string messageaddition)
Takes an existing exception and returns a modified exception based on it. The returned exception is o...
Definition: ReporterMsg.cs:1671
StructuredSurfaceMesh3D()
Definition: Mesh.cs:172
const int MaxTypeStringLength
Maximal length of string representing algorithm types.
Definition: UtilCryptoAux.cs:255
void SetDimensionAndReset(int newDimension)
Changes dimension of the current bounding box to the specified dimension and resets the bounding box....
virtual bool ThrowExceptions
Flag specifying whether exceptions are thrown in interactive mode or not.
Definition: CommandlineApplicationInterpreter.cs:1291
string ObjectNameModified
Definition: SerializerBase.cs:640
Definition: ColonCharacterStrategy.cs:8
void ExplicitConversion_FromFahrenheitToCelsius_Works()
Definition: ReflectionTypeConverterTests.cs:109
void Register(Type sourceType, Type targetType, ISingleTypeConverter converter)
string _namespace
Definition: Loader.cs:632
int hidden
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:104
IVector OutputMax
Sets the vector of maximal values point OUTPUT values. Needed for calculation of relative coordinate ...
Definition: DistanceComparer.cs:104
static string DecryptStringAsymShort(string cipherText, AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None)
Definition: UtilCrypto.cs:5034
static double Max(params double[] numbers)
Maximal of the specified values.
Definition: UtilMath.cs:978
bool _breakTraining
Definition: NeuralApproximatorBase.cs:2468
virtual string ExecutablePath
File path of the analysis exeutable. If set to null then file path is set to null and will be recalcu...
Definition: SimKosecFileManagerBase.cs:388
DateTime _StartTime
Definition: App.cs:709
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealBasic.cs:251
override int GetHashCode()
Returns the hash code (hash function) of the current matrix.
Definition: Matrix3D.cs:583
double TestDelayInSeconds
Delay time in the testing mode (in seconds), which is caused by calling sleep for the Thread....
Definition: ParallelJobContainerBase.cs:280
A cascaded SerializationBinder class that maps the assembly and type information of the serialized ob...
Definition: SerializationBinderCascaded.cs:73
IVector OutputMin
Sets the vector of minimal values for point OUTPUT values. Needed for calculation of relative coordin...
Definition: DistanceComparer.cs:417
static void CalculateErrorsMeanAbs(int dimOutput, IVector[] prescribed, IVector[] calculated, ref IVector errors)
Calculates error measures - mean absolute value of the differences - for the specified arrays of pres...
Definition: NeuralApproximatorBase.cs:2161
virtual string AppRunFileByScript(string[] args)
Execution method that Runs the specified command file by the script's interpreter.
Definition: ScriptAppBase.cs:449
const bool DefaultOutputFullTypeNames
Default value of OutputFullTypeNames.
Definition: BasicTypeConverter.cs:84
Vector2d Cross(Vector2d v)
Returns vector product of the current and the specified vector.
Definition: Vector2Dclass.cs:439
CommandThreadBase GetCommmandThread(int whichCommandThread)
Returns the specified command thread for the current interpreter.
Definition: CommandlineApplicationInterpreter.cs:257
virtual string BaseDirectory
Gets or sets the program directory (containing all version directories, user directories,...
Definition: App.cs:1386
string _msgFunctionInputReadyFilename
Definition: NeuralFileManager.cs:865
static Matrix2d Create(IMatrix mat)
Creates and returns a 2D matrix that is a copy of another (general) matrix. That matrix should be a 2...
Definition: Matrix2DClass.cs:148
mat3 NormalizedInfinity()
Returns this matrix normalized with infinity norm.
Definition: Matrix3D.cs:691
static int GetHashFunctionInt(IVector vec)
Returns an integer valued hash function of the specified vector object.
Definition: VectorBase.cs:2246
static xdouble operator%(xdouble a, xdouble b)
Definition: UtilMath.cs:1417
static void FromByteArray(byte[] bytes, out char val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:1848
void Insert(int index, string str)
Inserts the specified string at the specified position of the buffer.
Definition: StringParserBuffer.cs:195
virtual void SetVariable(string variableName, string value)
Command - sets a string interpreter variable.
Definition: InterfaceInv.cs:330
int NumEqualityConstraints
Number of equality constraints.
Definition: AnalysisResultsDto.cs:78
static string GetDefaultNameSpaceUri(XmlNode node)
Returns the default namespace URI that applies to the specified Xml node.
Definition: XmlUtilities.cs:927
static void LoadCsv(string filePath, int rowNum, ref IVector vecRestored)
Reads a vector from the specified row of a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as ...
Definition: ScalarFunctionScriptController.cs:1111
virtual void WriteOutputValues(IVector outputValues)
Writes optimization ouptut values to the standard location.
Definition: SimKosecFileManagerBase.cs:1433
string _dataDirectory
Definition: NeuralFileManager.cs:68
int Column
Number of column within the data table.
Definition: SampledDataCsv.cs:1132
string VersionString
Gets the string that represents program version.
Definition: App.cs:1280
int _inputLength
Definition: NeuralTrainingParameters.cs:112
string ParameterNamesSeparator
Separator string that is used to separate parameter names when stated in a single string.
Definition: ScalarFunctionScriptController.cs:557
static string DefaultKeyData
Default key for introduction of sampled data.
Definition: SampledDataCsv.cs:60
const string FileHelpCurrentDirectory
Definition: ScriptAppBase.cs:934
virtual void Dispose(bool disposing)
Definition: ReporterMsg.cs:1485
string BannerGrab(string hostName, int port, int timeout)
Definition: PortScanner.cs:151
SerializationBinderElementary(string origAssemblyName, bool isAssemblyNameSimple, bool isAssemblyNameIgnored, string origTypeName, bool isTypeNameSimple, Type targetType)
Construct serialization binder with a most general set of adjustable type matching parameters.
Definition: SerializationBinderElementary.cs:54
static double SetRandomInvertible(IMatrix mat, IRandomGenerator rnd=null)
Sets the specified QUADRATIC matrix such that it is has random elements and is nonsingular.
Definition: MatrixBase.cs:1230
void GetAppSetting(string reportername, string keyroot, ref string value, out bool assigned)
Reads a string value from the application configuration file (e.g. app.config) and assigns it to the ...
Definition: ReporterMsg.cs:2049
static readonly PhysicalConstant T
Tesla, the SI derived unit of magnetic field. T = V result/numrows^2 = Wb/numrows^2 = N/(A numrows) =...
Definition: Constants.cs:1008
Helper class for JSON serialization and deserialization. This class does not enable formatting of the...
Definition: SerializerJson.cs:112
TVectorField AddVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current 1D structur...
Definition: UnstructuredMesh1dGeneric.cs:474
virtual void WriteFunctionInput(IVector inputParameters)
Writes function reduced input parameters to standard location.
Definition: NeuralFileManager.cs:1176
string _printDefinitionsCommand
Definition: ExpressionEvaluatorCompiled.cs:335
static int OutputLevel
Serves as default output level for new objects of many classes that include the output level property...
Definition: Utils.cs:171
double EndParameter1
Definition: Torus.cs:77
bool EnableArchitectureTest
Flag for enabling test in architecture of ANN.
Definition: NeuralTrainingParameters.cs:1612
ToStringTypeConverterViaParseReflectionTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ToStringTypeConverterViaParseReflectionTests.cs:20
ModelParameter(string name, string title, string description, ValueType defaultValue, ValueType value, bool isConstant=DefaultIsConstant, bool isDefaultWhenValueNotDefined=DefaultIsDefaultWhenValueNotDefined)
Comprehensive constructor, initializes all fields of the parameter object. It calls base constructor ...
Definition: ModelParameterTyped.cs:43
virtual IndexList VerificationIndices
Gets or sets indices of training data elements that are used for verification of how precise appeoxim...
Definition: NeuralApproximatorBase.cs:1573
bool RedirectOutput
Gets or sets the plag indicating whether standard output will be redirected or not.
Definition: SimKosecFileManagerBase.cs:108
override double f2(double t, double r)
Definition: Function3d2d.cs:1471
BoundingBox2d(double minX, double maxX, double minY, double maxY)
Creates a 2D bounding box with the specified bounds.
Definition: BoundingBox.cs:1668
string _pipeName
Definition: IpcNamedPipes.cs:88
string AnOutXmlPath
File path of the analysis output file in XML format. Setter takes only pure file name,...
Definition: OptFileManager.cs:382
const string ConstScriptTests
Selecting constant fot TEST script.
Definition: ApplicationCommandLineBase.cs:33
Definition: NeuralApproximatorAforgeFake.cs:12
void RemoveCommand(string appName)
Removes the command with the specified name.
void SyncLevels()
Definition: ReporterMsg.cs:2629
static void SaveRequestMath(this IAnalysisResults anres, string filePath, bool append)
Saves the current analysis request to a file. Extension method for IAnalysisResults.
Definition: AnalysisResults.cs:67
TScalarField GetScalarField(int index)
Returns the scalar field with the specified index.
Definition: UnstructuredMesh3dGeneric.cs:282
virtual void NumericalDerivative(IVector x, IVector stepSize, ref List< IVector > derivative)
Calculates numerical derivative of this function. Central difference formula is used.
Definition: FunctionVectorBaseGeneral.cs:607
void Save(string filePath, bool append)
Saves buffer contents to a text file.
Example script for definition of a new real function class.
Definition: RealFunctionScriptExample.cs:16
Contains infomrmation on modle parameters in a specific parameter set. This usually represents all pa...
Definition: IModelParameterSet.cs:9
int TextLoggerIndentInitial
Gets or sets number fo initial indentation charactyers.
Definition: ReporterMsg.cs:2515
virtual bool StopTrainingCriteriaMet()
Returns true if the stopping criteria for training is met, with respect to current settings,...
Definition: NeuralApproximatorBase.cs:2633
bool IsRegistered()
Returns true if the current object is registered, false if not.
Definition: InterpreterCommandLine.cs:79
Cartesion parameterization of a curve in 3D. Beside the Curve and (optional) CurveDerivative,...
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:21
SimKosecFileManagerConv2(string dataDirectory, double thickness, double obstacleLength)
Constructor.
Definition: SimKosecFileManager.cs:187
static bool AreHexStringsEqual(string hexString1, string hexString2)
Returns true if the two specified hexadecimal strings represent the same sequence of bytes (or the sa...
Definition: Utils.cs:2520
IVector _errorsTrainingMax
Definition: NeuralTrainingParameters.cs:467
VectorDtoBase[] ConvergenceErrorsVerificationRmsTable
Definition: SerializationDtoNeuralApproximator.cs:176
new Matrix3d T
Gets transpose of the current matrix.
Definition: Matrix3DClass.cs:662
virtual bool Script_ContainsScriptCommand(string commandName)
Returns true if the specified command is script command (i.e. its first argument is command-name and ...
Definition: LoadableScriptBase.cs:72
virtual bool IsCodeLoaded
Whether scripting code to be compiled is loaded.
Definition: Loader.cs:930
override string ToString()
Definition: FunctionReal.cs:554
string _appendDefinitionsComand
Definition: ExpressionEvaluatorCompiled.cs:349
string _ModuleTestCommandPrefix
Definition: CommandlineApplicationInterpreter.cs:2831
List< String > StoredPrompts
Auxiliary list where calling environment can store prompts used e.g. in interactive mode
Definition: CommandlineApplicationInterpreterBase.cs:1873
virtual TField CreateField(int dim1, int dim2, string fieldName, string fieldDescription)
Creates a new 2D structured field of specified dimensions and with specified name and description.
Definition: FieldCollectionGeneric.cs:101
static void SaveJson(NeuralTrainingLimits trainingLimits, string filePath)
Saves (serializes) the specified array of training limits objects to the specified JSON file....
Definition: NeuralTrainingParameters.cs:2558
virtual void AllocateConstraintHessiansList()
Allocates space for the list of constraint functions' Hessians.
Definition: AnalysisResults.cs:932
const double RefExecutionsPerSecond_HpLaptop24
Standard speed test with finite geometric series and with direct calculation of sequence elements (us...
Definition: UtilSpeedTesting.cs:231
mat3 NormalizedEuclidean()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix3D.cs:679
LissajousCurve3D(int m, int n, double fi=0, double psi=0, double a=1.0, double b=1.0, double c=0.5)
Definition: LissajousCurve3D.cs:30
virtual void SetUnit(int which)
Sets the current vector to the specific unit vector (one component equals 1, others are 0).
Definition: VectorBase.cs:379
TTensorField AddTensorField(string fieldName, string fieldDescription)
Creates a new tensor field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: StructuredMesh3dGeneric.cs:644
char TextLoggerIndentCharacter
Gets or sets the indentation character.
Definition: ReporterMsg.cs:472
static string DecryptStringBasic(string cipherText, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Derypts the specified string from encryted byte array, using the specified symmetric algorithm,...
Definition: UtilCrypto.cs:2131
static ReturnType Parse< ReturnType >(string strValue)
Converts a string to the object of the specified type and returns the entity, by using the invariant ...
Definition: Utils.cs:2803
void SetConstraintGradient(int which, IVector value)
Sets the specified constraint function gradient. If CopyReferences=true (false by default) then only ...
static string _defaultKeyComment
Definition: SampledDataCsv.cs:99
ScalarFunctionRadialOneParametric(IRealFunctionOneParametric function)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:259
int _id
Definition: CommandlineApplicationInterpreterBase.cs:1817
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
Definition: MoebiusStrip.cs:68
static double pow3(double x)
3rd power.
Definition: UtilMath.cs:346
VectorDtoBase ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: SerializationDtoNeuralApproximator.cs:96
bool IsProcessingString
Definition: JsonPPStrategyContext.cs:57
List< String > _loadedModules
Definition: CommandlineApplicationInterpreter.cs:278
void TypeConverter_Speed_ConversionToObjectAndBackTest< OriginalType >(ITypeConverter typeConverter, int numExecutions, double minExecutionsPerSecond, OriginalType original, bool restoreObjectBackToValue=true, bool doOutputInReferenceTest=false)
Like TypeConverter_Speed_ConversionToObjectAndBackTest<OriginalType, TargetType, RestoredType>(ITypeC...
Definition: TypeConverterTestsBase.cs:199
override bool HasVolumes
Definition: Mesh.cs:158
static bool _defaultIsMultilineResponse
Definition: ClientServerStreamBase2_Copy.cs:72
void Report(ReportType messagetype, string message, Exception ex)
Launches a report. Predominantly for error and warning reports.
Definition: ReporterMsg.cs:3209
static void ExampleTestType()
Testing the type of the object within a generic method.
Definition: SerializerBase.cs:553
const string VarNameSecondDerivativeDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: RealFunctionScriptLoader.cs:89
string _keyTargetValues
Definition: SampledDataCsv.cs:852
abstract DistanceComparer< PointContainerType, PointType > CreateDefaultDistanceComparer(PointContainerType point)
Creates and returnws a distance comparer of hte default type for the current type of point of clouds.
string TypeName
Short name of the declared type of the captured entity, the Type, produced by Type....
Definition: ICapturedVar.cs:34
string TextLoggerProgramName
String denoting the name of the program or other entity that uses the Reporter for logging....
Definition: ReporterMsg.cs:4819
int _numFinishedJobs
Definition: ParallerJobDispatcherBase.cs:1185
object _evaluator
Definition: ExpressionEvaluatorCompiled.cs:183
string StoppedResponse
Stopped response that is sent back to the client after the server stops on its request.
Definition: ClientServerStreamBase2_Copy.cs:327
List< string > AppFileNames
List of installed file command names.
Definition: ScriptAppBase.cs:724
static bool AreNotEqual(Complex a, Complex b)
Definition: Complex.cs:464
int NumVectorFields
Gets the number of vector fields.
Definition: UnstructuredMesh1dGeneric.cs:444
bool UseTextLogger
Specifies whether or not TextLogger(s) are used by the Reporter to log messages.
Definition: ReporterMsg.cs:460
override MatrixBase GetNewMatrixBase(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
Definition: Vector2Dclass.cs:134
override string ToString()
Returns string representation of the current column data definition.
Definition: SampledDataCsv.cs:1162
void LogInfo(string location, string message)
Adds a new info log record initialized according to parameters.
Definition: LoggerMsg.cs:775
IVector OutputRange
Range from actual outputs.
Definition: NeuralTrainingParameters.cs:176
const string FileExtensionEncrypted
File extension for encrypted files.
Definition: UtilCryptoAux.cs:285
bool _UseTextLogger
Definition: ReporterMsg.cs:4787
int _loopCount
Definition: CommandlineApplicationInterpreterBase.cs:1222
static bool DefaultWarnCommandReplacement
Definition: CommandlineApplicationInterpreter.cs:368
void UpdateInputDefined(IVector parameters)
Updates simulation input with default values and with values of optimization parameters for which dir...
Definition: SimKosecFileManagerBase.cs:899
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: Matrix2D.cs:110
static Linear GetLinearInterpolation(double x1, double y1, double d1)
Creates and returns linear interpolation function with specified value and derivative.
Definition: FunctionRealInterpolation.cs:41
override void InitializeThis(string[] arguments)
Initializes the current object.
Definition: ScriptAppBase.cs:301
object ConvertToType(object value, Type targetType, bool enableNullableHandling=true, bool enableCollectionConversion=false)
Definition: TypeConversionHelperObsolete.cs:35
static Vector2d Zeros()
Generates an 2-dimensional vector filled with 0.
Definition: Vector2Dclass.cs:314
void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
string ActiveTensorFieldName
Gets or sets name of the currently active tensor field. This determines the currently active tensor f...
Definition: StructuredMesh2dGeneric.cs:577
string InterpreterCommand(CommandThread interpreter, string commandName, string[] args)
Method that is used to execute interpreter command.
Definition: LoadableScriptBase.cs:521
GrannyKnot3D()
Empty constructor.
Definition: GrannyKnot3D.cs:27
static string IgGetSaltSuffix(int whichSalt)
Returns the specified standard IGLib salt string.
Definition: UtilCrypto.cs:5185
void AllocateGradient(int which)
Allocates space for the specified function gradient.
virtual void AppendCommandArgument(IVector value)
Appends a vector argument to the command argument block of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:635
string MsgFunctionOutputReadyPath
File path of the message file indicating that the reduced approximated output is ready to be read....
Definition: NeuralFileManager.cs:1037
bool _IsGlobal
Definition: ReporterMsg.cs:2468
virtual bool IsValueDefined
Definition: ModelParameter.cs:203
static bool IsCorrectPasswordAlgorithm(DeriveBytes algorithm, PasswordAlgorithmType algorithmType)
Returns true if the specified password generation algorithm corresponds the type specification,...
Definition: UtilCrypto.cs:235
virtual string RunRepeat(CommandThread cmdThread, string[] args)
Runs command several times where the first argument is number of repetitions, second argument is comm...
Definition: CommandlineApplicationInterpreter.cs:1632
static void PrepareAymmetricAllgorithmBasic(AsymmetricAlgorithmType algorithmType, ref AsymmetricAlgorithm algorithm, string containerName=null, string xmlString=null, CspProviderFlags flags=CspProviderFlags.NoFlags, bool useLargestKey=false)
Definition: UtilCrypto.cs:4971
static bool IsCorrectSymmetricEncryptionAlgorithm(SymmetricAlgorithm algorithm, SymmetricAlgorithmType algorithmType)
Returns true if the specified symmetric encryption algorithm corresponds the type specification,...
Definition: UtilCrypto.cs:1643
static string SimpleAssemblyName(string fullName)
Returns a simple assembly name that corresponds to the specified full name of the assembly.
Definition: UtilSystem.cs:2648
static void FromByteArray(byte[] bytes, out double val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2365
static string ToReadableString(this object o, string indentation=ArrayIndentation, string openBracket=ArrayBracketOpen, string closedBracket=ArrayBracketClosed, string separator=ArraySeparator)
Converts the specified object o to a readable string.
Definition: CollectionExtensions.cs:97
XmlNode GetNextNode(string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1531
Contains a set of model parameters as ModelParameterType objects, accessible by string keys,...
Definition: ModelParameterSetFixedBase.cs:17
void Register()
Registers the current object. Subsequent calls (after the first one) have no effect.
Definition: UtilIdRegistration.cs:336
XmlNode GetRootNode()
Returns the root node of XML data.
Definition: XmlUtilities.cs:186
override bool HasDerivativeCylindrical
Definition: CylindricalBilliardKnot.cs:65
object mainlock
Definition: WaitCondition.cs:48
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: ApproxBasis.cs:50
virtual string ZType
Definition: VectorFunctionDto.cs:137
double Intensity
Intensity (brightness of the light). Default = 1.0
Definition: LightingDefinition_05.cs:32
virtual vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
static bool TryParseThreadPriority(string str, ref ThreadPriority parsedValue)
Tries to parse a string representation of a ThreadPriority enum.
Definition: Utils.cs:2940
HyperbolicParaboloid()
Construct a definition of a unit-scaled hyperbollic paraboloid.
Definition: Function3d2d.cs:832
int NumHiddenNeuronsFirstMax
Maximum number of hidden neurons in first hidden layer.
Definition: SerializationDtoNeural.cs:832
void ExtractInputsComplement(IndexList filterIndices, ref IVector[] extracted)
Extracts the specified vectors (complement of the index list) of input parameters from the current sa...
Definition: SampledData.cs:443
VectorFunctionScriptDto()
Creates a DTO for storing state of a script based scalar function objects of any type.
Definition: VectorFunctionDto.cs:271
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntIEnumerableToIntListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:95
bool SetTextLogger(string filename, bool append, bool writeintro)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:4967
UnstructuredMesh2d(int length, string fieldName)
Constructs a new 2D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh2d.cs:43
override bool IntegralDefined
Definition: FunctionRealWeight.cs:772
virtual string CmdRunParallel(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Runs the specified command-line in parallel thread.
Definition: CommandlineApplicationInterpreter.cs:4763
virtual string AppKeyGenerationAll(string appName, string[] args, bool measureTimes, int numGenerations)
Executes command-line action - one of the actions related to key generation.
Definition: UilCryptoAux1.cs:3146
override void TestMain(string[] args)
Runs tests from scripts according to hard-coded settings.
Definition: LoadableScriptBase.cs:790
bool Condition()
Returns true if unblocking condition is satisfied, and false otherwise.
void Read()
Reads 3D matrix components from a console.
Definition: Matrix3DClass.cs:838
static List< int > static IList< int > IntIList
Sample IList of int (type IList<int>, actual type CustomList<int>), for use in tests.
Definition: SampleCollections.cs:27
virtual void ReadAppSettingsBasic(string groupname)
Reads settings for a specified named group of reporters from the application configuration file....
Definition: ReporterMsg.cs:2349
double _learningRate
Definition: NeuralApproximatorBase.cs:603
void Reset()
Definition: VectorBase.cs:183
const string CryptoTimeKeyGeneration
Definition: ScriptAppBase.cs:1353
static bool DoLaunchConsoleWarningsOnBinarFormatterUse
Specifies whether informational messages are written to console when the BinaryFormatter is used.
Definition: UtilSystem.cs:5526
double Modulus
Alias of the property R.
Definition: Complex.cs:214
virtual string EvaluationFunctionName
Name of the function used for evaluation of expressions.
Definition: ExpressionEvaluatorCompiled.cs:107
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
static void Negate(IVector a, ref IVector result)
Stores a negative vector of the specified vector to another vector. Resulting vector is allocated or ...
Definition: VectorBase.cs:1337
@ MD5
Specifies the MD5 hashing algorithm.
void Negate()
Negates the matrix.
double xy
Definition: Matrix2D.cs:351
ICommandLineApplicationInterpreter _script_interpreter
Definition: LoadableScriptBase.cs:452
override string ToString()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:107
string MsgOptInputReadyPath
File path of the optimization input data ready flag file. Setter takes only pure file name,...
Definition: OptFileManager.cs:513
TIndexField GetIndexField(string name)
Returns index field with the specified name.
Definition: UnstructuredMesh3dGeneric.cs:119
override mat2 Hessian(vec2 parameters)
Calculates and returns Hessian of the current 2D quadratic function and returns it (in the form of a ...
Definition: Function2d.cs:594
Thread _thread
Definition: WaitConditionFile.cs:52
bool CommandStopServing
Flag indicating whether the server should be stopped. If set to true and server thread is runing,...
Definition: ParallerJobDispatcherBase.cs:507
void Warning(string warningstr)
Prints out a warning related to timer use.
Definition: UtilTime.cs:146
abstract T Deserialize< T >(Stream deserializationStream)
Deserializes an object from the specified stream containing JSON representation of the object....
string ToStringMath()
Returns a string representation of the current analysis results object in a standard IGLib form (Math...
Definition: AnalysisResults.cs:2234
string MsgRequestEnd
Definition: IpcStreamClientServerBase.cs:521
virtual int Index2
Definition: SerializerBase.cs:687
static string[,] StringArray2x3
Sample 2D rectangular array of strings (type string[,]), for use in tests. Dimensions of the array ar...
Definition: SampleCollections.cs:45
virtual IMatrix GetNew(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensions, and of the same type as the current m...
Definition: MatrixBase.cs:392
FieldCollection< TIndexField, TIndex > IndexFields
Gets the collection of index fields of the current mesh.
Definition: UnstructuredMesh1dGeneric.cs:71
virtual ILoadableScript CreateObject(string[] initializationArguments)
Creates and returns an object of the class that has been last compiled. The created object is also st...
Definition: Loader.cs:1453
static AsymmetricAlgorithmType[] _asymmetricTypes
Definition: UtilCrypto.cs:3749
Base class for reporter classes that contain either reporting via system console, reporting via messa...
Definition: ReporterMsg_Derived.cs:40
int Get_HashCode3()
A candidate for object.GetHashCode() override.
Definition: Complex.cs:871
bool LiesOutside(int componentIndex, double coordinate)
Returns true of the specified co-ordinate lies outside of the bounding box, and false otherwise.
Definition: BoundingBox.cs:684
bool IsKeyScalingLengths(string str)
Whether the specified string is a keyword introducing variable scaling lengths.
Definition: SampledDataCsv.cs:771
static bool CheckHashHex(byte[] bytesToCheck, string hashValue, HashType hashAlgorithmType)
Chechs the specified type of hash value of a byte array.
Definition: UtilCrypto.cs:722
static readonly PhysicalConstant EarthPolarRadius
Earth polar radius, 6,356.8 km.
Definition: Constants.cs:1399
double AlphaMin
Minimum limit for alpha value.
Definition: NeuralTrainingParameters.cs:1368
Base class for various utilities operating on XmlDocumnt.
Definition: XmlUtilities.cs:853
LoadableScriptScalarFunctionBase Creator
Returns an object of the dynamically compiled class that can create function objects.
Definition: ScalarFunctionScriptLoader.cs:1003
Definition: CloseBracketStrategy.cs:1
Complex Cot()
Definition: Complex.cs:782
void Read()
Reads 2D vector components from a console.
Definition: Vector2Dclass.cs:546
vec3 Vec
Gets the struct representation of this 3D vector.
Definition: Vector3Dclass.cs:345
bool IsInput
Whether the column belongs to input elements.
Definition: SampledDataCsv.cs:1146
bool IsDeleteOriginal
Specifies whether the original files should be deleted.
Definition: UilCryptoAux1.cs:404
double FunctionArgumentFirst
First argument where grid generation function is evaluated.
Definition: GridGenerator1dFunc.cs:96
void AddField(TField field, string name)
Adds the specified to the collection under a specified name.
Definition: FieldCollectionGeneric.cs:264
void Normalize()
Normalizes the current vector.
const string DefaultCsvSeparator
The default separator in the CSV files - comma (",").
Definition: StringTable.cs:1095
@ DES
Specifies the DES symmetric encryption algorithm.
XmlNode _parent
Definition: XmlUtilities.cs:1288
int _maxIterations
Definition: OptimizationInputData.cs:242
abstract double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
static void SaveDefinitionDataCSV(string filePath, InputOutputDataDefiniton definitionData)
Saves definition data to CSV file.
Definition: SampledData.cs:2068
virtual int OutputLength
Gets or sets the number of output neurons.
Definition: NeuralTrainingParameters.cs:123
XmlNode GoToMark(string name, bool removemarks)
Restores the parser state to the state contained in the last mark with the specified name....
Definition: XmlUtilities.cs:1735
virtual void SetVariable(string variableName, int value)
Command - sets an integer interpreter variable.
Definition: InterfaceInv.cs:294
static bool DefaultIsTestMode
Default value of test mode flag.
Definition: ParallerJobDispatcherBase.cs:1029
XmlNode RemoveMarks(string name)
Removes all marks from the last mark with the specified name on the list and returns the current node...
Definition: XmlUtilities.cs:1832
static new bool GlobalInitialized
Definition: ReporterMsg_Derived.cs:381
string RunCode(string code, string className, string[] initializationArguments, string[] runArguments)
Creates and runs a loadable script object form code.
Definition: Loader.cs:1584
static void KroneckerProduct(Matrix m1, Matrix m2, Matrix result)
Kronecker product, A(m*n)*B(p*q)=C(mp*nq) Result is a block matrix with as many blocks as there are e...
Definition: Matrix.cs:977
object _mainLock
Definition: CommandlineApplicationInterpreter.cs:201
static void CopyRecursive(DirectoryInfo source, DirectoryInfo target)
Recursively copies contents of the source directory to the target directory.
Definition: UtilSystem.cs:5164
static string GetCertificateStoreDescription(int outputLevel=0, string storeName=null, int storeLocation=(int) StoreLocation.CurrentUser|(int) StoreLocation.LocalMachine)
Returns a string that contains human readable description of certificate stores.
Definition: UtilCrypto.cs:4185
static ScriptLoaderBase _global
Definition: Loader.cs:415
void Load(TextReader txtReader, bool forceoverwrite)
Loads data store'result XML Doc from atext reader.
Definition: XmlUtilities.cs:151
SortedDictionary< int, T > _register
Definition: ObjectRegister.cs:37
double _maxX
Definition: Function3d2d.cs:724
virtual void RemoveAllCommands()
Removes all commands from the current interpreter.
Definition: CommandlineApplicationInterpreter.cs:2775
static int[] IntArray
Sample array of int (type int[]), for use in tests.
Definition: SampleCollections.cs:20
virtual void SetValue(double value)
Sets the value of the function.
Definition: FunctionScalarResults.cs:254
Definition: SampleClasses.cs:432
int Compare(IAnalysisResults an1, IAnalysisResults an2)
Compares two sets of analysis results points.
Definition: AnalysisComparer.cs:169
abstract double Value(double x, double y, double z)
Calculates and returns value of the current 3D scalar function.
void LoadNetwork(string filePath)
Restores neural network from a file where it has been stored before.
void CopyFromMatNetNumericsMatrix(Matrix_MathNetNumerics A)
Copies components from a specified MathNet.Numerics matrix.
Definition: Matrix.cs:732
UnStructuredMesh2d(int dim1, int dim2, string fieldName)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: test_to_delete.cs:44
bool CopyReferences
Indicates whether just references can be copied when setting function parameters or results....
Definition: FunctionScalarResultsInt.cs:38
const string FileHelpTestArguments
Definition: ScriptAppBase.cs:84
Script_CommandAdapter(LoadableScriptBase script, Script_CommandDelegate scriptCommand)
Definition: LoadableScriptBase.cs:487
virtual void FileAnalysisStandard(string analysisExecutable, string analysisCommandName, string workingDirectory)
Command - runs an external analysis program that exchanges intoermation through files....
Definition: InterfaceInv.cs:477
NamedPipeClientBase()
Definition: IpcNamedPipes.cs:383
static void ExampleBlockCreateRemove(string filePath, int numSwitches, bool waitDirectory)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:540
static string _defaultKeyNumOutputParameters
Definition: SampledDataCsv.cs:127
Definition: TestBase.cs:82
static int Combine< T1, T2, T3 >(T1 value1, T2 value2, T3 value3)
Definition: HashCodeHelper.cs:59
bool IsInputDataConsistent(InputOutputDataDefiniton dataDefinition)
Definition: NeuralMapData.cs:793
Rosenbrock(IAffineTransformation transf)
Creates a new transformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:584
void Tabulate(double from, double to, int numPoints)
Tabulates the current function and its first and second derivatives (when available) on the specified...
Definition: FunctionReal.cs:278
string GetVariableValueLocked(string varName)
Gets the variable within lock on the Lock property and returns it.
Definition: CommandlineApplicationInterpreterBase.cs:1397
string _msgFunctionOutputReadyPath
Definition: NeuralFileManager.cs:868
virtual void MapOutput(IVector values, ref IVector mappedValues)
Maps (scales and shifts) vector of output values to the vector of neuron outputs.
Definition: NeuralApproximatorBase.cs:1937
static char ResourceSeparator
Gets the character that is used to separate resource from the resource file (.resources).
Definition: UtilSystem.cs:3586
static bool operator==(mat2 a, mat2 b)
Vector comparison.
Definition: Matrix2D.cs:870
static bool operator==(Counter a, Counter b)
Definition: Scalar.cs:525
override void Hessian3(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the third component, just throws the NotImplementedException exce...
Definition: Function3d2d.cs:179
Scalar variable.
Definition: Vartypes.cs:120
virtual void NegativeVector(IVector< ElementType > result)
Definition: VectorBase.cs:392
static bool CheckStringHashSha256Hex(string stringToCheck, string hashValue)
Checks whether the specified SHA-256 hash value matches the actual hash value of the specified string...
Definition: UtilCrypto.cs:1107
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: OptFileAnalaysisServer.cs:43
string MessagePrefixWithSeparator
Gets the mesage prefix with separator. If some string is a message, everything that follows this stri...
Definition: ClientServerStreamBase_Copy.cs:266
StructuredMeshGeometry3d()
Constructs a new empty 3D field (no elements contained) with no name and no description.
Definition: StructuredField3dGeneric.cs:18
int Dim3
Gets or sets the second dimenson of the structured mesh (number of mesh points in the second directio...
Definition: StructuredField3dGeneric.cs:198
void SetUnit(int which)
Sets the current vector to the specific unit vector (one component equals 1, others are 0).
virtual double SquaredNorm
Squared Euclidean norm, sum of squared components.
Definition: VectorBase.cs:435
CspProviderFlags _asymFlags
Definition: UilCryptoAux1.cs:202
static void GetAppSetting(string key, ref char value, out bool assigned)
Reads a character value from the application configuration file and assigns it to the specified varia...
Definition: ReporterMsg.cs:1816
string _errorString
Definition: AnalysisResultsDto.cs:206
static string GetFileHashSha256Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA256 hash string of the specified stream.
Definition: UtilCrypto.cs:1201
static string ToString(CspKeyContainerInfo keyInfo, int numIndent=0)
Creates and returns a string that presents the key information contained in the argument keyInfo .
Definition: UtilCrypto.cs:3994
virtual void RemoveAllReferencedAssemblies()
Removes all assemblies from tehe list of referenced assemblies.
Definition: Loader.cs:1096
double GetNode(int which)
Returns the specified node of the generated grid. If necessary, grid is generated first in order to o...
static void Negate(mat2 m, ref mat2 res)
Negates the specified 2D matrix and stores its copy in the resulting matrix.
Definition: Matrix2D.cs:748
double Zero
Returns the first zero of the current quadratic function. Throws InvalidOperationException if the fun...
Definition: FunctionRealInterpolation.cs:532
static void TestFunction(IFunc2d f, double xmin, double xmax, double ymin, double ymax, int numPoints)
Demonstrates use of a 2D function by printing to the console some values and gradients of the functio...
Definition: Function3d2d.cs:655
double a
Width of the paraboloid around which the curve wraps.
Definition: ParabolicBasinCurve3D.cs:31
IDisposable BeginScope< TState >(TState state)
static void KillFirstProcess(string processName)
Kills the first running process found that has the specified process name.
Definition: UtilSystem.cs:774
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: NeuralApproximatorBase.cs:178
bool TryConvert(object source, out object target)
override int ColumnCount
Gets the second dimension (number of columns) of the 3D matrix, i.e. 3.
Definition: Matrix3DClass.cs:291
virtual double GetValue()
Returns the value of the function.
Definition: FunctionScalarResults.cs:249
string[] GetBlockExitCommands()
Returns the array of commands that can exit the current kind of code block.
Definition: CommandlineApplicationInterpreterBase.cs:1035
int GetNuIterations()
If the generator has public parameters (flag IsParametersPublic) then the number of iterations is ret...
Definition: UtilCryptoAux.cs:813
FieldCollection< TIndexField, TIndex > IndexFields
Gets the collection of index fields of the current mesh.
Definition: UnstructuredMesh3dGeneric.cs:71
virtual bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: OptimizationInputData.cs:159
static Scalar operator+(Scalar s)
Definition: Scalar.cs:154
const string AssemblyHelpReferenced1
Definition: ScriptAppBase.cs:4161
PasswordAlgorithmDeriveBytes(bool publicParameters)
Definition: UtilCryptoAux.cs:957
bool _appSystemCommandsInitialized
Definition: ScriptAppBase.cs:3770
virtual string CryptoFunctionAsymKeyInfo(string appName, string[] args)
Executes embedded application - printing infomration about the specified asymmetric key.
Definition: ScriptAppBase.cs:1460
void ReadElementMinimalValues()
Reads minimal values of input and output data elements from the CSV, from the current position on (in...
Definition: SampledDataCsv.cs:2721
Converts a value to its string representation using invariant culture, only if it can be parsed back ...
Definition: ToStringTypeConverterViaParseReflection.cs:12
override void ModuleInitializationAfter()
A method called after other initializaton parts of the module.
Definition: App.cs:56
Definition: UtilReflectionCore.cs:7
PointContainerType CreateRandomPointContainer(int spaceDimension)
Creates and returns a new point container with random co-ordinates that fall between 0 and 1 (inclusi...
Definition: PointCloud.cs:387
virtual void SpecificTypeConverter_Speed_RoundTripConversion_DoubleToIntObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:216
TimeSpan TotalTimeSpan
Definition: UtilTime.cs:415
bool _isChecked
Definition: UilCryptoAux1.cs:374
int NumCommandThreads
Returns the number of command threads that are currently contained on the interpreter.
Definition: CommandlineApplicationInterpreter.cs:253
override VectorFunctionScriptController CreateVectorFunctionController(int numParameters, int numValues)
Creates and returns a new vector cast to the interface type IVector.
Definition: VectorFunctionDto.cs:286
BaseClass()
Definition: SampleClasses.cs:16
CommandStackFrame(CodeBlockType blockType, CommandThread< InterpreterType > thread, int stackLevel)
Constructor.
Definition: CommandlineApplicationInterpreterBase.cs:772
ParallelJobDispatcherBase _dispatcher
Definition: ParallelJobContainerBase.cs:186
static void MultiplyInverseDiagonalPlain(IVector diag, IMatrix a, IMatrix result)
Left-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified re...
Definition: MatrixBase.cs:4526
virtual double[] GetParameters()
Returns parameters of the current parametric function as an array.
Definition: FunctionRealParametric.cs:294
Creation of a number of standard real mathematical functions in one dimension. Conttains subclasses f...
Definition: FunctionRealBasic.cs:36
static bool _defaultIsMultilineResponse
Definition: IpcStreamClientServerBase.cs:727
override void CopyToPlain(ref MappingDefinitionElement obj)
Definition: NeuralMapData.cs:73
void Report(ReportType messagetype, string location, string message, Exception ex)
Basic reporting method (overloaded). Launches an error report, a warning report or other kind of repo...
void SetValues(List< double > values)
Sets the list of function values. If CopyReferences=true (false by default) then only the list refere...
TField _activeField
Definition: FieldCollectionGeneric.cs:195
abstract double Value(double x)
Returns the value of this function at the specified parameter.
void NotifyJobStarted(ParallelJobServerBase< JobContainerType > server, JobContainerType job)
Notifies the current dispatched that the specified job has started on the specified server.
Definition: ParallerJobDispatcherBase.cs:811
static double CholeskyDeterminant(IMatrix CholeskyMatrix)
Calculates and returns determinant of a square symmetric matrix form its specified Cholesky decomposi...
Definition: MatrixBase.cs:6777
CylindricalBilliardKnot(int n, int p, double a=0.3)
Definition: CylindricalBilliardKnot.cs:34
TrackedThread(ThreadStart start, int maxStackSize)
Creates a new tracked thread with the specified thread start delegate and the specified maximal stack...
Definition: TracedThread.cs:70
virtual void EnterElseIf(CommandThread cmdThread, bool condition)
Enters the ElseIf block.
Definition: CommandlineApplicationInterpreter.cs:1045
char ForWhichCharacter
Definition: ICharacterStrategy.cs:6
vec3 NormalizedInfinity()
Returns normalized this 3D vector in infinity norm.
Definition: Matrix3D.cs:174
override void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
Definition: Function3d2d.cs:622
Definition: ErrorOld.cs:25
static void SubtractPlain(IVector a, IVector b, IVector result)
Subtracts two vectors (a - b ) and stores the result in the specified result vector....
Definition: VectorBase.cs:1419
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:1145
string[] _gradientDefinitionStrings
Definition: ScalarFunctionScriptLoader.cs:155
ConicalSpiralFermats3D(double alpha, double a)
Constructor.
Definition: ConicalSpiralFermats3D.cs:25
bool IsInputFormat64
Whether input is in form of base-64 encoded byte array.
Definition: UilCryptoAux1.cs:472
virtual void AddReferencedAssemblies(System.CodeDom.Compiler.CompilerParameters compilerParameters)
Adds referenced assemblies to the specified compiler parameters, according to current settings.
Definition: Loader.cs:1142
DerivedTypesRgistryBasic()
Definition: DerivedTypesRgistryBasic.cs:25
void ExplicitConversion_FromCelsiusToFahrenheit_Works()
Definition: ReflectionTypeConverterTests.cs:100
double a1
Returns the linear term coefficitne of the quadratic function.
Definition: FunctionRealInterpolation.cs:482
List< string > AppCustomNames
List of installed file command names.
Definition: ScriptAppBase.cs:124
int TextWriterWrite(string str)
Writes a string to all text writers of the Writer's TextWriter subsystem.
Vector2d Normalized2()
Normalizes this 2D vector in 2 norm.
Definition: Vector2Dclass.cs:419
static void CalculateIntervalLenghRatios(List< double > nodes, ref List< double > lengthRatios)
Calculates length ratios between subsequent intervals defined by the first list, ans stores it to the...
Definition: GridGenerator1dBase.cs:605
static readonly PhysicalConstant cd
Candela, the basic SI unit of luminous intensity.
Definition: Constants.cs:850
static double Floor(double a)
Returns the largest integer less than or equal to the specified number.
Definition: UtilMath.cs:867
static void SetCurrentDirectory(string directoryPath)
Changes directory to the specified directory.
Definition: UtilSystem.cs:4618
vec3[] _coord
Definition: GrObjects.cs:460
double _maxRelativeLatency
Definition: WaitCondition.cs:247
void SetNumRows(int numRows)
Change the number of rows in the data table to the specified number.
Definition: StringTable.cs:582
File analysis server. Performs direct analyses by request.
Definition: OptFileAnalaysisServer.cs:26
override TField CreateField(int numElements, string name, string description)
Call to this method is invalid for the current type. Call the method with three dimensions instead.
Definition: FieldCollectionGeneric.cs:90
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:166
double EqualityConstraintTolerance
Gets or sets tolerance for equality constraints. When absolute value of a constraint function is belo...
Definition: AnalysisComparer.cs:68
void SetObjectiveHessianReference(IMatrix reference)
Sets the objective functions' Hessian. Only the reference is copied.
void NotifyServerIdle(ParallelJobDispatcherBase< JobContainerType > dispatcher)
Sets the Idle flag to true and notifies the containing dispatcher that the current server object has ...
Definition: ParallelJobServerBase.cs:336
const string ArgBinaryInputFormatLongInt
Binary input format used is long int.
Definition: UtilCryptoAux.cs:539
object _mainLock
Definition: LoadableScriptBase.cs:187
const string CryptoHelpEncryptBasic
Definition: ScriptAppBase.cs:1203
override string ToString()
Definition: SerializerBase.cs:787
IndexList(int initialCapacity)
Creates an empty index table with the specified initial capacity.
Definition: IndexList.cs:28
Complex MultiplyNumbers(Complex a, Complex b)
Definition: NumberOperationsComplex.cs:29
static void MultiplyInverseDiagonal(IMatrix a, IVector diag, ref IMatrix result)
Right-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified r...
Definition: MatrixBase.cs:4722
mat2 DyadicProduct(vec2 v)
Returns dyadic product of the current and the specified vector.
Definition: Matrix2D.cs:189
int NumHiddenLayers
Definition: SerializationDtoNeuralApproximator.cs:38
LoadableScriptScalarFunctionBase _creator
Definition: ScalarFunctionScriptLoader.cs:999
void TypeConversionHelper_RoundTripConversion_IntegerDoubleToIntObjectToInt_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:138
bool IsNegativePhiOnMirrorCone
If true then the curve for negative azimuth angles φ extends to wrap arround the mirror cone of the o...
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:38
void AllocateObjectiveHessian()
Allocates space for objective function Hessian.
override void InitBegin()
Initial part of initialization. Auxiliary object is not affected because default delegates do not uti...
Definition: ReporterMsg_Derived.cs:338
double OutputNorm(IVector vec)
Definition: NeuralTrainingParameters.cs:2885
override double RefValue(double arg)
Returns the value of reference (untransformed) function.
Definition: RealFunctionScriptExample.cs:68
int _ivLength
Definition: UilCryptoAux1.cs:316
static void Example(string scriptPath)
Example of use of the RealFunctionLoader class. Creates a function loader and uses it for dynamic def...
Definition: RealFunctionScriptLoader.cs:652
static void ToByteArray(Int64 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1630
bool _isDecrypt
Definition: UilCryptoAux1.cs:165
bool SetTextWriter(string filename, bool append, bool writeintro)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:4144
AnalysisResultsDto()
Default constructor.
Definition: AnalysisResultsDto.cs:196
double y
Definition: vec3.cs:11
static double Cube(double a)
Returns the square of a specified number.
Definition: UtilMath.cs:1073
double _value
Definition: SerializerBase.cs:578
bool IsKeyTargetValues(string str)
Whether the specified string is a keyword introducing variable target values.
Definition: SampledDataCsv.cs:872
static double tg(double a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:458
string ToStringReadable(int accuracy=4, int padding=8)
Returns a readable an easily string form of a matrix, accuracy and padding can be set.
static ColorScale CreateColorBlindProtanopia(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that is adapted to people with protanopia.
Definition: ColorScale.cs:826
Cholesky decomposition of a matrix. Available for symmetric positive definite matrices.
Definition: MatrixDecompositions.cs:861
LoadableScalarFunctionBase Function
Returns an instance of a scalar function created by the current loader.
Definition: ScalarFunctionScriptLoader.cs:1027
static void TestDifferentiation()
Tests numerical differentiation methods.
Definition: FunctionNumeric.cs:353
virtual void SetXTransformationParameters(double kx, double sx)
Sets parameters of the affine transformation parameters for independent variable.
Definition: FunctionReal.cs:875
ReportLocationDelegate ReportLocationDlgTextWriter
Delegate that assembles the location string for reporting via TextWriter.
Definition: ReporterMsg.cs:4671
static void MultiplyPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B*C. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3095
void ReadElementIndices()
Reads types of elements from the CSV, from the current position on (inclusively).
Definition: SampledDataCsv.cs:2337
XmlNode SetAttribute(string name, string value)
Sets a named attribute of the currently treated node to a specific value. This only works if the curr...
Definition: XmlUtilities.cs:2403
static SerializationTestClass CreateTestObject()
Definition: SerializerBase.cs:943
readonly IDictionary< char, ICharacterStrategy > _strategyCatalog
Definition: JsonPPStrategyContext.cs:80
abstract void InitializeExternalAlgorithm()
Initializes eventual external algorithm used as proxy object to perform operations.
static double arccos(double a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:470
ScalarFunctionBase(IAffineTransformation transf)
Constructs a scalar function that is identical to some reference funciton acting on affine transforme...
Definition: FunctionScalarBase.cs:30
bool CanSetBarrierLength
Whether the gap can be set.
Definition: FunctionRealPenalty.cs:36
EventHandler TrainingCompleted
Event that is fired after completion of training procedure (after auxiliary data is updated).
Definition: NeuralApproximatorBase.cs:490
Output data element mapping definition for neural networks.
Definition: NeuralMapData.cs:494
static IList< Assembly > GetReferencedAssembliesRecursive(IList< Assembly > assemblyList, bool clearBefore=true)
Adds the executable assembly and all its referenced (directly or indirectly) assemblies to the specif...
Definition: UtilSystem.cs:2520
new Vector2d Normalized()
Normalizes this 2D vector.
Definition: Vector2Dclass.cs:411
BoundingBox(IBoundingBox bounds)
Constructs a bounding box of the specified dimension and initializes it in such a way that its bounds...
Definition: BoundingBox.cs:1445
virtual double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionScalarParametric.cs:362
string NeuralApproximatorType
Definition: SerializationDtoNeuralApproximator.cs:44
IWaitFileEvent _creation
Definition: WaitConditionFile.cs:1124
static void ClearResolveFailed(ResolutionIdentity resId)
Definition: UtilSystem.cs:2730
virtual void SetConstraints(List< double > values)
Sets the list of constraint function values. If CopyReferences=true (false by default) then only the ...
Definition: AnalysisResults.cs:545
bool WarnCommandReplacement
Specifies whether a wrning should be launched whenever an installed command is being replaced.
Definition: CommandlineApplicationInterpreter.cs:375
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: Optimizer.cs:216
Matrix2d(mat2 m)
Initializes components of a 2D matrix with components of the specified matrix.
Definition: Matrix2DClass.cs:70
override double f3(double u, double v)
Definition: Function3d2d.cs:1402
static void SleepSeconds(double sleepTimeInSeconds)
Suspends execution of the current thread for the specified time (in seconds).
Definition: Utils.cs:128
static void Copy(MatrixBase_MathNetNumerics a, IMatrix result)
Copies components of a matrix to another matrix. WARNING: dimensions of the copied matrix and result ...
Definition: MatrixBase.cs:1605
TIndexField _activeIndexField
Definition: StructuredMesh3dGeneric.cs:89
Vector2d Multiply(Vector2d b)
Right-multiplies the current 2D matrix with the specified 2D vector and returns the product.
Definition: Matrix2DClass.cs:630
List< IVector > ErrorsVerificationMaxList
Convergence List of Maximal errors calculated on verification data.
Definition: NeuralTrainingParameters.cs:525
void Append(char ch)
Appends the specified character at the end of the buffer.
Definition: StringParserBuffer.cs:174
bool _valueDefined
Definition: Function2d.cs:129
void AddCommand(string commandName, TCommand command)
void UpdateAll(params double[] coordinates)
Updates the current bounding box in such a way that in all components, all specified coordinates fit ...
static string ToReadableString(this char ch)
Converts a character to a readable string.
Definition: CollectionExtensions.cs:250
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: ScalarFunctionScriptExample.cs:82
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:531
ModelParameterSetFixedBase(string title, string description, params ModelParameterType[] parameters)
Constructor, initializes the current model parameter set, optionally providing parameter objects that...
Definition: ModelParameterSetFixedBase.cs:27
virtual void SetMapOutputElement(int which, OutputMappingDefinitionElement element)
Definition: NeuralMapData.cs:678
void GetIndices(int oneDimensionalIndex, ref int[] tableIndices)
Calculates and stores the multidimensional indices of an element of the multidimensional table of tra...
Definition: NeuralTrainingParameters.cs:2769
void Json_InitOnlyClas_WithReferenceHandler_Deserialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:400
Lissajous curves in 3D are trajectories of a point in space whose rectangular components have a sinus...
Definition: LissajousCurve3D.cs:26
override double GetReferenceCellValue(int cellIndex)
Returns the reference value (in the interval [0, 1]) corresponding to the specified cell in the discr...
Definition: ColorScale.cs:376
int IComparer< NeuralTrainingParameters >. Compare(NeuralTrainingParameters a, NeuralTrainingParameters b)
Definition: NeuralTrainingParameters.cs:3270
new string AppMyTest(string[] arguments)
Test action.
Definition: ScriptAppBase.cs:521
virtual int NumNodes
Gets or sets teh number of nodes to be generated.
Definition: GridGenerator1dBase.cs:278
virtual bool IsJobDefined
Indicates whether the curren job container can itself execute a job by calling either variant of the ...
Definition: ParallelJobContainerGen.cs:243
int Zeros(out double x1, out double x2)
Calculates and returns real zeros of the function. Also returns the number of real zeros (0,...
Definition: FunctionRealInterpolation.cs:492
bool IsReferencedVariableLocal
Gets a flag indicating whether the current variable references a local variable.
Definition: CommandlineApplicationInterpreterBase.cs:583
string _variableReferenceEnd
Definition: InterfaceInterpreterBase.cs:106
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:902
static List< string > _defaultAssemblies
Definition: Loader.cs:297
bool WasBlockExitCommand
Auxiliary flag that indicates whether the last executed command was a block exit command.
Definition: CommandlineApplicationInterpreterBase.cs:1863
const int DefaultSubVersion
Definition: App.cs:841
double CurvePolar(double phi)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
virtual string Name
Returns a short name of thecurrent function.
Definition: FunctionReal.cs:183
static double Atan(double a)
Returns the angle whose tangent is the specified number.
Definition: UtilMath.cs:1213
const string ArgForceOverwrite
If files are to be wasOverwritten, permission is not asked for and overwriting is forced.
Definition: UtilCryptoAux.cs:564
static RealFunction GetWeightReciprocalPower(int power, double Kx, double Sx)
Creates and returns a new real polynomial weighting function object based on reciprocal power functio...
Definition: FunctionRealWeight.cs:241
Type Type
Parameter type.
Definition: IModelParameter.cs:51
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:912
virtual void ClearResults()
Clears the results of grid generation (releases internal structures). The Calculated flag is set to f...
Definition: GridGenerator1dBase.cs:846
mat2 NormalizedForbenius()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix2D.cs:593
string _anInMathFilename
Definition: OptFileManager.cs:130
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntIListToStringIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:40
virtual bool HasDerivative
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:77
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:353
static bool operator!=(ImplicitlyConvertibleToDerived lhs, ImplicitlyConvertibleToDerived rhs)
StructuredMesh3d(int dim1, int dim2, int dim3, string fieldName, string fieldDescription)
Constructs a new 3D (unconnected) unstructured grid with the specified dimensions,...
Definition: StructuredMesh3d.cs:58
TypeConversionHelperTestsObsolete(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: TypeConversionHelperTests_Obsolete.cs:26
RosenbrockGeneralizedAdjacent(IAffineTransformation transf)
Creates a new transformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:710
IComparer that compares the key first and then eventually the value and finally the additional orderi...
Definition: Utils.cs:3289
FieldCollection2d< TVectorField, TVector > VectorFields
Gets the collection of vector fields of the current mesh.
Definition: StructuredMesh2dGeneric.cs:385
void GetAbsoluteCoordinates(IVector relativeCoordinates, ref IVector absoluteCoordinates)
Calculates absolute (physical) coordinates, with respect to the current bounding box,...
Definition: BoundingBox.cs:1159
virtual InputFieldDefinition GetInputFieldDefinition(int fieldId)
Returns an input field definition that corresponds to the specified field ID. Exception is thrown if ...
Definition: SimKosecFileManagerBase.cs:924
IVector _outputFiltered1
Definition: NeuralApproximatorBase.cs:2811
void TypeConversionHelper_RoundTripConversion_OwerflowDoubleToIntObjectToInt_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:152
CryptoFlags
Flags for cryptographic operations.
Definition: UtilCryptoAux.cs:137
IndexListDto()
Creates a DTO for storing state of a bounding box object of any vector type
Definition: IndexListDto.cs:33
vec3 AreaSize
Size of the light source (only for Area lights).
Definition: LightSource.cs:54
static string GetAbsolutePath(string path)
Returns the absolute path of the specified path (which can be relative or absolute or whatever legal ...
Definition: UtilSystem.cs:4641
override void InitDynamic()
Initialization of variables that are used by dynamic loading mechanisim.
Definition: RealFunctionScriptExample.cs:50
ComponentFunctionBase()
Definition: Function3d2d.cs:484
override SampledDataElement CreateObject()
Creates and returns an object consistent with current contents of the vector.
Definition: SampledDataDto.cs:50
virtual void LoadModule(string moduleName)
Loads and initializes the specified module.
Definition: CommandlineApplicationInterpreter.cs:2804
Temporary logging of errors, warnings and infos for later processing. It is used to log multiple even...
Definition: LoggerMsg.cs:325
List< string > _commandLines
Definition: CommandlineApplicationInterpreterBase.cs:1268
override void CloseConnection()
Closes the server pipe.
Definition: IpcNamedPipes.cs:644
bool IsDataColumnDefinitionsDefined
Whether a full list of data columns is defined.
Definition: SampledDataCsv.cs:1284
static void FromByteArray(byte[] bytes, out UInt16 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2095
int FindTW(List< TWClass > lwriters, string filename)
Returns the first object on the list whose TextWriter has been created from a file with the specific ...
Definition: ReporterMsg.cs:3869
override int GetHashCode()
Returns the hash code (hash function) of the current matrix.
Definition: Matrix.cs:1273
UnstructuredMesh2d()
Constructs a new empty 2D (unconnected) unstructured grid (no elements contained) with no name and no...
Definition: UnstructuredMesh2d.cs:26
const string VarNameIntegralDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: RealFunctionScriptLoader.cs:133
static void FromByteArray(byte[] bytes, out float val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2313
virtual string ClassName
Definition: Loader.cs:755
CommandStackFrame(CodeBlockType blockType, CommandThread thread, int stackLevel)
Constructor.
Definition: CommandlineApplicationInterpreterBase.cs:693
override int Next(int maxValue)
Returns a nonnegative random number LESS THAN the specified maximum.
Definition: Random.cs:403
virtual string AppGetInitializationVector(string appName, string[] args)
Executes command-line action - generates a random initialization vector for symmetric encryption.
Definition: UilCryptoAux1.cs:3002
virtual vec3 Gradient(vec3 parameters)
Calculates and returns gradient of the current 3D scalar function.
Definition: Function3d.cs:199
virtual string CmdTestProduct(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for test command, which just prints its name and arguments.
Definition: CommandlineApplicationInterpreter.cs:6451
void CopyToObject(ref object obj)
Copies data from the current DTO to an object of type object. Object is created anew if necessary by ...
double ConstantValue
Value of the current constant function.
Definition: FunctionRealBasic.cs:545
string _neuralDataDefinitionPath
Definition: NeuralFileManager.cs:131
static void OrthoNormalizeGramSchmidtNonRobust(IList< IVector > original, ref IList< IVector > resOrthogonal, ref IVector resNorms, ref IVector auxProjection, double tolSize=0, bool normalize=false, bool modifiedGrammSchmidt=true)
Performs the Gramm-Schmidt orthogonalization procedure in order to calculate a set of orthonormal vec...
Definition: VectorBase.cs:2544
static void ArraySubtractPlain(IVector a, double scal, IVector result)
Subtraction of a scalar from all components of a vector. This is a plain version of the method that d...
Definition: VectorBase.cs:1665
int _numNodes
Definition: GridGenerator1dBase.cs:274
List< String > _exponentStrings
Definition: StringParser.cs:151
UnstructuredMeshGeometry3d(int numElements, string fieldName)
Constructs a new unstructured grid with the specified number of elements and name.
Definition: UnstructuredMeshGeometry3dGeneric.cs:32
List< string > _referencedAssimblies
Definition: Loader.cs:1008
QuadraticBasis()
Definition: ApproxBasis.cs:274
const string ArgKeyHexBytes1
Specification that key as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:426
const string VarNameReturnedValueName
Name of variable (internal in class defined in loadable script) that holds the name of local variable...
Definition: RealFunctionScriptLoader.cs:57
static double Max(double a, double b, double c, double d, double e)
Largest of five numbers.
Definition: UtilMath.cs:929
static Matrix3d CreateFromColumns(IList< IVector > columnVectors)
Construct a complex matrix from a set of real column vectors.
Definition: Matrix3DClass.cs:169
virtual DateTime StartTime
Gets The starting time of the program (time when program data was initialized).
Definition: App.cs:1066
Matrix GetNewThis()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix.cs:834
const string AssemblyResources1
Definition: ScriptAppBase.cs:3987
void AddVector(IVector< ElementType > b, IVector< ElementType > result)
Definition: VectorBase.cs:263
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:1167
int tcpTimeout
Definition: PortScanner.cs:23
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArray2DToStringJaggedArray2DObjectToIntJaggedArray2D()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:714
virtual void SpecificTypeConverter_Speed_RoundTripConversion_DerivedClassToBaseClassObjectToBaseClass_IsCorrect()
Definition: BasicTypeConverterTests.cs:230
static int _counter
Definition: Utils.cs:3141
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealPenalty.cs:273
WeightPol3(double Kx, double Sx)
Definition: FunctionRealWeight.cs:472
virtual void SpecificTypeConverter_RoundTripConversion_NonintegerDoubleToIntObjectToInt_IsCorrect()
Definition: BasicTypeConverterTests.cs:80
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: SerializationDtoNeural.cs:790
virtual string[] GetArguments(string commandLine)
Parses a command line and extracts arguments from it. Arguments can be separated according to usual r...
Definition: CommandlineApplicationInterpreter.cs:1232
List< Mark > marks
Definition: XmlUtilities.cs:1650
Converts a value to its string representation using IConvertible and invariant culture....
Definition: ToStringTypeConverterViaIConvertible.cs:11
static IList< Assembly > GetReferencedAssembliesWithoutGac(IList< Assembly > assemblyList, bool clearBefore=true)
Adds the executable assembly and all its referenced assemblies (directly or indirectly) without those...
Definition: UtilSystem.cs:2418
virtual bool CopyReferences
Indicates whether just references can be copied when setting function parameters or results....
Definition: FunctionScalarResults.cs:157
virtual int OutputLength
Number of output values in sampled data.
Definition: SampledDataDto.cs:130
static int DefaultNumHiddenNeuronsFirstMax
Default value for number of hidden neurons in first hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1270
GridGenerator1dFunc(double from, double to, int numNodes, IRealFunction function, double firstFunctionArgument, double lastFunctionArgument)
Creates a 1D grid generator where grid point positions are calculated by the specified function.
Definition: GridGenerator1dFunc.cs:34
List< string > AppCustomHelpStrings
List of help strings corresponding to installed file commands.
Definition: ScriptAppBase.cs:127
Extension of type double by a struct. Provides binary operaror ^ (left operand raised to the power of...
Definition: UtilMath.cs:1346
static mat2 Copy(mat2 m)
Returns a copy of the specified 2D matrix.
Definition: Matrix2D.cs:740
static void LoadCsv(string filePath, string separator, ref IVector vecRestored)
Reads a vector written in CSV format from a file. If there are no components then a null vector is re...
Definition: ScalarFunctionScriptController.cs:1074
double StartParameter
Definition: TorusKnot3D.cs:66
static PasswordAlgorithmBase GetPasswordAlgorithmNoneSingleton()
Returns password algorithm that does not change the password provided as initialization parameters.
Definition: UtilCrypto.cs:202
string _appDomainName
Definition: Loader.cs:635
int OutputLevel
Definbes level of output on console that is generated by some operations. 0 means that no output will...
Definition: Loader.cs:453
NumberType Pow(NumberType a, int n)
Returns a raised to the integer power n .a raised to n .
static object LockGlobal
Static lock object used by all instances of this class (and possibly by other classes).
Definition: ClientServerStreamBase_Copy.cs:54
string ActiveScalarFieldName
Gets or sets name of the currently active scalar field. This determines the currently active scalar f...
Definition: UnstructuredMesh1dGeneric.cs:261
RealFunctionParametricBase()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionRealParametric.cs:253
const string CryptoHelpGetSalt
Definition: ScriptAppBase.cs:1287
double StartParameter
Definition: TrefoilKnot3D.cs:45
void SetCoefficients(double a3, double a2, double a1, double a0)
Sets coefficients of the cubic function represented by the current object.
Definition: FunctionRealInterpolation.cs:887
override void InitializeThis(string[] arguments)
Inializes the current script object.
Definition: LoadableScriptExamnple.cs:45
virtual void SetMapInputElement(int which, InputMappingDefinitionElement element)
Definition: NeuralMapData.cs:670
int GetIndex(int[] indices)
Returns the index of the element in the onedimensional list that corresponds to the specified indices...
Definition: NeuralTrainingParameters.cs:2719
delegate ref TResult FuncRef< TResult >()
A generic delegate that returns a reference to an object of the specific type.
Definition: TypeConversionHelperObsolete.cs:19
virtual void RespondToRequest()
Reads a single request from the client and sends back the response.
Definition: IpcStreamServerBase.cs:279
bool IsCompiled
Whether the current function definition has been compiled or not.
Definition: ScalarFunctionScriptLoader.cs:975
void Example11_1_ExportConicalSpiralArchimedian3DTube(int numLongitudinal, int numTransverse, double radius, double alpha=1.5, double a=1.0)
Creeates a tubular surface mesh from a helix parameterization, HelixCurve3D.
Definition: TubularSurfaceExportExamplesTests.cs:754
static void TestClosestPoints(int numClosestPoints, bool printByComponents, PointContainerType[] referencePoints, IDistanceComparer< PointContainerType, PointType > comparerInput, List< PointContainerType > trainingPoints)
For each point in the specified array, the training points are sorted according to the distance to th...
Definition: PointCloud.cs:772
RealFunctionOneParametric(IVector parameters)
Cobnstructor. Creates a new one parametric function with the specified parameters.
Definition: FunctionRealParametric.cs:155
InterfaceInterpreterBase()
Definition: InterfaceInterpreterBase.cs:25
void AppendIndents(int indents)
Definition: JsonPPStrategyContext.cs:45
object ConvertJaggedToRectangular(Array sourceArray, Type targetType)
Converts a uniform jagged array to a rectangular array if shapes match.
Definition: CollectionTypeConverter.cs:236
IVector _errorsVerificationMax
Definition: NeuralTrainingParameters.cs:512
const string KeyTextLoggerFile1
Definition: ReporterMsg.cs:2328
double _momentumMax
Definition: NeuralTrainingParameters.cs:1345
bool IsKeyElementIndices(string str)
Whether the specified string is a keyword introducing variable element indices names.
Definition: SampledDataCsv.cs:696
int TextWriterWriteLine(string str)
Similar to TextWriterWrite(), except that a newline is added at the end of the string.
static vec2 operator-(vec2 a, vec2 b)
Vector Subtraction.
long ToInt(double tolerance=0.0)
Definition: Complex.cs:352
virtual int RowCountSetter
Sets the first dimension (number of rows) of the matrix. This setter must be used very restrictively ...
Definition: Matrix.cs:568
XmlNode Root
Root node of the current document.
Definition: XmlUtilities.cs:1151
static int Read(ref Counter result, string str, int startpos, bool skipspaces)
Reads a counter from a string, starting at a specified position. Returns the position of the first ch...
Definition: Scalar.cs:628
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: SerializationDtoNeural.cs:96
VectorDtoBase InputRange
Range from actual inputs.
Definition: SerializationDtoNeural.cs:75
override LoadableScalarFunctionBase CreateScalarFunction(IAffineTransformation transf)
Creates and returns a new scalar function object where functions are defined by compiled user defined...
Definition: ScalarFunctionScriptExample.cs:31
override bool Condition()
Returns false if the monitored directory exists, and true if not.
Definition: WaitConditionFile.cs:1514
string MyName1
Definition: SampleClasses.cs:217
int NumSentJobs
Gets the number of sent jobs (all jobs sent to the current dispatcher for execution).
Definition: ParallerJobDispatcherBase.cs:1154
bool WasBlockEnterCommand
Auxiliary flag that indicates whether the last executed command was a block enter command.
Definition: CommandlineApplicationInterpreterBase.cs:1852
InterpreterVariable GetVariableDef(string varName)
Returns variable object (definition) for the variable with specified name.
Definition: CommandlineApplicationInterpreterBase.cs:1382
static StringParser Global
Definition: StringParser.cs:497
static PasswordAlgorithmBase _passwordAlgorithmNone
Definition: UtilCrypto.cs:197
PointContainerVector(IVector point, int index)
Definition: PointCloudConcrete.cs:78
double XY
XY component.
Definition: Matrix2DClass.cs:308
bool IsEncrypt
Whether decryption is perrformed, rather than encryption.
Definition: UilCryptoAux1.cs:168
virtual void SendResponse(string responseString)
Sends the specified response string back to the server.
Definition: IpcStreamServerBase.cs:221
double ReferenceSecondDerivative(double x)
Definition: FunctionReal.cs:1325
In methods of this class you will find all the settings that apply to this script.
Definition: LoadableScriptBase.cs:785
static color ScaleRed(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:627
void AddAssemblyCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new assembly - related embedded application's command (added as sub-command of the base comman...
Definition: ScriptAppBase.cs:3902
Dictionary< Type, IVectorFactory > FactoryRegistry
Internal dictionary to store and access vector factories by their return type.
Definition: VectorFactoryRegistry.cs:59
static IColorScale CreateBlueGreenYellow(double minValue, double maxValue)
Creates and returns a continuous color scale that runs from blue through green till red color.
Definition: ColorScale.cs:1000
int _numParameters
Definition: OptimizationInputData.cs:81
virtual IVector ObjectiveGradient
Objective function gradient. If CopyReferences=true (false by default) then only the reference is cop...
Definition: AnalysisResults.cs:473
volatile VectorFunctionBase.ObjectStoreResults _resultStore
Definition: FunctionVectorBaseGeneral.cs:575
string _objectNameModified
Definition: SerializerBase.cs:735
static SampledDataSet CreateExampleSimple(int inputLength, int outputLength, int numElements)
Craates and returns a sample object of the encompassing class.
Definition: SampledData.cs:2669
virtual string RunAppNumerics(string[] args)
Runs a numerics related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:629
static Type GetJaggedArrayLeafElementType(Type type)
Recursively gets the leaf element type of a jagged array (e.g., int from int[][][]).
Definition: CollectionTypeConverter.cs:345
static int EigenSystem2d(Matrix3d a, ref Matrix3d eigenvec, ref Vector3d eigenval)
Calculates eigenvectors and eigenvalues of a 2x2 matrix a and stores eigenvectors to lines of eigenve...
Definition: Matrix3DClass.cs:748
bool IsTopTypeArray
Definition: PPScopeState.cs:30
Matrix2d Inverse
Gets inverse of the current matrix.
Definition: Matrix2DClass.cs:591
static xdouble sqr(xdouble a)
Returns the square of a specified number.
Definition: UtilMath.cs:1810
virtual string ReadRequest()
Reads the next request from the pipe.
Definition: IpcStreamServerBase.cs:147
virtual bool ReqConstraintGradients
Indicates whether calculation of constraint functions gradient is/was requested.
Definition: AnalysisResults.cs:994
static double sign(double a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:143
bool SetWriter(Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:3656
static string _defaultKeyElementTypes
Definition: SampledDataCsv.cs:186
Definition: IArrayAccessor.cs:9
List< IMatrix > _constraintHessians
Definition: FunctionScalarResults.cs:97
vec3 GetQuadrilateral(int i, int j)
Definition: StructuredSurfaceMesh3D.cs:122
static string ErrorLocationString0(Exception ex)
Returns location string derived from ex, which includes information about the location where error oc...
Definition: ReporterMsg.cs:6209
static void TestLuDecompositionDemo()
Demonstration of usae of LU decomposition.
Definition: MatrixBase.cs:5931
Container class inherits from M in order to enable use of comfortable mathematical functions.
Definition: ScalarFunctionScriptExample.cs:38
bool CanSetBarrierHeight
Whether the height can be set.
Definition: FunctionRealPenalty.cs:39
string KeyElementTypeInput
A keyword string for input element type in the CSV file containing sampled data and / or data definit...
Definition: SampledDataCsv.cs:455
static xdouble Truncate(xdouble a)
Calculates the integral part of a specified double-precision floating-point number.
Definition: UtilMath.cs:1854
static void SaveJson(NeuralTrainingParameters[] trainingParameters, string filePath)
Saves (serializes) the specified array of training parameters objects to the specified JSON file....
Definition: NeuralTrainingParameters.cs:929
delegate string ResponseDelegate(string request)
Provides an answer string to the specified request string.
virtual double GetSumResiduals(double equalityTolerance)
Returns sum of constraint function values corresponding to violated constraints in the current analys...
Definition: AnalysisResults.cs:1440
virtual void OnTrainingCompleted()
Called after completion of training procedure (after all auxiliary data is updated,...
Definition: NeuralApproximatorBase.cs:2768
PipeServerBase(string pipeName, string requestEnd, string responseEnd, string errorBegin, bool startImmediately=true)
Constructs a new named pipe server with the specified pipe name and other paramters.
Definition: IpcPipes.cs:63
override bool IntegralDefined
Definition: FunctionRealWeight.cs:1157
const AlignmentHorizontal DefaultHorizontalAlignment
Default horizontal alignment.
Definition: Alignment.cs:69
string ConstAttributeLanguage
The language attribute. Specifies the language of the element's content.
Definition: HtmlWriter.cs:98
Complex Tan()
Definition: Complex.cs:776
override IVector CreatePointFromCoordinates(IVector coordinates)
Creates and returns a new point with specified coordinates.
Definition: PointCloudConcrete.cs:47
Vector3d Multiply(Vector3d b)
Right-multiplies the current 3D matrix with the specified 3D vector and returns the product.
Definition: Matrix3DClass.cs:705
override bool InverseDefined
Definition: FunctionRealWeight.cs:599
MaterialProperties MaterialSurfaceLightSkyBlue
Surface material: LightSkyBlue (#87CEFA)
Definition: TubularSurfaceExportExamplesTests.cs:39
Contains a pointer (link) to another point container.
Definition: PointLink.cs:20
virtual void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionRealParametric.cs:308
int NumActualConstants
Gets the number of constants that define the current function. If e.g. the matrix coefficient or the ...
Definition: FunctionScalarExamples.cs:189
void GetErrorsTrainingMeanAbs(ref IVector errors)
Calculates the mean absolute errors of output values for the training elements of the training set (t...
static SymmetricAlgorithmType GetSymmetricAlgorithmType(SymmetricAlgorithm algorithmObject)
Returns the symmetric encryption algorithm type, i.e. an enumeration of type SymmetricAlgorithmType,...
Definition: UtilCrypto.cs:1577
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: DistanceComparer.cs:273
static RealFunction GetExp(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real exponential function object.
Definition: FunctionRealBasic.cs:47
static void SymmetricPart(IMatrix a, ref IMatrix result)
Stores symmetric part of a square matrix operand in another matrix. Symmetrization is performed by av...
Definition: MatrixBase.cs:2131
StopWatch1 Timer
Definition: LoadableScriptOpt.cs:56
IComparer< PointContainerType > StoredDistanceComparer
Gets comparer that compares two point containers of type PointContainerType{} by the stored distance ...
Definition: DistanceComparer.cs:202
double a
Definition: Function3d2d.cs:875
void SetBounds(int componentIndex, double min, double max)
Sets minimal and maximal value for the specified coponent of the bounding box.
Definition: BoundingBox.cs:989
IVector _errorsVerificationRms
Definition: NeuralTrainingParameters.cs:494
string ServerAddress
Server address.
Definition: IpcPipes.cs:574
void PrettyPrintCharacter(StringBuilder input, StringBuilder output)
Definition: JsonPrettyPrinter.cs:54
Matrix3d Normalized1()
Returns this matrix normalized with 1 norm.
Definition: Matrix3DClass.cs:641
string MyName4
Definition: SampleClasses.cs:274
TargetType ConvertTyped< TargetType >(string source)
Definition: FromStringTypeConverterViaIConvertible.cs:15
virtual double Norm
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:737
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealBasic.cs:88
Supplemental basic XML node and document manipulation utilities. Contains some useful static methods ...
Definition: XmlUtilities.cs:466
static int OrthogonalizeGramSchmidt(IList< IVector > original, ref IList< IVector > resOrthogonal, ref IVector resNorms, ref IVector auxProjection, double tolDependent=1e-10, bool normalize=false, int numRequestedVectors=0, IRandomGenerator rand=null, int maxExcessGenerated=5)
Performs the Gramm-Schmidt orthogonalization procedure in order to calculate a set of orthogonall vec...
Definition: VectorBase.cs:2338
T GetRegisteredInstance(int id)
Returns object that is registered with this object with the specified id, or null if such an object i...
Definition: ObjectRegister.cs:93
void AddCharacterReferences(string code, char character)
Adds a new character reference definition to the parser.
Definition: StringParser.cs:268
static string _defaultPipeName
Definition: IpcStreamClientServerBase2.cs:34
static bool IsLinuxOs
Returns true if the operating system is a Linux variant, false otherwise.
Definition: UtilSystem.cs:313
override void CopyToPlain(ref INeuralApproximator obj)
Definition: SerializationDtoNeuralApproximator.cs:599
Auxiliary utilities for dealing with files in CSV and other delimited formats.
Definition: UtilCsv.cs:17
List< string > AppNumericsHelpStrings
List of help strings corresponding to installed numerics-related commands.
Definition: ScriptAppBase.cs:558
object TriggerLock
Locking object that is used for waiting trigging pulses that cause to check contition....
Definition: WaitConditionFile.cs:296
bool IsKeyNumSamplingPoints(string str)
Whether the specified string is a keyword introducing variable for number of sampling points.
Definition: SampledDataCsv.cs:839
void GetErrorsVerificationMax(ref IVector errors)
Calculates the maximum absolute errors of output values for the verification elements of the training...
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
override double RefDerivative(double arg)
Returns the first derivative of reference (untransformed) function.
Definition: RealFunctionScriptExample.cs:76
double _storedDeviate
Definition: RandomGaussian.cs:53
Contains examples od implementation of the IIdentifieble and IRegistrable interface....
Definition: UtilIdRegistration.cs:249
virtual void AddCommand(string commandName, ApplicationCommandDelegateMt commandDelegate)
Adds command with the specified name.
Definition: CommandlineApplicationInterpreter.cs:2729
override ScalarFunctionScriptController CreateScalarrFunctionController()
Creates and returns a new scalar function controller.
Definition: VectorFunctionScriptController.cs:953
const string ArgCertificateFile
Specification that certificate file path follows.
Definition: UtilCryptoAux.cs:379
static double acos(double a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:1201
int NumStartedJobs
Gets the number of jobs started by the dispatcher up to this point.
Definition: ParallerJobDispatcherBase.cs:1171
static bool CheckFileHashSha512Hex(string filePath, string hashValue)
Checks whether the specified SHA-512 hash value matches the actual hash value of the specified file.
Definition: UtilCrypto.cs:1444
double Zero
Returns zero of the current linear function. Throws InvalidOperationException if the function does no...
Definition: FunctionRealInterpolation.cs:130
Definition: FunctionRealBasic.cs:12
string _msgTestSpeed
Definition: IpcStreamClientServerBase.cs:555
string _keyOptimizationIndices
Definition: SampledDataCsv.cs:877
abstract double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
virtual void MapInput(IVector values, ref IVector mappedValues)
Maps (scales and shifts) vector of input values to the vector of neuron inputs.
Definition: NeuralApproximatorBase.cs:1860
int _stackLevel
Definition: CommandlineApplicationInterpreterBase.cs:931
static void ExampleMathNetNumericsCholesky()
Example of how to use Choleski decomposition from Math.NET Numerics.
Definition: TestSpeed.cs:1276
override void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
Definition: Function3d2d.cs:528
const string ArgIvHexBytes1
Specification of initialization vector as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:491
static Vector Create(double[] components)
Constructs a vector from a 1-D array.
Definition: Vector.cs:177
virtual void ReadAnalysisInputXml(string filePath, ref AnalysisResults anpt)
Reads analysis input data (request) from the specified file in the XML format, and stores the data in...
Definition: OptFileManager.cs:1050
bool OutputFullTypeNames
Whether to take full type names in exception messages and elsewhere.
Definition: BasicTypeConverter.cs:88
double _R
Definition: Color.cs:98
static Type GetEnumerableType(Type type)
Definition: UtilReflectionCore.cs:19
virtual int NextInclusive(int maxValue)
Returns a nonnegative random number LESS OR EQUAL the specified maximum.
Definition: Random.cs:425
double InputBoundSafetyFactor
Definition: SerializationDtoNeural.cs:44
bool randomTableEnabled
Definition: NeuralTrainingParameters.cs:1701
string[] _independentVariableNames
Definition: ScalarFunctionScriptBase.cs:84
const int DefaultKeyLength
Default key length.
Definition: UtilCryptoAux.cs:279
static Vector Zeros(int n)
Generates an d2-dimensional vector filled with 0.
Definition: Vector.cs:230
int n3
Definition: LissajousKnot3D.cs:46
Vector3d RowX
Gets or sets the x-row of the 3D matrix.
Definition: Matrix3DClass.cs:453
virtual IVector GetPointOutputVector(PointType point)
Gets the vector of output values of the point contained in the current container. <pra>This method mu...
Definition: PointContainer.cs:285
static readonly PhysicalConstant eV
Electronvolt, non-SI unit of energy, eV = 1.60217653e−19 J = 1.60217653e−19 numrows^2∙kg/result^2.
Definition: Constants.cs:1163
string KeyMinimalValues
A keyword string that introduces variable minimal values in the CSV file containing sampled data and ...
Definition: SampledDataCsv.cs:706
static double Sum(params double[] numbers)
Sum of the specified values.
Definition: UtilMath.cs:949
static string GetStringHashSha512Hex(string stringToHash)
Computes and returns the SHA512 hash string of the specified string.
Definition: UtilCrypto.cs:851
StreamWriter _outputStream
Definition: NamedPipes_Copy.cs:595
void Unregister()
Unregisters the current object if it is currently registered. Can be performed several times,...
Definition: InterpreterCommandLine.cs:231
int IndentSpaces
Number of spaces used in each level of indentation)
Definition: HtmlWriter.cs:128
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
static readonly PhysicalConstant EarthFlattening
Earth flattening, 0.0033528. Versine of the spheroid'result angular eccentricity, (a-s)/a.
Definition: Constants.cs:1408
virtual void PrintIntro(TextWriter tw, string introtext, string programname)
Writes to a textwriter the introduction text that is usually printed before logging starts.
Definition: ReporterMsg.cs:3423
TorusHorizontal()
Definition: Function3d2d.cs:1356
const double Sqr5
Square root of 5.
Definition: Constants.cs:330
const string WorkspaceProjectsDirName
Definition: UtilSystem.cs:4414
string _newUserDefinitions
Definition: ExpressionEvaluatorCompiled.cs:117
OutputMappingDefinitionElement(string name)
Constructor. Element index is unknown, there is no element description.
Definition: NeuralMapData.cs:519
Generates regular structured meshes of parametric surfaces in 3D space.
Definition: ParametricSurfaceMeshGenerator.cs:18
override string ToString()
Definition: UtilIdRegistration.cs:275
double a
Definition: Function3d2d.cs:958
ComparerKeyBase(bool twoStage, bool strict)
Definition: Utils.cs:3274
IMatrix GetProduct()
Calculates and returns the product (i.e. the original matrix of coefficients of a linear system of eq...
Definition: MatrixDecompositions.cs:1504
IAffineTransformation _transf
Definition: FunctionScalarBase.cs:45
void LoadFromString(string str)
Loads data store'result XML Doc from an XML string. An exception is thrown if the there is modified a...
Definition: XmlUtilities.cs:114
static List<(vec3 T, vec3 N, vec3 B)> ComputeFrames(double[] tValues)
Definition: TubularSurface_01.cs:21
abstract double Derivative(double x)
Returns the first derivative of this function at the specified parameter.
void Update(IBoundingBox bounds)
Updates the bounding box in such a way that the specified other bounding box fits in it....
Definition: BoundingBox.cs:820
void DestroyNetwork()
Destroys the neural network.
static void Example()
Example of using the stopwatch.
Definition: UtilTime.cs:430
override MatrixBase GetCopyBase()
Creates and returns a copy of the current matrix.
Definition: Matrix.cs:806
const string FuncNameGradientDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: ScalarFunctionScriptLoader.cs:105
static void GetAnalysisRequest(string requestString, ref IVector parameters, ref bool reqcalcobj, ref bool reqcalcconstr, ref bool reqcalcgradobj, ref bool reqcalcgradconstr, ref string cd)
Read the analysis request data from data file Format: { { p1, p2, … }, { reqcalcobj,...
Definition: AnalysisResults.cs:2014
bool IsReference
Indicates whether the variable is a reference to another variable.
Definition: CommandlineApplicationInterpreterBase.cs:487
static void SaveJson(NeuralTrainingLimits trainingLimits, string filePath, bool append)
Saves (serializes) the specified array of training limits objects to the specified JSON file.
Definition: NeuralTrainingParameters.cs:2568
TScalarField ActiveScalarField
Gets active scalar field. Has protected setter.
Definition: StructuredMesh3dGeneric.cs:250
Matrix3d(double component)
Initializes 3D with the specified component.
Definition: Matrix3DClass.cs:84
const string ArgSaltBase64Bytes
Specification of password as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:474
static bool TryParseBoolean(string str, ref bool parsedValue)
Tries to parse a string representation of a boolean.
Definition: Utils.cs:2877
IpcStage
Definition: IpcStreamClientServerBase.cs:18
static Scalar NegativeInfinity()
Creates a scalar that represents negative infinity.
Definition: Scalar.cs:79
static void KillFirstApplicationByWindowTitle(string mainWindowTitle, bool caseSensitive)
Kills the first running application found that has the specified main window title.
Definition: UtilSystem.cs:1714
double EndParameter1
Definition: Ellipsoid.cs:82
IVector InputRange
Range from actual inputs.
Definition: NeuralTrainingParameters.cs:221
bool UseCharacterReplacement
Definition: StringParser.cs:199
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
virtual string FileFunctionTestArguments(string appName, string[] args)
Executes embedded application that just prints arguments passed to the application to a console.
Definition: ScriptAppBase.cs:90
void AddBlockExitCommands(params string[] commands)
Adds the specified strings to the list of commands that can exit the current kind of the code block.
Definition: CommandlineApplicationInterpreterBase.cs:1004
virtual void WorkMessage(string messageName, string[] messageArguments, IpcStage context, ref bool worked)
Definition: IpcStreamClientServerBase.cs:447
static ColorScale CreateGray(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale with various hues of gray.
Definition: ColorScale.cs:924
double StartParameter
Typical starting value of the parameter φ of the parametric curve that represents the curve....
Definition: ICurve2DPolarParameterization3D.cs:26
static bool IsApplicationRunningByWindowTitle(string mainWindowTitle)
Returns true if at least one application with the specified main window title is running,...
Definition: UtilSystem.cs:1596
virtual double GetPenaltyTerm(int which, IPenaltyEvaluator evaluator)
Returns value of the penalty term corresponding to the specified constraint, calculated by the specif...
Definition: AnalysisResults.cs:1545
Parametric equation of the umbilic torus surface, a closed single-edged surface in 3D,...
Definition: Function3d2d.cs:1489
static void GetAppSetting(string key, ref double value, out bool assigned)
Reads a floating point value from the application configuration file and assigns it to the specified ...
Definition: ReporterMsg.cs:1884
virtual TVectorField CreateVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh3dGeneric.cs:471
static int GetHashLengthBytes(HashType hashType)
Returns length of the hash value, in bytes, for the specified hash algorithm.
Definition: UtilCrypto.cs:349
double a0
Returns the constant term coefficient of the quadratic function.
Definition: FunctionRealInterpolation.cs:468
double X
1st component.
Definition: Vector2Dclass.cs:347
double StartParameter2
Definition: Sphere.cs:67
static string _defaultStoppedResponse
Definition: ClientServerStreamBase2_Copy.cs:296
virtual string[] ConvertParameterNamesToArray(string parameterNamesString)
Converts a single string containing parameter names or function names in delimited form to an array o...
Definition: VectorFunctionScriptController.cs:300
Blocking execution of the current thread until the specified directory ceases to exist.
Definition: WaitConditionFile.cs:785
const string DirPrefix
Definition: OptFileConst.cs:23
LoadableScriptOptBase Script
Loadable script object of type LoadableScriptOptBase in which the current object is embedded (and obt...
Definition: LoadableScriptOpt.cs:251
void Copy(IVectorFunctionResults results)
Copies data from another vector function results.
static void RemoveOnThreadPriorityChange(ThreadStart onPriorityChangeMethod)
Removes the specified method that is executed when the global thread priority changes.
Definition: UtilSystem.cs:2105
XmlElement NewElement
Returns NewNode if it is an Xml Element, or null if it is not.
Definition: XmlUtilities.cs:2383
TVectorField ActiveVectorField
Gets active vector field. Has protected setter.
Definition: StructuredMesh3dGeneric.cs:406
virtual void StartCommand(string commandName)
Starts a new command in the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:425
Base class for loadable scripts that define real functions of one variable.
Definition: RealFunctionScriptBase.cs:20
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArrayNonrectangular2DToStringArrayObjectToIntList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:531
virtual ResultType AnalyticalResult
Expected result of the test, calculated by some other method (e.g., using an analytical formula in ca...
Definition: SpeedTestInfo.cs:98
string _msgResponseBegin
Definition: IpcStreamClientServerBase.cs:527
bool _useSubVersion
Definition: App.cs:706
MappingApproximationFileManager(string directoryPath)
Constructs a new file manager for mapping approximation file client/server that operates in the speci...
Definition: NeuralFileManager.cs:812
Defines some mathematical functions to be used in derived classes. Beside the auxiliary functions alr...
Definition: UtilMath.cs:1556
static List< string > GetReferencedAssembliesFlat(Assembly assembly)
Get assemblies referenced by the specified assembly. Not recursive.
Definition: UtilSystem.cs:2553
string AnOutJsonPath
File path of the analysis output file in JSON format. Setter takes only pure file name,...
Definition: OptFileManager.cs:354
override FunctionControllerType CreateObject()
Creates and returns a new vector of the specified type and dimension.
Definition: ScalarFunctionDto.cs:124
int TextWriterNumWriters()
Returns the current number of text writers used by the reporter's text logging module....
Definition: ReporterMsg.cs:4519
static void GetAppSetting(string key, ref List< char > value, out bool assigned)
Reads a list of characters from the application configuration file and assigns it to the specified va...
Definition: ReporterMsg.cs:1837
virtual string AppGetKey(string appName, string[] args)
Executes command-line action - generates a random initialization vector for symmetric encryption.
Definition: UilCryptoAux1.cs:2992
virtual string ExecutableFilename
File name of the executable that performs the direct analysis.
Definition: SimKosecFileManagerBase.cs:371
string GetInfosReport()
Returns a string that contains reports for all infos contained in the logger. If there are no logs to...
Definition: LoggerMsg.cs:594
void AppendBeginComment(StringBuilder sb)
Appends beginning of comment.
Definition: ScalarFunctionScriptLoader.cs:539
StructuredMesh2d(int dim1, int dim2)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2dGeneric.cs:42
IVector MaxAuxiliary
Auxiliary property, gets or sets vector of maximal co-ordinates.
Definition: BoundingBox.cs:423
object _defaultValueObject
Definition: ModelParameter.cs:127
mat2 Mat
Gets the struct representation of this 2D matrix.
Definition: Matrix2DClass.cs:294
double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function derivative.
static ColorScale CreateColorBlindTritanopia(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that is adapted to people with tritanopia.
Definition: ColorScale.cs:897
Definition: MeshExportExtensions_02.cs:11
virtual string Description
Returns a short description of the function.
Definition: FunctionVectorBaseGeneral.cs:66
const string AssemblyHelpLoaded
Definition: ScriptAppBase.cs:4251
bool _caseSensitive
Definition: CommandlineApplicationInterpreter.cs:191
static string ToString(VectorFunctionScriptControllerBase< VectorFunctionType, ScalarFunctionControllerType, ScalarFunctionType > sc)
Returns a string representation of the specified VectorFunctionScripController object.
Definition: VectorFunctionScriptController.cs:613
List< double > GetValues()
Returns a list of function values.
ScalarFunctionRadial(IRealFunction function, IAffineTransformation transf)
Constructor. Creates a new radial function without specifying coordinate transformation.
Definition: FunctionScalarRadial.cs:29
static NeuralApproximatorBase()
Static constructor. Ensures registration of neural approximator type, which makes possible to constru...
Definition: NeuralApproximatorBase.cs:548
virtual void SetFunctionsString(string functionsString)
Sets function names through a string containing delimided functions names.
Definition: VectorFunctionScriptController.cs:397
object ICloneable. Clone()
Returns a deep copy of a 2D vector.
Definition: Vector2Dclass.cs:159
bool TryConvert(object source, out object target)
override ITypeConverter TypeConverter
The type converter that is under test.
Definition: CollectionTypeConverterTests .cs:30
LogRecord CreateWarning(Exception ex, string location)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:268
virtual string CmdElse(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3776
JsonPrettyPrinter(JsonPPStrategyContext context)
Definition: JsonPrettyPrinter.cs:22
static List< MissingAssembly > GetMissingAssemblies(Assembly assembly, bool recursive=true)
Get missing assemblies - those referenced assemblies that could not be loaded.
Definition: UtilSystem.cs:2593
XmlDocument _doc
Definition: XmlUtilities.cs:1128
static byte[] EncryptBasic(byte[] data, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified byte array by a symmetric encryption algorithm and returns encrypted bytes.
Definition: UtilCrypto.cs:2029
IComparer< IVector > CreateComparerErrorTrainingRmsVector()
Definition: NeuralTrainingParameters.cs:2863
const int LibDefaultIndentSize
Library-wide default JSON serializer option for number of indentation character, when serialization p...
Definition: JsonSerializationOptionsFactory.cs:77
A 3D parametric curve with bounds - the conical logarithmic spiral.
Definition: ConicalSpiralLogarithmic3D.cs:16
bool _allowSingleFunction
Definition: AnalysisResults.cs:2393
void ClearinputfieldDefinition(string fieldName)
Removes the specified input field definition from the stored collection of definitions.
Definition: SimKosecFileManagerBase.cs:1055
Vector _auxErrors
Definition: NeuralApproximatorBase.cs:2629
Basic Cryptographic utilities.
Definition: UtilCrypto.cs:41
bool IsModuleLoaded(string moduleName)
Returns true if the specified module has been loaded on the interpreter, false if not.
int _columnCount
Number of columns.
Definition: Matrix.cs:550
override color GetContinuousReferenceColor(double referenceValue)
Returns the CONTINUOUS color from the current color scale that corresponds to the specified value in ...
Definition: ColorScale.cs:334
List< string > AppSystemNames
List of installed system related command names.
Definition: ScriptAppBase.cs:3572
int NumEnqueuedJobs
Gets the number of enqueued jobs.
Definition: ParallerJobDispatcherBase.cs:57
virtual mat2 Hessian3(vec2 parameters)
Calculates and returns Hessian of the third component of the current function and returns it (in the ...
Definition: Function3d2d.cs:428
virtual string InitFunctionName
Name of the initialization method of dynamically loadable classes.
Definition: Loader.cs:814
static void SetRandomLowerTriangular(IMatrix mat)
Sets the specified matrix such that it is lower triangular and contains random elements on the interv...
Definition: MatrixBase.cs:1019
override bool ValueDefined
Definition: FunctionRealWeight.cs:290
const string DefaultScriptClassName
Default name of the class used in loadable scripts containing user definitions of scalar function cla...
Definition: ScalarFunctionScriptLoader.cs:47
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: IpcPipes.cs:717
virtual string StartingDirectory
Gets or sets the command that invokes the interpreter.
Definition: InterfaceInterpreterBase.cs:206
static PasswordAlgorithmType[] GetPasswordAlgorithmTypes()
Returns all password algorithm types contained in the enumeration PasswordAlgorithmType
Definition: UtilCrypto.cs:114
Reporters that utilize system's trace utility.
Definition: ReporterMsg.cs:152
string DataDirectory
Directory for data and messages exchange through files.
Definition: SimKosecFileManagerBase.cs:210
override double NormInf
Gets an infinity norm of the current 3D vector - maximal absolute component value.
Definition: Vector3Dclass.cs:418
static void ExportToObj_04(this StructuredSurfaceMesh3D mesh, string filePath, string materialFileName)
Definition: MeshExportExtensions_04.cs:17
StoredDistanceComparerClass()
Definition: DistanceComparer.cs:683
List< IScalarFunction > _scalarFunctions
Definition: FunctionVectorFromScalar.cs:30
void ThreadServe()
Launches a named pipe server in a new thread.
Definition: ClientServerStreamBase2_Copy.cs:866
virtual string Path
Get or set path of the file on which the particular event is waited for.
Definition: WaitConditionFile.cs:312
color Color
Line color.
Definition: GrProperties.cs:37
bool DisposeLogger
Definition: ReporterMsg.cs:4801
virtual string Run(params string[] commandAndArgs)
Runs the specified (split) command with arguments on the interpreter's main thread.
Definition: CommandlineApplicationInterpreter.cs:2020
XmlNode GoToParent()
Sets the current node to the parent node of the current node and returns it. This also works if the C...
Definition: XmlUtilities.cs:1964
void AppendPlainText(string text)
Adds plain text to HTML (without any markup, indentation or newlines, unless contained in the text st...
Definition: HtmlWriter.cs:481
OptFileManager FileManager
Optimization client/server file manager used by the current analysis server.
Definition: OptFileAnalaysisServer.cs:63
double LearningRate
Gets or sets learning rate.
Definition: NeuralApproximatorBase.cs:89
virtual GraphicPrimitive GetDirectPrimitive(int i)
Returns the primitive No. i that is directly contained on this graphic object. Primitives contained i...
Definition: GrObjects.cs:247
virtual string Description
Scalar function description.
Definition: ScalarFunctionDto.cs:70
bool MultipleNetworks
Flag indicating whether multiple neural networks are used to approximate multiple outputs (one networ...
Definition: NeuralApproximatorBase.cs:30
Object store. Objects of the specified type can be stored here for later reuse (efficiency improvemen...
Definition: UtilObjectStore.cs:15
string _printCodeCommand
Definition: ExpressionEvaluatorCompiled.cs:337
override bool InverseDefined
Definition: FunctionRealWeight.cs:789
override string ToString()
Returns string describing the current neural network approximator.
Definition: NeuralApproximatorBase.cs:2878
static Process ExecuteSystemCommand(string workingDirectory, bool asynchronous, bool useShell, string command, params string[] args)
Executes system command with arguments.
Definition: UtilSystem.cs:411
Script_CommandDelegate ScriptCommand
Script's internal command that is executed when interpreter command is called.
Definition: LoadableScriptBase.cs:507
List< string > CommandLines
Definition: CommandlineApplicationInterpreterBase.cs:1271
ScriptLoaderBase Loader
Script loader used to load and instantiate real function class generated from script.
Definition: RealFunctionScriptLoader.cs:534
static void ExampleBlockCreateRemove(string filePath, int numSwitches)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:530
virtual void SetObjectiveHessianReference(IMatrix reference)
Sets the objective functions' Hessian. Only the reference is copied.
Definition: AnalysisResults.cs:690
virtual IVector GetObjectiveGradient()
Returns the objective function gradient.
Definition: AnalysisResults.cs:485
static bool TestMultiplyMatTranspMat(double tolerance, bool printReports)
Tests product A*B^T*C.
Definition: MatrixBase.cs:3849
Data of a physical constant, including its value, standard error, units, symbol and description....
Definition: Constants.cs:42
static void ExecuteSystemCommand(string command, params string[] args)
Executes system command with arguments.
Definition: CommandlineApplicationInterpreter.cs:1402
void GetProduct(ref IMatrix product)
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of ...
Definition: MatrixDecompositions.cs:652
void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
Utilities for reading from a console.
Definition: UtilConsole.cs:25
virtual double EndParameter
Definition: LissajousKnot3D.cs:77
bool _reqConstraintHessians
Definition: AnalysisResults.cs:222
virtual double[] GetParameters()
Returns parameters of the current parametric function as an array.
Definition: FunctionScalarParametric.cs:334
virtual string CmdStackLevel(CommandThread cmdThread, string cmdName, string[] args)
Command. Returns the current interpreter's stack level for the currently executed interpreter thread.
Definition: CommandlineApplicationInterpreter.cs:3283
vec3[] _coord
Definition: GrObjects.cs:474
color Color
Surface color.
Definition: GrProperties.cs:55
void SetParameter(int index, double value)
Sets the specified optimization parameter.
ComparerOutputDistance(IVector referencePoint, DistanceDelegate distanceFunction, bool immutable)
Constructs a new comparer according to output distance to a reference poiont (type IVector).
Definition: SampledData.cs:897
LinearBasis()
Definition: ApproxBasis.cs:20
ConicalCurve3DParameterizationFromPolarWithBounds(double alpha, bool isDefinedForNegativePhi=false)
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:25
double k
Parameter of the Logarithmic spiral, exponent in its equation r(φ) = a * exp(k * φ).
Definition: ConicalSpiralLogarithmic3D.cs:34
virtual object ConvertToType(object value, Type targetType, bool allowSourceBaseConversions=true, bool allowInterfaceConversions=true)
Definition: ReflectionTypeConverter.cs:22
const string SystemRuntimeVersion
Definition: ScriptAppBase.cs:3597
const string ArgOutputFile
Specification of output file follows.
Definition: UtilCryptoAux.cs:558
double TargetedTotalTime
Total time targeted in multi-pass algorithms (e.g. in password hashing).
Definition: UilCryptoAux1.cs:378
WaitFileEventBase(string fileOrDirectoryPath)
Definition: WaitConditionFile.cs:133
bool AddTextLogger(string filename, bool append)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5112
virtual InputMappingDefinitionElement GetMapInputElement(int which)
Definition: NeuralMapData.cs:654
static void Examples()
Examples of using the Scalar class
Definition: Scalar.cs:383
JsonSerializerOptions Create(bool writeIndented=LibDefaultWriteIndented, char indentCharacter=LibDefaultIndentCharacter, int indentSize=LibDefaultIndentSize, int maxDepth=LibDefaultMaxDepth)
Creeates and returns a JsonSerializerOptions object with this library's standard connfiguration for N...
Definition: JsonSerializationOptionsFactory.cs:122
static string _userNameLowerCase
Definition: UtilSystem.cs:81
abstract void CloseInput()
Closes the inpt stream.
static void ToByteArray(float val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1722
bool RequestedConstraintHessians
Flag indicating whether calculation of constraint function Hessians is required or not.
Definition: AnalysisResultsDto.cs:106
IVector _parameters
Definition: FunctionScalarResults.cs:62
override bool IntegralDefined
Definition: FunctionRealWeight.cs:582
TimeSpan _ExpireWarnPeriod
Definition: App.cs:715
static object _lockId
Definition: ParallelJobContainerBase.cs:93
StructuredSurfaceMesh3D(int num1, int num2)
Constructs a structured surface mesh in 3 dimensions. Grid co-ordinates are initialized to 0.
Definition: Mesh.cs:180
static void Init()
Initializes global application data for the current class of application.
Definition: App.cs:129
vec3(vec3 v)
Copy constructor. Initializes components of a 3D vector with components of the specified vector.
Definition: Matrix3D.cs:36
static int GetHashCode(IVector vec)
Returns hash code of the specified vector.
Definition: VectorBase.cs:2191
IVector LengthScales
Sets the vector of length scales that are used for calculation of distances.
Definition: DistanceComparer.cs:47
double GrowthFactor
Quotient of lengths of two consecutive intervals of the generated grid.
Definition: GridGenerator1d.cs:110
static Assembly ExecutableAssembly
Returns assembly of the current executable, obtained by Assembly.GetEntryAssembly().
Definition: UtilSystem.cs:2155
virtual string CmdAsyncCompleted(CommandThread cmdThread, string cmdName, string[] args)
Command. Returns a flag indicating whether the asynchroneous command invocation identified by the spe...
Definition: CommandlineApplicationInterpreter.cs:4957
const string CsvSeparatorDefault
Default separator used in CSV files.
Definition: SimKosecConst.cs:30
string _returnedValueName
Definition: RealFunctionScriptLoader.cs:167
IndexList(params int[] items)
Creates an index table containing all indices from the specified table.
Definition: IndexList.cs:35
override int GetHashCode()
Returns the hash code (hash function) of the current vector.
Definition: Vector.cs:642
static void Example_06()
Definition: TubularSurfaceExamples.cs:16
override IVector CreateVectorObject(int dimension)
Definition: VectorFactory.cs:59
void Gradient(double x, double y, double z, out double gradx, out double grady, out double gradz)
Calculates gradient of the current 3D scalar function and returns its components through the specifie...
bool UseSubSubVersion
Whether or not sub-subversion number is used.
Definition: App.cs:1270
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: Loader.cs:140
static void CopyPlain(IVector a, IVector result)
Copies components of a vector to another vector. This is a plain version that does not perform any di...
Definition: VectorBase.cs:1144
static string DefaultKeyMaximalValues
Default key for introduction of maximal values of input and output data elements.
Definition: SampledDataCsv.cs:236
virtual void SetObjectiveHessian(int rowIndex, int columnIndex, double value)
Sets the specified component of the objective function's Hessian.
Definition: AnalysisResults.cs:703
static void ScalePlain(IVector a, double scal, IVector result)
Multiplication of a vector by a scalar. This is a plain version of the method that does not perform a...
Definition: VectorBase.cs:1767
PasswordAlgorithmDeriveBytes()
Definition: UtilCryptoAux.cs:953
static bool _assemblyResolveHandlerAdded
Definition: UtilSystem.cs:2659
override bool SecondDerivativeDefined
Definition: FunctionRealBasic.cs:105
void GetRandomPoint(ref IVector point)
Creates a random point contained in the current bounding box by using the global random number genera...
Definition: BoundingBox.cs:1234
virtual string CodeBlockBegin
String that begins a code block in interpreted files.
Definition: InterfaceInterpreterBase.cs:275
bool IsError
Definition: IpcStreamClientServerBase2.cs:124
double Norm1
Get the 1 norm of the matrix - maximum over columns of sum of absolute values of components.
Definition: Matrix2D.cs:556
Definition: TestBase.cs:9
static string GetExecutableTitle()
Returns descriptive title of the current executable (from the AssemblyInfo file).
Definition: UtilSystem.cs:3220
Defines the Möbius strip (a parametric surface), a surface with only one side and only one boundary c...
Definition: Function3d2d.cs:1459
static byte[] EncryptAsymShort(byte[] originalBytes, AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None)
Definition: UtilCrypto.cs:5042
int _maxAnalyses
Definition: OptimizationInputData.cs:247
virtual string ArgumentsName
Agreed formal name of the arguments parameter. Agreement upon this name makes possible to execute scr...
Definition: Loader.cs:830
IEnumerator< int[]> GetEnumerator()
Returns an enumerator that iterates over all index combinations.
Definition: CollectionTypeConverter.cs:537
static void CopyRecursiveSafe(DirectoryInfo source, DirectoryInfo target, ref int numErrors, ref string errorsString)
Recursively copies contents of the source directory to the target directory.
Definition: UtilSystem.cs:5261
ObjectStoreResults(IVectorFunction vecfunc)
Definition: FunctionVectorBaseGeneral.cs:543
const string ArgRecursiveDirectoryPattern
Specification of a file search pattern for recursive directory search of input files follows.
Definition: UtilCryptoAux.cs:607
vec3 CrossProduct(vec2 v)
Returns vector product of the current and the specified vector.
Definition: Matrix2D.cs:181
virtual mat2 Hessian2(vec2 parameters)
Calculates and returns Hessian of the second component of the current function and returns it (in the...
Definition: Function3d2d.cs:416
virtual color GetDiscreteColor(double value)
Returns a color from the DISCRETE color scale represented by the current object that corresponds to h...
Definition: ColorScale.cs:586
void GetRequestOrResponse(ref string responseOrRequestString, out bool isMessage, out string messageOrCommandName, out string[] messageArguments)
Returns the (eventually decoded) request or response string corresponding to the stirng that is read ...
Definition: ClientServerStreamBase_Copy.cs:337
static void OnThreadPriorityChange()
This delegate is called when the global thread priority changes (property UtilSystem....
Definition: UtilSystem.cs:2082
vec2 _b
Definition: Function2d.cs:455
virtual double Parameter
Gets or sets the (only) parameter that defines the current function out of parametric family of funct...
Definition: FunctionRealParametric.cs:183
InterpreterVariable ReferencedVariable
Reference to the variable that is referenced by the current variable.
Definition: CommandlineApplicationInterpreterBase.cs:496
override bool HasDerivativeCylindrical
Definition: CylindricalBilliardKnot.cs:117
Definition: TestBase.cs:10
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:934
virtual void Script_AddCommand(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings, string commandName, Script_CommandDelegate command, string helpString)
Adds a new internal script command under specified name to the internal interpreter of the current sc...
Definition: LoadableScriptBase.cs:576
vec3[][] Nodes
Definition: StructuredMesh3D_04.cs:16
Parametric equation of an origin-centered sphere.
Definition: Function3d2d.cs:979
TScalarField GetScalarField(int index)
Returns the scalar field with the specified index.
Definition: StructuredMesh3dGeneric.cs:294
Definition: SerializationDtoBase.cs:782
string _parameterNamesSeparator
Definition: VectorFunctionScriptController.cs:268
static readonly object _staticLock
Definition: JsonSerializationOptionsFactory.cs:26
bool IsTypeNameSimple
Definition: SerializationBinderElementary.cs:92
int MaxIterations
Gets or sets maximal number of iterations.
Definition: OptimizationInputData.cs:245
IG.Crypto.ConstCrypto CC
Definition: ScriptAppBase.cs:17
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:594
List< double > EpochErrorsRms
List of sampled RMS errors corresponding to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:619
ParabolicBasinCurve3D(int n, double a=1.0, double b=1.0)
Constructor.
Definition: ParabolicBasinCurve3D.cs:20
static void MultiplyPlain(IMatrix a, IVector b, IVector result)
R=A*b. Multiplies a matrix with a vector and stores the result in the specified result vector....
Definition: MatrixBase.cs:4039
double Distance(PointContainerType boxedPt)
Returns distance between the specified point (enclosed in PointContainer{PointType} object) and the ...
Definition: DistanceComparer.cs:667
virtual string GetFunctionsString()
Returns function function names in form of delimited string that contains all function function names...
Definition: VectorFunctionScriptController.cs:386
override IWaitFileEvent Removal
Definition: WaitConditionFile.cs:612
bool IsAppropriateType(INeuralApproximator obj)
Returns true if the specified neural network approximator object is of a correct type,...
Definition: SerializationDtoNeuralApproximator.cs:202
bool CansetBarrierHeight(int which)
Returns a flag that tells whether characteristic barrier height can be set for the penalty function o...
double ZY
ZY component.
Definition: Matrix3DClass.cs:351
double hh
Definition: FunctionRealPenalty.cs:170
UnstructuredMeshGeometry3d(int numElements)
Creates a new unstructured grid with the specified number of elements.
Definition: UnstructuredMeshGeometry3dGeneric.cs:25
LogRecord CreateError(Exception ex, string location)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:215
virtual void ServeInCurrentThread()
Enters the serving loop.
Definition: ClientServerStreamBase2_Copy.cs:777
static string DefaultLocationString(ReporterBase reporter, ReportType messagetype, string location, Exception ex)
Default delegate for assembly of the location string when reporting on consoles. For parameter descri...
Definition: ReporterMsg.cs:5984
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid in 3D on the XY plane with grid directions parallel to coo...
Definition: StructuredMesh2d3d.cs:124
ScalarFunctionDtoType[] ScalarFunctions
Array of scalar function controller DTOs.
Definition: VectorFunctionDto.cs:74
override double Value(vec3 parameters)
Calculates and returns value of the current 3D quadratic function.
Definition: Function3d.cs:619
override void CopyToPlain(ref VectorFunctionResults vectorFunctionRes)
Copies data from the current DTO to a vector function results object.
Definition: VectorFunctionResultsDto.cs:222
override IVector CreateVector(int dim)
Creates and returns a new vector that is consistent with the definition of bounding box.
Definition: BoundingBox.cs:1473
readonly string Command_ElseIf
Definition: CommandlineApplicationInterpreter.cs:646
bool TryConvertTyped< SourceType >(SourceType source, out TargetType target)
bool AddTextLogger(TextWriter writer)
Sets the text writer to which reporting is also performed.
override void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
Definition: Function2d.cs:626
static double min(double a, double b, double c, double d)
Smallest of four numbers.
Definition: UtilMath.cs:189
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealWeight.cs:1053
Extension methods for analysis results classes.
Definition: AnalysisResults.cs:18
IMatrix GetHessian(int which)
Returns Hessian of the specified function.
void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
void AddHeading3(string headingText)
Adds a new level 3 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:722
static string GetCurrentProcessExecutableName()
Returns name of the executable file (with extension) for the current process.
Definition: UtilSystem.cs:554
virtual void Register(string typeName, InfoType typeData)
Registers the type information typeData under the name typeName .
Definition: DerivedTypesRegistry.cs:47
FieldCollection2d< TScalarField, TScalar > _scalarFields
Definition: StructuredMesh2dGeneric.cs:224
static void MultiplyDiagonal(IMatrix a, IVector diag, ref IMatrix result)
Right-multiplies a matrix with a diagonal matrix, and stores the result in the specified result matri...
Definition: MatrixBase.cs:4646
Matrix3d Add(Matrix3d a)
Returns sum of the current matrix and the specified matrix.
Definition: Matrix3DClass.cs:680
VectorDtoBase ToleranceRMS
Variable with old name, which is kept here for compatibility of files that were created by serializat...
Definition: SerializationDtoNeuralApproximator.cs:75
double TrainingCpuTime
CPU time spent for training.
Definition: SerializationDtoNeural.cs:276
double Norm
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3D.cs:635
RosenBrock function. f(x,y) = (1-x)^2 + 100 * (y-x^2)^2
Definition: FunctionScalarExamples.cs:572
RealFunction funcInverse
Definition: FunctionReal.cs:704
virtual List< OutputMappingDefinitionElement > MapOutputElementList
Definition: NeuralMapData.cs:644
bool TreatUndefined
Returns a boolean value indicating whether undefined messages with the lowest priority are treated by...
Definition: ReporterMsg.cs:919
static vec2 operator/(vec2 a, double b)
Vector subtraction.
Definition: Matrix2D.cs:288
override bool Condition()
Condition that unblocks Wait() when it becomes true. The condition is true if the observed file does ...
Definition: WaitConditionFile.cs:718
Base class for type converter testing classes such as BasicTypeConverterTests.
Definition: TypeConverterTestsBase.cs:22
static VectorRetType Conjugate(VectorBase< ElementType, VectorRetType > a)
Definition: VectorBase.cs:835
abstract IVector Parameters
Gets or sets parameters that define the specific function out of parametric familiy of scalar functio...
Definition: FunctionScalarParametric.cs:313
virtual InputFieldDefinition GetInputFieldDefinition(int fieldId, string fieldName)
Returns an input field definition that corresponds to the specified field ID and field name....
Definition: SimKosecFileManagerBase.cs:945
double StoredDistance
Stored distance to a reference point, which is used to increase performance of operations that perfor...
Definition: PointContainer.cs:259
Generator of uniformly distributed random numbers. Based on the default random generator....
Definition: Random.cs:181
bool ValueDefined
Whether calculation of function value is implemented.
Definition: RealFunctionScriptLoader.cs:147
override bool IntegralDefined
Definition: FunctionRealInterpolation.cs:1524
Definition: CommandLineParserSimple.cs:8
long LongNumber
Definition: SerializerBase.cs:627
void GetRelativeCoordinates(IVector coord, ref IVector relativeCoortinates)
Converts the specified coordinates to relative coordinates where compponents run from 0 to 1 if origi...
Definition: DistanceComparer.cs:364
const string NeuralDataDefinitionFilename
File containing input and output data definitions for neural networks-based approximation.
Definition: NeuralFileConst.cs:39
int NumHiddenNeuronsFirstMax
Maximum number of hidden neurons in first hidden layer.
Definition: NeuralTrainingParameters.cs:1668
int _currentRow
Definition: SampledDataCsv.cs:1091
The square (or reef) knot is a composite knot obtained by taking the connected sum of a trefoil knot ...
Definition: SquareKnot3D.cs:25
override void InitWaitFileEventBase(string fileOrDirectoryPath)
Performs class specific initialization.
Definition: WaitConditionFile.cs:703
int CurrentColumn
Definition: SampledDataCsv.cs:1103
static void MultiplyTranspTranspTransp(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A^T*B^T*C^T. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3960
static readonly PhysicalConstant mol
Mole, the basic SI unit of amount of substance.
Definition: Constants.cs:858
CompilerResults _compilerResults
Definition: Loader.cs:997
static string _assemblySeparatorString
Definition: UtilSystem.cs:3582
virtual void SetParameter(int index, double value)
Sets the specified optimization parameter.
Definition: AnalysisResults.cs:439
object _mainLock
Definition: FunctionRealInterpolation.cs:974
override string Name
Client name. The same as pipe name.
Definition: NamedPipes_Copy.cs:436
static void LoadStringMath(string analysisOutputString, ref AnalysisResults anres)
Reads analysis results data.
Definition: AnalysisResults.cs:1754
double a
Definition: Function3d2d.cs:1610
Base class for expression evaluators that utilize the functionality of CodeDomProvider class.
Definition: ExpressionEvaluatorCompiled.cs:23
static string DefaultServerAddress
Default server address. Setting to null sets it to "." (i.e. the local machine).
Definition: IpcNamedPipes.cs:469
double TestTime
Definition: WaitConditionFile.cs:1169
ScalarFunctionScriptController()
Creates a DTO for storing state of a scalar function object of any type
Definition: ScalarFunctionScriptController.cs:1169
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:1261
virtual int Id
Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual ...
Definition: InterpreterCommandLine.cs:213
abstract int RowCount
Gets the number of rows of the current matrix.
Definition: MatrixBase.cs:332
DistanceComparerVector(PointContainerVector referencePoint)
Constructs a new vector comparer according to the distance to the reference point.
Definition: PointCloudConcrete.cs:108
static Complex operator/(Complex c1, Complex c2)
Complex division (quotient of thow complex numbers).
Definition: Complex.cs:565
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems...
Definition: AnalysisResultsDto.cs:190
const string HashFileExtension
File extension for files containing the calculated hash codes.
Definition: UtilCryptoAux.cs:282
abstract bool SecondDerivativeDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:250
IVector _tolMaxRelative
Definition: NeuralApproximatorBase.cs:1061
static Complex Subtract(Complex c1, Complex c2)
Subtracts c2 from c1 and returns the result.
Definition: Complex.cs:416
int Count
Gets the number of fields contained in the collection.
Definition: FieldCollectionGeneric.cs:245
string BumpMap
Bump map file path (map_Bump or bump). This is an image file used to simulate surface roughness.
Definition: MaterialProperties.cs:65
void Zero()
Sets components of the vector to 0.0.
Definition: Matrix2D.cs:49
void GetRandomPoint(ref IVector point, IRandomGenerator rand)
Creates a random point contained in the current bounding box by using the specified random number gen...
Contains methods that combines hashes of multipe objects into a single hash.
Definition: HashCodeHelper.cs:44
void AddPoints(params PointType[] points)
Adds the specified points to the current point cloud.
Definition: PointCloud.cs:156
override bool SecondDerivativeDefined
Definition: FunctionRealWeight.cs:721
void AppendIndents(StringBuilder sb, int numIndent)
Appends to the apecified string builder the specified level of indentation.
Definition: ScalarFunctionScriptLoader.cs:531
bool IsMinDefined(int componentIndex)
Returns true if maximum value is defined for the specified component, false otherwise.
Definition: BoundingBox.cs:1192
string _pipeName
Definition: IpcPipes.cs:528
static Matrix2d Create(double[][] A)
Constructs a matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix2DClass.cs:155
bool _networkTrained
Definition: NeuralApproximatorBase.cs:1444
virtual string CmdComment(CommandThread cmdThread, string cmdName, string[] args)
Execution method that does nothing (for comments).
Definition: CommandlineApplicationInterpreter.cs:6394
Definition: Complex.cs:17
virtual string GetResponse(string request)
Returns response string for given request string.
Definition: ClientServerStreamBase2_Copy.cs:583
bool TryConvert(object source, out object target, Type sourceType, Type targetType)
bool ConditionInternal()
Wrapper around Condition() that enables control output to console.
Definition: WaitConditionFile.cs:329
float FloatR
Gets the red RGB component of the current color as float number in the range 0 to 1....
Definition: Color.cs:197
override void Evaluate(IVectorFunctionResults evaluationData)
Performs evaluation of requwester function results and writes them to the provided data structure....
Definition: FunctionVectorBase.cs:294
static readonly PhysicalConstant G
giga- (G), SI prefix for 10^9.
Definition: Constants.cs:670
static void ExampleSaveNetwork(string directoryPath, string fileName, string internalStateFileName)
Example of saving an entire trained neural network to a file, and then restoring it from a file....
Definition: NeuralApproximatorBase.cs:3179
override IVector CreateVector(int length)
Creates and returns a new vector cast to the interface type IVector.
Definition: VectorDto.cs:240
HelixCurve3D(double a=1.0, double b=0, bool righthanded=true)
Constructor.
Definition: HelixCurve3D.cs:22
override bool InverseDefined
Definition: FunctionReal.cs:1377
static bool operator==(ExplicitlyConvertibleFromDerived lhs, ExplicitlyConvertibleFromDerived rhs)
Definition: SampleClasses.cs:375
void IEnumerableElementTypeRetriavalProducesNullForTypesThatAreNotEnumerable()
Definition: IGLibCoreReflectionTests.cs:21
static readonly PhysicalConstant yard
Yard, a deprecated non-SI unit of length, yd = 0.9144 numrows.
Definition: Constants.cs:1299
void AddRow(params string[] elements)
Adds a new row at the end of the data table.
Definition: StringTable.cs:444
static vec2 operator*(double scalar, vec2 v)
Multiplication of vector by scalar.
override void CloseOutput()
Closes the outut stream.
Definition: IpcStreamServerBase.cs:38
override bool Condition()
This method should be overridden in derived classes.
Definition: WaitConditionFile.cs:1001
string AppName
Definition: UilCryptoAux1.cs:115
IVector GetPointCoordinates()
returns vector coo-rdinates (or input parameters) of the point contained in the current container.
Definition: PointContainer.cs:270
void LogError(Exception ex, string location)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:687
static void ExampleBlockCreateRemoveLatence(string filePath, int numSwitches)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:1054
IVector ErrorsTrainingMax
Maximal errors calculated on training data.
Definition: NeuralTrainingParameters.cs:471
virtual string ProcessFunctionKillApplications(string appName, string[] args)
Embedded application. Kills all running applications sarisfyin specified conditions.
Definition: ScriptAppBase.cs:4887
virtual string GetScriptArgument(int whichArgument)
Gets the specified string arguments, as it is currently set.
Definition: ApplicationCommandLineBase.cs:282
static Complex E
Gets the real-valued constant E (= Math.E), the basis of natural logarithm, as complex number.
Definition: Complex.cs:382
string _messagePrefix
Definition: ClientServerStreamBase_Copy.cs:146
bool HasDerivative
Definition: LissajousCurve3D.cs:84
static readonly PhysicalConstant VacuumImpendance
Characteristic impendance of vacuum, ratio of magnitudes of magnitudes of the electric and magnetic f...
Definition: Constants.cs:440
int NumHiddenNeuronsFirstMin
Minimum number of hidden neurons in first hidden layer.
Definition: NeuralTrainingParameters.cs:1652
Definition: GrObjects.cs:427
static string GetAssemblyDescription(Assembly assembly)
Returns description of the specified assembly (from assembly info).
Definition: UtilSystem.cs:3094
double yy
Definition: Matrix2D.cs:351
bool IsInputFormatLongInt
Definition: UilCryptoAux1.cs:469
double ReferenceHigherDerivative(double x, int order)
Definition: FunctionReal.cs:1316
void Insert(int index, char ch)
Inserts the specified character at the specified position of the buffer.
Definition: StringParserBuffer.cs:202
double aa
Radius of the circle around which the generating figure-eight curve is moved.
Definition: KleinBottle.cs:29
TVectorField GetVectorField(int index)
Returns the vector field with the specified index.
Definition: UnstructuredMesh1dGeneric.cs:437
@ SHA1
Specifies the SHA1 hashing algorithm.
virtual List< double > GetIntervalLengthsList()
Generates and returns a list of interval lengths between the generated nodes. The returned list is a ...
Definition: GridGenerator1dBase.cs:1041
override void SetDefaultReserveReportErrorDlg()
Sets the reserve error reporting delegate to the default value.
Definition: ReporterMsg_Derived.cs:329
static readonly PhysicalConstant lx
Lux, the SI derived unit of illuminance. lx = lm/(numrows^2) = cd/(numrows^2)
Definition: Constants.cs:1035
string _orirginalTitle
Definition: NeuralMapData.cs:332
Vector(IVector vec)
Constructs a vector from aanother array.
Definition: Vector.cs:42
static string[] _TypeNames
Definition: Vartypes.cs:133
double _determinant
Definition: MatrixDecompositions.cs:669
static void ArrayMap(IMatrix a, Converter< double, double > mapping, ref IMatrix result)
Element-by-element mapping of an arbitrary function. WARNING: dimensions of operands must match,...
Definition: MatrixBase.cs:2633
Registry of type data for types derived from BaseType .
Definition: DerivedTypesRegistry.cs:28
string _scriptChoice
Definition: ApplicationCommandLineBase.cs:54
string[] GetKeywords()
Returns an array of current keywords on the document.
Definition: HtmlWriter.cs:251
IReadOnlyList< ModelParameterType > ParameterList
Definition: ModelParameterSetFixedBase.cs:160
bool _keepBestGuess
Definition: OptimizationResults.cs:159
virtual string AppConvert(string appName, string[] args)
Executes command-line action - conversion between different representations of data.
Definition: UilCryptoAux1.cs:2657
List< TextWriter > TextWriterWriters(bool writableonly)
Returns a list of all text writers that are currently used by the reporter's text writer....
Definition: ReporterMsg.cs:4470
double ZX
ZX component.
Definition: Matrix3DClass.cs:344
virtual string CmdTestLU(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for TestLU command, performs test of LU decomposition.
Definition: CommandlineApplicationInterpreter.cs:6724
static void FromByteArray(byte[] bytes, out bool val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:1834
static Cubic GetCubic(double a3, double a2, double a1, double a0)
Creates and returns a new cubic function with the specified coefficient.
Definition: FunctionRealInterpolation.cs:847
static ParallelJobDispatcherGen< InputType, ResultType > CreateDispatcher(int numServers)
Creates and returns a parallel job dispatcher for job containers of the current typa,...
Definition: ParallelJobContainerGen.cs:345
virtual string CompileBase(string inputDefinitions)
Compiles the base script where evaluation is plugged in, and loads the generated assembly and necessa...
Definition: ExpressionEvaluatorCompiled.cs:192
void SetOutputValues(int which, IVector values)
Sets the vector of output values of the specified element of the sampled data set.
Definition: SampledData.cs:357
abstract void Evaluate(IVectorFunctionResults evaluationData)
Performs evaluation of requwester function results and writes them to the provided data structure.
Base class for different IComparer classes.
Definition: Utils.cs:3186
XmlNode GetNextOrCurrentNode(XmlNodeType NodeType, string NodeName)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1553
virtual void AddModule(string moduleName, ModuleDelegate moduleDelegate)
Adds a new module to the interpreter. This adds an initialization function (via a delegate) which is ...
Definition: CommandlineApplicationInterpreter.cs:2790
virtual Color GetFillColor()
Returns average fill color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:297
static void KroneckerMultiply(Matrix m1, Matrix m2, Matrix result)
Kronecker or tensor product, A(m*n)*B(p*q)=C(mp*nq) Result is a block matrix with as many blocks as t...
Definition: Matrix.cs:1005
Vector2d(vec2 v)
Initializes components of a 2D vector with components of the specified vector.
Definition: Vector2Dclass.cs:184
static void Example()
Example of use of the ScalarFunctionLoader class. Creates a function loader and uses it for dynamic d...
Definition: ScalarFunctionScriptLoader.cs:1088
static vec3 Cross(vec2 a, vec2 b)
Cross Product of 2D vectors (vec2), results in a 3D vector in the direction of the 3rd coordinate axi...
virtual object lockobj
Object used for locking.
Definition: ReporterMsg.cs:3059
TScalarField GetScalarField(int index)
Returns the scalar field with the specified index.
Definition: StructuredMesh2dGeneric.cs:288
A RealFunction class representing bell like polynomial weighting function with finite support,...
Definition: FunctionRealWeight.cs:846
static string RandomString(int length, bool firstletter, IRandomGenerator rndgen=null)
Returns a randomly generated string composed of alphanumeric characters. It can be specified that the...
Definition: UtilString.cs:502
CommandThread()
Definition: CommandlineApplicationInterpreterBase.cs:1611
void ReadElementDiscretizationSteps()
Reads discretization steps of input data elements from the CSV, from the current position on (inclusi...
Definition: SampledDataCsv.cs:2854
static double DefaultMomentumMax
Default value for maximum momentum in neural networks.
Definition: NeuralTrainingParameters.cs:1232
static double product(params double[] numbers)
Product of the specified values.
Definition: UtilMath.cs:1041
const string ArgCertificateStoreName
Specification that certificate store name follows.
Definition: UtilCryptoAux.cs:401
void SetConstraintGradientReference(int which, IVector reference)
Sets the specified constraint function gradient. Only the reference is copied.
Sphere(double R=RDefault)
Constructor - sphere with radius R, centered at coordinate origin.
Definition: Sphere.cs:18
Matrix2d MultiplyLeft(Matrix2d b)
Left-multiplies the current 2D matrix with the specified matrix and returns the product.
Definition: Matrix2DClass.cs:621
ParametricSurface(double minX, double maxX, double minY, double maxY)
Base class for classes that define various parametric surfaces.
Definition: Function3d2d.cs:716
string StringValue
String value of the variable.
Definition: CommandlineApplicationInterpreterBase.cs:444
static color ScaleBlue(double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:671
const string ArgIvBase64Bytes
Specification of initialization vector as base-64 encoded byte sequence follows.
Definition: UtilCryptoAux.cs:494
string _optOutputCsvPath
Definition: SimKosecFileManagerBase.cs:277
static IndexList CreateRandom(int length, int upperBound)
Creates a prescribed number of unique random indices in the specified range.
Definition: IndexList.cs:97
void ModelParameter_CreationWithNameAndType_ValueObjectThrowsCorrectException()
Definition: ModelParameterTests.cs:100
string _asymKeyContainerName
Definition: UilCryptoAux1.cs:220
IMatrix _objectiveHessian
Definition: AnalysisResults.cs:200
Complex Sinh()
Definition: Complex.cs:794
double XY
XY component.
Definition: Matrix3DClass.cs:309
bool DoExecuteCommands
Whether commands are executed in the current code block.
Definition: CommandlineApplicationInterpreterBase.cs:1211
abstract ScalarFunctionControllerType CreateScalarrFunctionController()
Creates and returns a new scalar function controller.
int _inputLength
Definition: SampledData.cs:202
void Register(int id, T obj)
Registers the specified object with the specified key (ID). Warning: this method does not check wheth...
Definition: ObjectRegister.cs:47
static string GetExecutableCopyrightInfo()
Returns copyright information of the current executable.
Definition: UtilSystem.cs:3238
virtual TCoord[] Coordinates
Array of coordinates.
Definition: StructuredField2dGeneric.cs:55
virtual List< double > Values
Function values. If CopyReferences=true (false by default) then only the list reference is copied in ...
Definition: FunctonVectorResults.cs:281
const string DataStructuresTestCsvApp
Definition: ScriptAppBase1.cs:53
static string GetRepairedDirectoryPath(string directoryPath)
Repairs the specified directory path, if applicable, and returns the repaired directory path.
Definition: UtilSystem.cs:4538
virtual string CmdThtrowExceptions(CommandThread cmdThread, string cmdName, string[] args)
Command. Sets the flag for rethrowing exceptions in the interaction mode. Optional boolean arguemnt,...
Definition: CommandlineApplicationInterpreter.cs:4368
static string DefaultErrorBegin
Default string that begins an error report.
Definition: ClientServerStreamBase2_Copy.cs:131
double EndParameter1
Definition: MoebiusStrip.cs:92
object _mainLock
Definition: VectorApproximatorBase.cs:20
const bool DefaultCanAddParemeters
The default value of IModelParameterSetBaseFixed<ModelParameterType>.CanAddParameters,...
Definition: ModelParameterSetFixedBase.cs:166
ObjectStoreResults()
Definition: FunctionVectorBaseGeneral.cs:541
virtual void ReadNeuralInput(ref IVector inputParameters)
Reads neural approximator input parameters form the file at standard location.
Definition: NeuralFileManager.cs:645
virtual bool CalculatedObjective
Indicates whether calculation of objective function is/was requested.
Definition: AnalysisResults.cs:1075
Mutex LockFileMutex
Mutex for system-wide exclusive locks for file system operations related to the current class.
Definition: OptFileManager.cs:198
bool CopyReferences
Gets a flag indicating whether references should be copied.
Definition: OptimizationResults.cs:90
static double _defaultLowerBound
Definition: VectorFunctionScriptController.cs:497
const string ArgBinaryInputFormatHex1
Binary input format used is hexadecimal.
Definition: UtilCryptoAux.cs:531
virtual string AppGetFileHash(string appName, string[] args)
Executes command-line action - calculation of various hash values of a file.
Definition: UilCryptoAux1.cs:2162
String ErrorString
Error string indicating what went wrong.
Definition: VectorFunctionResultsDto.cs:149
static string HashTypeToString(HashType hashType)
Returns standard string representation of the specified hash type.
Definition: UtilCrypto.cs:456
static readonly object _lockThreadList
Object for locking the list of active traced threads.
Definition: TracedThread.cs:160
static void GenerateCoordinatesPlain(StructuredField2d< vec2 > field, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid, with grid directions parallel to coordinate axes and equi...
Definition: StructuredField2dGeneric.cs:616
double ObstacleThickness
Thickness of obstacless.
Definition: SimKosecFileManager.cs:73
static bool IsUsed_fOAEP
Whether to perform direct RSA encryption using OAEP (optimal asymmetric encryption padding - only ava...
Definition: UtilCrypto.cs:4966
const string VarNameValueDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: ScalarFunctionScriptLoader.cs:113
String AuthorFirstName
Definition: App.cs:855
const string ArgCertificatePasswordThroughUI1
Specifies that certificate password (for access to private key) should be obtained through the user i...
Definition: UtilCryptoAux.cs:393
virtual void AllocateGradient()
Allocate space for function gradient.
Definition: FunctionScalarResults.cs:408
Definition: TestBase.cs:40
EllipsoidParametric()
Construct an ellipsoid with some typical values for half-axes.
Definition: Function3d2d.cs:943
static string GetIpAddressLocal()
Returns the current local IP address of computer.
Definition: UtilSystem.cs:215
static bool AreEqual< T >(IEnumerable< T > a, IEnumerable< T > b)
Returns true if the specified enumerables (collections) are equal, false otherwise.
Definition: Utils.cs:1019
SerializationBinderCascadedImmutable(params SerializationBinderBase[] binders)
Constructs the serialization bider with all the specified binders added.
Definition: SerializationBinderCascaded.cs:80
Func3dQuadratic()
Definition: Function3d.cs:556
MappingDefinitionElement(string name)
Constructor. Element index is unknown, there is no element description.
Definition: NeuralMapData.cs:285
void GetAppSetting(string reportername, string keyroot, ref char value, out bool assigned)
Reads a character value from the application configuration file (e.g. app.config) and assigns it to t...
Definition: ReporterMsg.cs:2072
string _stopRequest
Definition: IpcStreamClientServerBase.cs:609
double NextDouble()
A double-precision floating point number greater than or equal to 0.0, and LESS THAN 1....
Exp(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealBasic.cs:72
Alignment(AlignmentHorizontal horizontal)
Constructs the alignment structure with specified horizontal alignement and with vertical alignment s...
Definition: Alignment.cs:47
virtual void SpecificTypeConverter_RoundTripConversion_ClassToClassObjectToClass_IsCorrect()
Definition: BasicTypeConverterTests.cs:177
const string ArgAsymAlgorithmType1
Specification of asymmetric algorithm type follows.
Definition: UtilCryptoAux.cs:354
static Cubic GetCubicInterpolation(double x1, double y1, double d1, double x2, double y2, double d2)
Creates and returns cubic interpolation function with specified two function values and one derivativ...
Definition: FunctionRealInterpolation.cs:834
double DoubleNumber
Definition: SerializerBase.cs:628
int _numHiddenNeuronsFirstMin
Definition: NeuralTrainingParameters.cs:1648
virtual int Id
Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual ...
Definition: UtilIdRegistration.cs:271
Definition: ExampesGraphics3D.cs:9
StructuredField2d()
Constructs a new empty 2D field (no elements contained) with no name and no description.
Definition: StructuredField2dGeneric.cs:76
string ResponseString
The last answer string that was written to the pipe.
Definition: ClientServerStreamBase2_Copy.cs:213
Performs elementary operations for optimization and analysis servers and clients that exchange data a...
Definition: OptFileManager.cs:29
double MinX
Domain lower bound in X direction.
Definition: SimKosecFileManager.cs:100
const string CustomHelpPrintArguments
Definition: ScriptAppBase.cs:150
char _escapeChar
Definition: StringParser.cs:201
string AnInJsonPath
File path of the analysis input file in Json format. Setter takes only pure file name,...
Definition: OptFileManager.cs:273
const double LaplaceLimit
Laplace limit, the maximum value of the eccentricity for which the series solution to Kepler'result e...
Definition: Constants.cs:334
override void Wait()
Blocks until the specified condition gets satisfied. See class description for details.
Definition: WaitCondition.cs:309
string MessagePrefix
Definition: ClientServerStreamBase_Copy.cs:150
override RealFunctionBase InverseFunction
Returns a function that represents inverse of the current function.
Definition: FunctionReal.cs:739
void CloseWriter()
Closes the text writer used for assembling the HTML document.
Definition: HtmlWriter.cs:288
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
Matrix_MathNetNumerics _matrixRighthandSides_MathNetNumerics
Definition: MatrixDecompositions.cs:137
Default generator of uniformly distributed random numbers. Provides a global generator and a static f...
Definition: Random.cs:103
void Conversion_Fails_WhenNoOperatorExists()
Definition: ReflectionTypeConverterTests.cs:144
BoundingBox3d()
Creates a 3D bounding box with unspecified bounds; minimal co-ordinate components equal to BoundingBo...
Definition: BoundingBox.cs:1495
override void CalculateOutput(IVector input, int[] indices, ref IVector filteredOutput)
Calculates and returns the required output values corresponding to the specified inputs,...
Definition: NeuralApproximatorAforgeFake.cs:65
override void CancelOne()
Cancels the current waiting for the condition (if one is going on) and unblocks the thread on which w...
Definition: WaitConditionFile.cs:349
const string ArgDeleteDecrypted
Specifies that decrypted files (i.e., files with the ConstCrypto.FileExtensionDecrypted extension) ar...
Definition: UtilCryptoAux.cs:628
static void LoadCsv(string filePath, ref IVector vecRestored)
Reads a vector from a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as separator in CSV file...
Definition: ScalarFunctionScriptController.cs:1063
VectorFunctionResults(int numParameters)
Specified number of parameters, 1 function. No gradients required.
Definition: FunctonVectorResults.cs:46
const string MsgNeuralBusyFilename
Default file name for neural network approximation busy flag.
Definition: NeuralFileConst.cs:93
virtual string CryptoFunctionGetKey(string appName, string[] args)
Executes embedded application - generation of secret keys for encryption.
Definition: ScriptAppBase.cs:1328
static double Norm2Static(IVector a)
Returns Euclidean norm of the specified vector.
Definition: VectorBase.cs:543
static readonly PhysicalConstant MoonPolarRadius
Moon polar radius, 1,735.97 km.
Definition: Constants.cs:1577
virtual string VarNameCalcObjective
Definition: InterfaceInv.cs:126
int StackLevel
Definition: CommandlineApplicationInterpreterBase.cs:934
static double Coth(double x)
Hyperblic cotangent, 1/Math.Tanh.
Definition: UtilMath.cs:1278
const string VarNameIntegralDefinitionString
Name of the variable (internal in class defined in loadable script) that holds user definition (as st...
Definition: RealFunctionScriptLoader.cs:93
override bool IntegralDefined
Wether analytic indefinite integral is impelemented.
Definition: RealFunctionScriptBase.cs:237
static void Copy(IVector a, ref Vector_MathNetNumerics result)
Copies components of a vectr to another vector. Resulting vector is allocated or reallocated if neces...
Definition: VectorBase.cs:1285
static readonly PhysicalConstant H
Henry, the SI derived unit of inductance. H = V result/A = Wb/A = numrows^2 kg/(result^2 A^2)
Definition: Constants.cs:1017
bool IsOutputLevelSet
Definition: CommandlineApplicationInterpreterBase.cs:2054
List< IVector > _convergenceErrorsVerificationMaxList
Definition: NeuralApproximatorBase.cs:622
virtual void NlpSimplex(int numConstraints, IVector initialGuess, IVector stepSizes, int maxIt, IVector tolX, double tolF, double tolConstr, int printLevel)
Runs the constraint nonlinear (modified Nelder-Mead) simplex minimization algorithm.
Definition: InterfaceInv.cs:734
static double Average(params double[] sampleElements)
The same as Mean(double[])
Definition: UtilMath.cs:755
const string Space
Definition: JsonPPStrategyContext.cs:11
double Error
Gets the standard uncertainty of the physical constant. As constants can be measured more precisley w...
Definition: Constants.cs:118
static string UserNameLowerCase
Gets name of the current user with all letters converted to lower case (in order to avoid ambiguities...
Definition: UtilSystem.cs:139
static string _defaultKeyNumInputParameters
Definition: SampledDataCsv.cs:113
double c
Definition: Function3d2d.cs:1327
static int DefaultOutputLevel
Definition: CommandlineApplicationInterpreterBase.cs:2046
MultiDimensionalIndexGenerator(int[] dimensions)
Initializes a new instance with specified dimensions.
Definition: CollectionTypeConverter.cs:528
double Value1(double x, double y)
Calculates and returns value of the first component of the current function.
int GetIndex(int i1, int i2)
Returns the linear index of the component that is identified by 2 separate indices.
Definition: StructuredField2dGeneric.cs:132
string OptOutputCsvPath
File path of the analysis output file in CSV format. This file contains the pre-agreed set of output ...
Definition: SimKosecFileManagerBase.cs:515
void GenerateCoordinates(int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates an (unconnected) unstructured grid of nodes based on a 3D regular grid with grid directions...
Definition: UnstructuredMesh3d.cs:139
virtual void SetConstraintGradient(int which, int index, double value)
Sets the specified constraint fuction gradient component.
Definition: AnalysisResults.cs:652
Type TargetType
Definition: SingleTypeConverterBaseGeneric.cs:24
static string GetExecutableCompany()
Returns company attribute of the currentt executable.
Definition: UtilSystem.cs:3232
List< IVector > _gradients
Definition: FunctonVectorResults.cs:99
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:1255
RealFunction(DlgFunctionValue valueDelegate)
Constructs a new function where delegates are provided for calculation of function valu.
Definition: FunctionReal.cs:582
virtual InputFieldDefinition GetInputFieldDefinition(string fieldName)
Returns an input field definition that corresponds to the specified field name. Exception is thrown i...
Definition: SimKosecFileManagerBase.cs:933
object _valueObject
Definition: ModelParameter.cs:56
Type TargetType
Definition: SingleTargetTypeConverterBaseGeneric.cs:10
static int SetLargestSymmetricAlgorithmBlockSize(SymmetricAlgorithm algorithm)
On the specified symmetric encryption algorithm, sets the largest possible block size,...
Definition: UtilCrypto.cs:1923
sealed override ConditionDelegateBase ConditionDelegate
Setter of this property must not be used!
Definition: WaitConditionFile.cs:1018
static HashType GetHashType(HashAlgorithm algorithmObject)
Returns the hashing algorithm type, i.e. an enumeration of type HashType, for the specified hashing a...
Definition: UtilCrypto.cs:438
void NextBytes(byte[] buffer)
Fills the elements of a specified array of bytes with random numbers.
static object GlobalLock
Definition: ReporterMsg_Derived.cs:377
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:795
virtual bool OriginalElementIndexSpecified
Specifies whether original element index is specified for the data element described by the mapped de...
Definition: NeuralMapData.cs:362
Type TargetType
Target type of the mapping. When matching combination of OriginalAssemblyName and OriginalTypeName ar...
Definition: SerializationBinderSimple.cs:52
void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
void Script_AddCommands1(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings)
Adds commands to the internal interpreter.
Definition: ScriptAppBase1.cs:27
virtual double NextDoubleInclusive()
A double-precision floating point number greater than or equal to 0.0, and LESS OR EQUAL than 1....
Definition: Random.cs:359
static HashType[] _hashTypes
Definition: UtilCrypto.cs:377
string RunFile(CommandThread commandThread, string filePath)
Runs all commands that are written in a file. Each line of a file is interpreted as a single command,...
KeyValueSortable(Tkey key, Tvalue value, int orderParameter)
Definition: Utils.cs:3127
virtual void Interpret(string filePath)
Interprets a file.
Definition: InterfaceInv.cs:282
int NumParameters
Number of parameters.
Definition: OptimizationInputData.cs:24
vec3(double x, double y, double z)
Initializes components of a 3D vector with the specified values.
Definition: Matrix3D.cs:45
virtual bool GetBooleanSetting(string settingname)
Retrieves the specified boolean setting from the current settings source.
Definition: SettingsRreader.cs:58
List< int > GetJaggedArrayShape(Array array)
Infers the shape (lengths at each level) of a uniform jagged array.
Definition: CollectionTypeConverter.cs:308
static void GenerateCoordinates(StructuredField2d< vec2 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of a 2D structured grid by mapping nodal coordinates of a regular 2D structured...
Definition: StructuredField2dGeneric.cs:704
string _baseDefinitionsJsExtended
Definition: ExpressionEvaluatorJs.cs:338
abstract CommandLineApplicationInterpreter CreateInterpreter()
Creates and returns application's command-line interpreter.
IVector OutputScalingLengths
Vector of scaling lengths for calculation of weighted norms.
Definition: NeuralTrainingParameters.cs:2880
const string ArgString1
Specification of string that is worked follows.
Definition: UtilCryptoAux.cs:546
int NumY
Recommended number of points along the second parameter used to plot the surface.
Definition: Function3d2d.cs:749
WaitDirectoryCreationByProxy(string directoryPath)
Definition: WaitConditionFile.cs:949
void RenameCommand(string oldCommandName, string newCommandName)
Renames the specified command.
Definition: InterpreterCommandLine.cs:299
const string OptimizationOutputFileName
Name of the file where optimization results are found.
Definition: SimKosecConst.cs:50
Definition: ParsableBase.cs:11
override string ToString()
Definition: ModelParameterSetFixedBase.cs:172
PortList2(int starts, int stops)
Definition: PortScanner.cs:411
Vector(int n, double value)
Constructs an n-dimensional constant vector with all components initialized to the specified value.
Definition: Vector.cs:89
double ScalarProduct(vec2 v)
Returns scalar product of the current and the specified vector.
Definition: Matrix2D.cs:165
const string WorkspaceDirectoryEnvironmentVar
Definition: UtilSystem.cs:4410
Unstructured mesh in 1D embedded in 2D space.
Definition: UnstructuredMesh1d2d.cs:18
NamedPipeClientStream ClientPipe
Named pipe used for communication by the server.
Definition: NamedPipes_Copy.cs:520
LogRecord Create(ReportType messagetype, string message)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:183
IVector _toleranceMax
Definition: NeuralTrainingParameters.cs:283
static void ExampleVectorArray(string filePath)
An example of using the ArrayDto<ElementType, ElementDtoType> for storing an array of vecctors into a...
Definition: ArrayDto.cs:279
static void Load(string filePath, ref string readString)
Loads complete file contents into the specified stiring.
Definition: UtilString.cs:822
static string[] GetLines(string linesString, bool doTrim=true)
Returns a string array of parameters represented by the specified comma separated list in string form...
Definition: UtilString.cs:138
virtual IG.Lib.IReporter R
Reporter for this class.
Definition: XmlUtilities.cs:857
override double NormForbenius
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix3DClass.cs:609
string _baseDefinitions
Definition: ExpressionEvaluatorCompiled.cs:115
object _lock
Definition: FunctionVectorBaseGeneral.cs:30
int NumFunctons
Number of components (functions) of vector functon.
Definition: VectorFunctionResultsDto.cs:41
WeightPol7()
Definition: FunctionRealWeight.cs:1039
string MsgTestSquare
Message that requests square of its argument to be sent back. Used as a kind of verifiable ping.
Definition: IpcStreamClientServerBase.cs:550
bool Equals(Scalar a)
Indicates whether a is equal to this instance.
Definition: Scalar.cs:131
static ObjectRegister< CommandLine > _register
Static object that providees object register and generates IDs for this class:
Definition: InterpreterCommandLine.cs:56
object _lock
Definition: UtilObjectStore.cs:72
static void GenerateCoordinatesPlain(StructuredField3d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of unstructured grid based on a 3D structured grid of a parametric volume accor...
Definition: StructuredField3dGeneric.cs:455
virtual void InitializeScriptLoader()
Initializes the current script loader.
Definition: Loader.cs:83
int MaxAnalyses
Gets or sets maximal number of analyses.
Definition: OptimizationInputData.cs:64
HyperboloidParametricMinus(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1259
int InputSafetyFactorNum
Number of input safety factor values.
Definition: SerializationDtoNeural.cs:755
int[] _numHiddenNeuronsFirstValues
Definition: NeuralTrainingParameters.cs:1700
override double NextDouble()
A double-precision floating point number greater than or equal to 0.0, and LESS THAN 1....
Definition: Random.cs:327
static string FormatLogMsgDefault(int depth, int initialindent, int indentincrement, char indentchar, ReportType type, string location, string message, ReportSource source)
Formats a one-line message for tracing output.
Definition: ReporterMsg.cs:5514
double PenaltyValue(int which, double constraintFunctionValue)
Returns value of the penalty function for the specified constraint at the specified value of the corr...
Definition: AnalysisResults.cs:2656
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:1099
string _derivativeDefinitionString
Definition: RealFunctionScriptBase.cs:100
static xdouble log10(xdouble a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:1722
static double TestComputationalTimesCholesky_Base(int numEq, int outLevel, bool testProduct=false)
Test of Cholesky decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:646
Matrix3d Subtract(Matrix3d a)
Returns difference between the current matrix and the specified matrix.
Definition: Matrix3DClass.cs:684
void Example52_0_ExportCylindricalBilliardKnot(int numLongitudinal, int numTransverse, double radius, int N, int P, double A=1.0)
Generates and exports (as .obj) tubular surface created form smooth parameterizaion of cylindric bill...
Definition: TubularSurfaceExportExamplesTests.cs:1126
PointContainerType ReferencePoint
Reference point.
Definition: DistanceComparer.cs:32
NeuralTrainingLimits _trainingLimits
Definition: NeuralTrainingParameters.cs:2617
StructuredSurfaceMesh3D GenerateMesh(Func< double, double, vec3 > surface, double tStart1, double tEnd1, double tStart2, double tEnd2, int numPoints1, int numPoints2, double hrel1=1e-2, bool restrictToInterval=false)
Definition: ParametricSurfaceMeshGenerator.cs:53
string _commandArgumentSeparator
Definition: InterfaceInterpreterBase.cs:99
const double ffDefault
Default value of ff.
Definition: MoebiusStrip.cs:37
void ClearAllFlags()
Clears all flags.
Definition: UtilCryptoAux.cs:230
void IEnumerableElementTypeIsRetrievedCorrectlyForIEnumerableOfDifferentTypes()
Definition: IGLibCoreReflectionTests.cs:35
string _commandFileName
Definition: InterfaceInterpreterBase.cs:92
static int DefaultOutputLevel
Definition: ExpressionEvaluatorCompiled.cs:55
string _inputPath
Definition: SimKosecFileManagerBase.cs:268
static int DefaultOutputLevel
Default level of output for this kind of class.
Definition: IpcStreamClientServerBase.cs:85
NumberType Root(NumberType a, int n)
Returns n-th root (root with index n ) of a .Root with index n of a .
void StandardSpeedTestGeometricSeries_HpLaptop24()
Performs the stanard speed test with calculation of a finite geometric series, with standard paramete...
Definition: SpeedTests.cs:47
readonly ParameterizedThreadStart _startParameterized
Parameterized start delegate, executed on the thread when it starts.
Definition: TracedThread.cs:97
List< IRealFunctionPenalty > _penaltyFunctions
Definition: AnalysisResults.cs:2440
double MixedProduct(vec3 b, vec3 c)
Returns mixed product of the current and two other specified vectors. This equals the volume of the p...
Definition: Matrix3D.cs:214
int InputLenght
Number of input neurons.
Definition: SerializationDtoNeural.cs:809
NamedPipeServerStream ServerPipe
Named pipe used for communication by the server.
Definition: NamedPipes_Copy.cs:117
UtilSpeedTestingTests(ITestOutputHelper output)
This constructor, when called by the test framework, will bring in an object of type ITestOutputHelpe...
Definition: UtilSpeedTestingTests.cs:35
override double Discrepancy
Definition: SpeedTestInfo.cs:30
bool SetTextWriter(TextWriter writer)
Sets the text writer to which reporting is also performed.
string MsgNeuralInputReadyPath
File path of the message file indicating taht input data is ready to be processed....
Definition: NeuralFileManager.cs:453
General utilities.
Definition: UtilSystem.cs:49
FrameType TopFrame
Base stack frame, created when the thread is initialized and exists until thread is exited.
Definition: CommandlineApplicationInterpreterBase.cs:1674
bool _useEscapeSequences
Definition: StringParser.cs:158
static double Min(double a, double b, double c, double d)
Smallest of four numbers.
Definition: UtilMath.cs:904
IAnalysis _analysis
Definition: OptFileAnalaysisServer.cs:79
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArrayNonrectangular3DToIntIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:593
IVector _outputValues
Definition: SampledData.cs:52
static int ListFilesRecursively(string directoryPath, ref List< string > pathList, List< string > auxList, int numLevels=0, bool includeList=false, bool clearOnBeginning=true, bool RelativePaths=false, bool listDirectories=true, bool listFiles=true, IList< string > searchPatterns=null)
Recursively lists files and directories within the specified directories, and stores their paths in t...
Definition: UtilSystem.cs:4867
double StartParameter
Typical starting value of the parameter of the parametric curve that represents the knot....
Definition: ParabolicBasinCurve3D.cs:60
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current vector.
Definition: VectorBase.cs:884
static RealFunction GetReciprocal(double Kx, double Sx)
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:183
static string DefaultReportMessage_TextLogger(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Delegate for assembling a report message for this kind of report.
Definition: ReporterMsg.cs:5598
static MatrixBase operator/(MatrixBase a, double b)
Matrix subtraction.
Definition: MatrixBase.cs:5242
int _length
Definition: VectorBase.cs:3245
virtual int IndentationLevel
Indentation level - how many indentation strings are added before each new row.
Definition: InterfaceInterpreterBase.cs:310
bool IsInt
True if the current complex number is an integer number that fits into int (it can be converted to in...
Definition: Complex.cs:259
static bool operator==(mat3 a, mat3 b)
Vector comparison.
Definition: Matrix3D.cs:1038
StructuredMesh2d3d(int dim1, int dim2, string fieldName, string fieldDescription)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2d3d.cs:55
object CreateObjectFromType()
Definition: SerializationDtoBase.cs:768
Provides read/write access to elements of a fixed array. This is typically used to access array-like ...
Definition: ArrayAccessors.cs:70
static int SkipNumber(string str, int beginpos)
Returns index of the first character in str after the representation of a number (either floating poi...
Definition: StringParser0.cs:387
void Read(string name)
Reads 2D vector components from a console.
Definition: Vector2Dclass.cs:555
override double Value(IVector parameters)
Returns the value of the current function at the specified parameters.
Definition: Function2d.cs:225
Quadratic scalar function of vector variable. Function is evaluated according to q(x) = (1/2)*x^T*G*x...
Definition: FunctionScalarExamples.cs:312
ExpressionEvaluatorJint()
Initializes a new JavaScript evaluator. This includes compiling the JavaScript code where evaluation ...
Definition: ExpressionEvaluatorJint.cs:37
TIndexField _activeIndexField
Definition: UnstructuredMesh3dGeneric.cs:80
UnstructuredMesh3d(int dimx, int dimy, int dimz, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy, double minz, double maxz)
Constructs a (unconnected) unstructured grid based on 3D regular grid with grid direction parallel to...
Definition: UnstructuredMesh3d.cs:72
bool _reqvalues
Definition: FunctonVectorResults.cs:108
3D vector, struct implementation.
Definition: vec3.cs:9
static void UpdateThreadPriorityFromProcess()
Updates the global thread priority (the UtilSystem.ThreadPriority property ) in such a way that it is...
Definition: UtilSystem.cs:2061
static Process ExecuteSystemCommand(bool asynchronous, string command, params string[] args)
Executes system command with arguments.
Definition: UtilSystem.cs:377
ShellIGLib()
Definition: ShellIGLib.cs:22
bool _isInputFormat64
Definition: UilCryptoAux1.cs:465
new Matrix T
Returns a new matrix that is transpose of the current matrix. Re-implemented here for efficiency (hid...
Definition: Matrix.cs:942
override void SetParameter(int which, double value)
Sets the specific parameters of the parameterized function.
Definition: FunctionScalarRadial.cs:377
const string AssemblyHelpResources
Definition: ScriptAppBase.cs:3994
void Init()
Initializes all error reporting delegates to default values and sets auxliary object to null....
override string[] TypeNames
Definition: Vartypes.cs:139
int NumTestDelays
Number of time intervals into which the total delay interval (property TestDelayInSeconds) is divided...
Definition: ParallelJobContainerBase.cs:270
static readonly PhysicalConstant J
Joule, the SI derived unit of energy, work, heat. J = N numrows = numrows^2∙kg/result^2
Definition: Constants.cs:933
void AllocateRequested()
Allocates space for all requested result objects.
Vector3d GetNewThis()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector3Dclass.cs:108
virtual void AppendLine()
Definition: InterfaceInterpreterBase.cs:360
NeuralApproximatorDtoBase()
Definition: SerializationDtoNeuralApproximator.cs:26
static double sqr(double a)
Returns the square of a specified number.
Definition: UtilMath.cs:335
virtual Matrix3d GetCopyThis()
Returns a copy of the current 3D matrix.
Definition: Matrix3DClass.cs:497
IVector _toleranceRms
Definition: NeuralTrainingParameters.cs:1495
List< double > GetConstraints()
Returns a list of constraint function values.
static double pi
Ratio of the circumference of a circle to its diameter.
Definition: UtilMath.cs:86
bool IsOutputDataConsistent(InputOutputDataDefiniton dataDefinition)
Definition: NeuralMapData.cs:831
static string EncryptStringPlain(string stringToEncrypt, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified string, using the specified symmetric algorithm, key, and initialization vecto...
Definition: UtilCrypto.cs:2580
abstract VectorBase GetNewVectorBase(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
const string FuncNameInitDynamic
Name of the function that initializes variables realated to dynamically loaded scalar function class.
Definition: ScalarFunctionScriptLoader.cs:50
override int GetHashCode()
Override of object.GetHashCode(), to be suitable for vectors. See also:
Definition: VectorBase.cs:884
Definition: Interpreter.cs:23
FrameType _baseFrame
Definition: CommandlineApplicationInterpreterBase.cs:1664
const int YYYY
Definition: App.cs:556
static void LoadMath(string filePath, ref AnalysisResults anResults)
Loads analysis results from a file in standard mathematical format and stores it in the specified ana...
Definition: AnalysisResults.cs:1891
CylinderParametric()
Construct a rotationally symmetric parametric definition of origin-centered cylinder of radius 1 and ...
Definition: Function3d2d.cs:895
ReportMessageDelegate ReportMessageDlg
Delegate that assembles the eror message string.
Definition: ReporterMsg.cs:1199
void StartServer()
Definition: ParallelJobServerBase.cs:566
virtual LoadableScriptInterpreterBase LoadableScriptInterpreter
Interpreter based on dynamically loadable scripts. This enables installation and running of commands ...
Definition: CommandlineApplicationInterpreter.cs:2873
bool Equals(ExplicitlyConvertibleFromDerived compared)
Definition: SampleClasses.cs:353
virtual TTarget ConvertTyped(TSource source)
Converts the parameter source to the target type (TTarget , or equivalently, TargetType),...
Definition: SingleTypeConverterBaseGeneric.cs:63
static void Copy(IMatrix a, IMatrix result)
Copies components of a matrix to another matrix. WARNING: dimensions of the copied matrix and result ...
Definition: MatrixBase.cs:1541
virtual List< double > GetConstraints()
Returns a list of constraint function values.
Definition: AnalysisResults.cs:539
object Lock
Gets an object used for locking of the current object.
Definition: Random.cs:204
virtual string CmdSuppressInteractive(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints and returns or sets and returns value of the flag that specifies whether interactive ...
Definition: CommandlineApplicationInterpreter.cs:3320
bool TextLoggerWriteIntro
Specifies whether introduction text is written before logging of messages begins or not.
Definition: ReporterMsg.cs:4822
string _neuralOutputPath
Definition: NeuralFileManager.cs:144
virtual bool IsMultilineRequest
Whether or not multi line requests are allowed.
Definition: IpcStreamClientServerBase.cs:747
double[][] _elements
Definition: MatrixDto.cs:58
static bool LogToConsole
If true then every creation of a new LogRecord is logged to console.
Definition: LoggerMsg.cs:20
Tests of the basic type converter (BasicTypeConverter, implementation of the ITypeConverter interface...
Definition: CollectionTypeConverterTests .cs:22
override Vector TryGetNew()
Returns a newly created object eligible for storage, or null if such an object can not be created....
Definition: VectorBase.cs:3315
static bool IsNumericOld(object expression)
Returns true if the specified expression or object is of numeric type (such as int,...
Definition: Utils.cs:2743
virtual void SetDimensions(int d1, int d2, int d3)
Sets all three dimensions of the current 3D structured field.
Definition: StructuredField3dGeneric.cs:215
override void Evaluate(IVectorFunctionResults evaluationData)
Performs evaluation of requwester function results and writes them to the provided data structure.
Definition: FunctionVectorExamples.cs:66
bool _valuesDefined
Definition: FunctionVectorBaseGeneral.cs:43
List< CommandMethod > AppDataStructuresMethods
List of methods used to perform data structure - related demo commmands.
Definition: ScriptAppBase.cs:5124
MatrixDtoBase[] ConstraintHessians
Hessians of constraint functions.
Definition: AnalysisResultsDto.cs:289
double ShiftY
Gets or sets the shift for function value.
Definition: FunctionReal.cs:858
int KeyLength
Length of the key.
Definition: UilCryptoAux1.cs:328
const string VarNameSecondDerivativeDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: RealFunctionScriptLoader.cs:129
bool _isServerRunning
Definition: IpcStreamServerBase.cs:68
double StartParameter
Definition: TrefoilKnot3D_MathCurve3.cs:50
bool SetTextLogger(string filename, bool append)
Creates a TextWriter upon a file and sets it as the basic TextWriter to which reporting is also perfo...
Definition: ReporterMsg.cs:4948
bool IsResponseReceived
Auxiliary flag telling whether response to a request has already been received from the server....
Definition: ClientServerStreamBase2_Copy.cs:973
override int RowCount
Gets the first dimension (number of rows) of the 2D matrix, i.e. 2.
Definition: Matrix2DClass.cs:285
@ Default
Default flags - for most ordinary value (= VariableFlags.StringVar and VariableFlags....
static volatile Assembly _iglibAssembly
Definition: UtilSystem.cs:2151
abstract MatrixBase GetCopyBase()
Creates and returns a copy of the current matrix.
const string ProcessKillApplications
Definition: ScriptAppBase.cs:4875
static bool CheckFileHashHex(string filePath, string hashValue, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Chechs the specified type of hash value of a file.
Definition: UtilCrypto.cs:1360
virtual bool IsAddRunFileByScriptCommand
Whether or not the Run command is installed on the script's interpreter.
Definition: ScriptAppBase.cs:418
HyperboloidParametricPlus(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1210
Definition of parametric surface that ressembles a snail's shell in form of 3D vector function of 2 v...
Definition: Function3d2d.cs:1688
override INeuralApproximator CreateObject()
Creates and returns a new bounding box cast to the interface type IBoundingBox.
Definition: SerializationDtoNeuralApproximator.cs:534
bool Remove(T item)
Definition: SampleClasses.cs:491
Constants used in definition of neural networks approximation servers and clients working through fil...
Definition: NeuralFileConst.cs:24
const string DefaultReturnedValueName
Default name of the variable that holds returned value in script functions.
Definition: RealFunctionScriptLoader.cs:60
This namespace contains various numerical classes.
Definition: 0NameSpaceIG.Lib.cs:23
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:34
color _color
Definition: GrProperties.cs:33
static void LoadJson(string filePath, ref INeuralApproximator approximatorRestored)
Loads network from a file.
Definition: NeuralApproximatorBase.cs:2951
NeuralTrainingLimits TrainingLimits
Contains Parameters that define neural network architecture limits and trainig parameter limits.
Definition: NeuralTrainingParameters.cs:2621
void Copy(double d)
Copies double to the current scalar.
Definition: Scalar.cs:49
IBoundingBox _outputNeuronsRange
Definition: NeuralApproximatorBase.cs:1426
A 3D parametric curve with bounds - the conical archimedean spiral.
Definition: ConicalSpiralArchimedian3D.cs:16
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
Definition: FunctionVectorFromScalar.cs:167
void Script_AddCommand(string commandName, Script_CommandDelegate command, string helpString)
Adds a new internal script command under specified name to the internal interpreter of the current sc...
Definition: LoadableScriptBase.cs:558
virtual IMatrix GetNewMatrix(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
Definition: VectorBase.cs:344
double Parameter
Gets or sets the (only) parameter that defines the current function out of one parametric family of f...
Definition: FunctionRealParametric.cs:69
void UpdateAll(params double[] coordinates)
Updates the current bounding box in such a way that in all components, all specified coordinates fit ...
Definition: BoundingBox.cs:841
ReportLevel _ReportingLevel
Definition: ReporterMsg.cs:2616
virtual void CopyTo(ref Type obj)
Copies data from the current DTO to an object of type Type. Object is created anew if necessary by us...
Definition: SerializationDtoBase.cs:578
Defines properties of a light source used in rendering.
Definition: LightSource.cs:26
SingularValueDecomposition(Matrix A)
Constructor.
Definition: MatrixDecompositions.cs:1435
bool SetTextLogger(TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:4871
SnailConicSpiral_ToCheck()
Constructs parametric definition of a snail shell-like parametric surface with some default parameter...
Definition: Function3d2d.cs:1645
void Clear()
Removes all logs (if any) currently on the logger.
Definition: LoggerMsg.cs:340
void AddScalarField(string fieldName, string fieldDescription)
Creates a new scalar field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: UnstructuredMesh2dGeneric.cs:319
double _intervalLength
Difference between maximal and minimal value.
Definition: ColorScale.cs:300
const string DefaultRelease
Definition: App.cs:837
TTensorField GetTensorField(int index)
Returns the tensor field with the specified index.
Definition: StructuredMesh2dGeneric.cs:598
double Norm1
Get the 1 norm of the matrix - maximum over columns of sum of absolute values of components.
Definition: Matrix3D.cs:640
void NullifyActiveField()
Sets the variable holding currently active field to null.
Definition: FieldCollectionGeneric.cs:214
override double f2(double u, double v)
Definition: Function3d2d.cs:1281
string[] IndependentVariableNames
Names of variables (within functions in the loadable scripts) that hold the independent variables (co...
Definition: ScalarFunctionScriptLoader.cs:433
PointContainerType GetPoint(int which)
Returns the specified point identified by its position (index) within list of points.
Definition: PointCloud.cs:123
override bool SecondDerivativeDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:1044
virtual mat2 Hessian(vec2 parameters)
Calculates and returns Hessian of the current 2D scalar function and returns it (in the form of a mat...
Definition: Function2d.cs:203
virtual InterpreterVariable GetGlobalVariable(string varName)
Returns the specified global variable, if such a variable exists.
Definition: CommandlineApplicationInterpreter.cs:485
readonly string Command_If
Definition: CommandlineApplicationInterpreter.cs:644
string Name
Returns a short name of the function.
Definition: FunctionReal.cs:49
static void GenerateCoordinatesPlain(StructuredField2d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid embeddes in 3D, lying on the XY plane, with grid direction...
Definition: StructuredField2dGeneric.cs:391
string _User
Definition: App.cs:698
virtual void SetConstant(double elementValue)
Sets all components of the current matrix to the specified value.
Definition: MatrixBase.cs:577
Vector2d(IVector vec)
Constructs a 2D vector from another vector.
Definition: Vector2Dclass.cs:250
int getCharFromReferenceNoCheck(int from, int to, ref char value)
Gets a character represented by a character reference at the specified position. If character referen...
Definition: StringParser.cs:311
WaitCondition(int minSleepMs, int maxSleepMs, double maxRelativeLatency, bool sleepFirst)
Creates event waiter with properties initialized to specified values (or to default valuse for those ...
Definition: WaitCondition.cs:153
void UtilSpeedTesting_GeometricSeriesNumerical_DirectElementCalculation_MatchesAnalyticalResult(int n, double a0, double k, double tolerance)
Verifies that finite geometric series calculaed numerically matches the result calculatec by an analy...
Definition: UtilSpeedTestingTests.cs:481
static void SetRandomUpperTriangular(IMatrix mat)
Sets the specified matrix such that it is upper triangular and contains random elements on the interv...
Definition: MatrixBase.cs:1056
virtual InfoType GetTypeData(string typeName, bool throwIfCannotCreate=true)
Tries to resolve and return the type data object that corresponds to the specified type name (typeNam...
Definition: DerivedTypesRegistry.cs:92
object Obj
Auxiliary object used by the delegates that perform error reporting.
Definition: ReporterMsg.cs:1018
override void Evaluate(IVector parameters, ref bool calculateValues, ref List< double > values, ref bool calculateGradients, ref List< IVector > gradients, ref bool calculateHessians, ref List< IMatrix > hessians)
Calculation of values, gradients, and hessians of the vector function according to request flags....
Definition: FunctionVectorBase.cs:171
static Vector _parAux
Auxiliary vector whose only function is to enable calling base constructors with parameters specified...
Definition: FunctionScalarParametric.cs:146
XmlNode GetNode(string xpath)
Returns the first node in the current document that satisfy the specified XPath expression.
Definition: XmlUtilities.cs:207
static SymmetricAlgorithmType[] _symmetricTypes
Definition: UtilCrypto.cs:1512
void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: Vartypes.cs:87
static Scalar Epsilon()
Creates a scalar that contains the smallest positive value greater than 0.
Definition: Scalar.cs:88
string _description
Definition: ScalarFunctionScriptController.cs:79
IMatrix ObjectiveHessian
Objective function Hessian (matrix of second derivatives). If CopyReferences=true (false by default) ...
Definition: AnalysisResutlsInt.cs:217
virtual void Solve(IMatrix B, ref IMatrix X)
Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-h...
Definition: MatrixDecompositions.cs:189
virtual string AppDataStructures(string[] arguments)
Runs one of the data structures demo - related embedded applications.
Definition: ScriptAppBase.cs:5229
virtual IAnalysisResults Results
Optimization results.
Definition: Optimizer.cs:320
override VectorBase GetCopyBase()
Creates and returns a copy of the current vector, which is of the same type as the current vector.
Definition: Vector2Dclass.cs:75
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:240
const string AssemblyReferenced
Definition: ScriptAppBase.cs:4154
Interface for settings readers, which read pairs key/vvalue from various files or configuration serve...
Definition: SettingsRreader.cs:25
static object LockStatic
Locking object for static methods and properties of this class.
Definition: UtilNet.cs:41
int _numGenerations
Definition: UtilCryptoAux.cs:770
virtual void SpecificTypeConverter_RoundTripConversion_IntToDoubleObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:54
override CommandStackFrame< InterpreterType, CommandThread< InterpreterType > > GetThreadStackFrame(int stackLevel)
Returns the sibling stack frame at the certain level.
Definition: CommandlineApplicationInterpreterBase.cs:778
Definition: TubularMeshGenerator_03.cs:11
static void GenerateCoordinates(Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef)
Generates coordinates of a 3D unstructured grid from a regular grid with grid directions parallel to ...
Definition: FieldGeneric.cs:537
override bool InverseDefined
Definition: FunctionRealBasic.cs:473
new int NumInputParameters
Definition: SimKosecFileManager.cs:320
double StartParameter
Typical starting value of the parameter of the parametric curve that represents the knot....
Definition: ICurveParameterization2D.cs:41
static string DeleteCertificateFromStore(out bool skipped, out bool deleted, string certificateName, string storeName, int storeLocation=(int) StoreLocation.CurrentUser, bool isForceDeletes=false, bool isSkipDeletes=false)
Deletes the specified certificate to the specified certificate store.
Definition: UtilCrypto.cs:4506
Base class for various matrix DTO (Data Transfer Objects) for matrixs. Used to store a state of a mat...
Definition: MatrixDto.cs:29
static double Sqr(double a)
Returns the square of a specified number.
Definition: UtilMath.cs:1069
static string GetSystemInfoString()
Returns a string containing basic system information - name of the current user, computer name,...
Definition: UtilSystem.cs:252
void RemoveEscapeSequence(char code, char character)
Removes the specified escape sequence from the parser.
Definition: StringParser.cs:240
bool _lockBeginDocument
Definition: HtmlWriter.cs:412
void GetAppSetting(string reportername, string keyroot, ref ReportLevel value, out bool assigned)
Reads a ReportLevel enumeration value from the application configuration file (e.g....
Definition: ReporterMsg.cs:2187
static void Example()
Example of use of a 3D function.
Definition: Function3d.cs:348
int NumParameters
Number of parameters.
Definition: FunctionVectorResultsInt.cs:32
Penalty function consisting of sticked together constant zero-valued function and a power function wi...
Definition: FunctionRealPenalty.cs:127
virtual string CmdTestQR(CommandThread cmdThread, string cmdName, string[] args)
Executinon method for TestQR command, performs test of QR decomposition.
Definition: CommandlineApplicationInterpreter.cs:6656
const double RDefault
Definition: Torus.cs:28
bool _secondDerivativeDefined
Definition: FunctionVectorBaseGeneral.cs:47
LoadableScriptInterpreterBase LoadableScriptInterpreter
Interprater based on dynamically loadable scripts. This enables installation and running of commands ...
Definition: CommandlineApplicationInterpreterInterface.cs:255
XmlNode NextNode(XmlNodeType NodeType, string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2142
bool RemoveTextWriters()
Removes all text writers from the TextWriter subsystem. If appropriate, the corresponding text writer...
Definition: ReporterMsg.cs:4339
string LockFileMutexName
Name of the mutex for system-wide locking of files.
Definition: OptFileManager.cs:185
void LoadCode(string code)
Loads code form a string. Class name is extracted from the code.
Definition: Loader.cs:1547
static int numErrIndentLevel
Definition: ReporterMsg.cs:2485
string _keyDefaultValues
Definition: SampledDataCsv.cs:775
double Epsilon
Gets or sets a small number used as criteria of where to calculate things (especially derivatives) in...
Definition: FunctionScalarRadial.cs:75
void CapturedVarCreation_ToString_WorksCorrectly()
Definition: CapturedVarTests.cs:470
int GetNuGenerations()
Returns the number of keys (byte sequences) generated until now.
Definition: UtilCryptoAux.cs:829
string _directory
Definition: OptFileManager.cs:68
bool NetworkTrained
Whether network has been trained since the training data was set.
Definition: NeuralApproximatorBase.cs:2417
Interface for classes for testing serialization.
Definition: SerializerBase.cs:633
int NumConstraints
Number of constraint functions in the optimization problem.
Definition: AnalysisResultsDto.cs:74
static ColorRGBA Jet(double u)
Definition: ColorMap.cs:79
override bool HessianDefined
Whether calculation of function Hessian is defined. Default is false.
Definition: Function2d.cs:153
static int NumQuadraticBasisFunctions(int dimension)
Returns number of basis functions in quadratic polynomial basis of the specified dimenson....
Definition: ApproxBasis.cs:329
vec3[][] Nodes
Definition: StructuredMesh3D_02.cs:15
Tracked thread object that wraps a single created thread and enables that all active wrapped threads ...
Definition: TracedThread.cs:23
static SortedList< string, string > UsedClassFullNames
Stores used class names, i.e. class names that have already been used for dynamiically loaded classes...
Definition: Loader.cs:395
static string ToHexString(byte[] bytes, string separator=null)
Returns a hexadecimal string representation of the specified byte array using lower case letters for ...
Definition: Utils.cs:2478
DistanceComparer< PointContainerType, PointType > _distanceComparer
Definition: PointCloud.cs:194
static xdouble tg(xdouble a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:1838
TraceSwitch _ReportingSwitch
Definition: ReporterMsg.cs:2960
FieldCollection< TTensorField, TTensor > TensorFields
Gets the collection of tensor fields of the current mesh.
Definition: UnstructuredMesh1dGeneric.cs:534
void RemoveField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: FieldCollectionGeneric.cs:291
virtual void ReserveReportErrorSpecific(ReportType messagetype, string location, string message, Exception ex, Exception ex1)
Reportinf of internal reporter errors for the specific reporter class (overridden in derived classes)...
Definition: ReporterMsg.cs:3083
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:727
virtual string GetExecutableDirectory()
Returns the directory containing the executable that started the current application.
Definition: Loader.cs:845
Definition: Interpreter.cs:19
override Type BindToType(string assemblyName, string typeName)
Defines a single mapping from the original assembly and type name to the target type....
Definition: SerializationBinderElementary.cs:106
virtual void SetGradientsReference(List< IVector > reference)
Sets function gradients. Only the list reference is copied.
Definition: FunctonVectorResults.cs:366
double ShiftX
Gets or sets the shift of independent variable.
Definition: FunctionReal.cs:850
virtual double[] ToArray()
Copies the current vector to an array.
Definition: VectorBase.cs:284
virtual void TrainNetwork()
Trains neural network until stopping criteria are met (in terms of errors and number of epochs perfor...
Definition: NeuralApproximatorBase.cs:2567
virtual string AppDecryptSymmetricPlain(string appName, string[] args)
Executes command-line action - symmetric decryption of files or text by using PLAIN class of methods.
Definition: UilCryptoAux1.cs:1296
CsvData(bool readOnly)
Constructs a new string table, a data structure compatible with CSV file format.
Definition: StringTable.cs:24
int ScopeDepth
Definition: PPScopeState.cs:41
string MsgAnInputReadyPath
File path of the analysis input data ready flag file. Setter takes only pure file name,...
Definition: OptFileManager.cs:438
Base class for parameterized scalar functions with affine transformation of co-ordinates....
Definition: FunctionScalarParametric.cs:84
record InitOnlyRecord(string Name, int Id)
Used in serialization / deserialization benchmark tests.
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:64
override string Run(CommandThread commandThread, string commandName, params string[] commandArguments)
Runs the specified command with specified name, installed on the current application object.
Definition: LoadableScriptBase.cs:28
double _Value
Definition: Vartypes.cs:124
int MyId2
Definition: SampleClasses.cs:159
override string ToString()
Returns a string representation of the current job server, which contains relevent data about the ser...
Definition: ParallelJobServerBase.cs:798
OutputElementDefinition GetCopy()
Creates and returns a deep copy of the current output data element definition.
Definition: SampledDataDefinition.cs:577
string _quitCommand2
Definition: ExpressionEvaluatorCompiled.cs:353
ReciprocalPower(int power, double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealBasic.cs:227
int LearningRateNum
Number of learning rates.
Definition: SerializationDtoNeural.cs:734
Real vector class.
Definition: Vector.cs:23
int stop
Definition: PortScanner.cs:408
virtual void SetDiagonal(double diagonalElement)
Sets the current matrix to the diagonal matrix with all diagonal elements equal to the specified valu...
Definition: MatrixBase.cs:619
virtual TScalarField CreateScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh2dGeneric.cs:309
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: NeuralApproximatorBase.cs:149
List< string > AppNumericsNames
List of installed numerics command names.
Definition: ScriptAppBase.cs:555
static ColorScale CreateColorBlindDeuteranopia(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that is adapted to people with deuteranopia.
Definition: ColorScale.cs:862
override StreamReader InputStream
Input stream of the server's named pipe.
Definition: NamedPipes_Copy.cs:564
static bool operator>=(Scalar a, Scalar b)
Definition: Scalar.cs:166
static void KillFirstApplication(string processName, bool caseSensitive)
Kills the first running application found that has the specified process name.
Definition: UtilSystem.cs:1268
LoadableScalarFunctionBase _function
Definition: ScalarFunctionScriptLoader.cs:1019
double ScalarProduct(Vector2d v)
Returns scalar product of the current and the specified vector.
Definition: Vector2Dclass.cs:427
virtual object Lock
Definition: DerivedTypesRegistry.cs:35
static bool CheckTestResult(IMatrix result, IMatrix referenceResult, double tolerance, bool printReports)
Checks whether the difference between matrix result of the tested operation and some reference result...
Definition: MatrixBase.cs:7469
double LearningRate
Learning rate.
Definition: NeuralTrainingParameters.cs:87
virtual void WriteDocumentStyle()
Adds the style tag to the document.
Definition: HtmlWriter.cs:308
void ClearFunctionOutputReady()
Clears the falg that indicates that the reduced approximation output data is ready.
Definition: NeuralFileManager.cs:1125
override void GetInputParametersManual(ref IVector inputParameters)
Gets the current values of input parameters form the input file. This method must be overridden in de...
Definition: SimKosecFileManager.cs:251
virtual void ClientTestCalculateAnalysisResults(string inputFilePath, bool reqObjective, bool reqConstraints, bool reqObjectiveGradient, bool reqConstraintGradients, string outputFilePath)
Performs client-side test calculation of analysis response.
Definition: OptFileManager.cs:1180
override vec3[] Coordinates
Definition: GrObjects.cs:421
static xdouble sinh(xdouble a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:1798
const string ArgSaltString1
Specification of password string follows.
Definition: UtilCryptoAux.cs:466
int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: AnalysisResutlsInt.cs:36
virtual double NormInf
Gets the infinity norm of the matrix, the maximum row sum of absolute values.
Definition: Matrix.cs:1099
static Matrix CreateFromRows(IList< Vector > rowVectors)
Construct a complex matrix from a set of real row vectors.
Definition: Matrix.cs:356
Class thatt contain a private field and readonly public property based on hat field.
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:102
virtual string ProcessFunctionKillProcesses(string appName, string[] args)
Embedded application - kills all processes that satisfy the specified conditions.
Definition: ScriptAppBase.cs:4824
Func< int, VectorType > CreationDelegate
Delegate that is called to create vectors of type VectorType with the specified dimension.
Definition: VectorFactory.cs:100
double Determinant
Gets matrix determinant.
Definition: Matrix2D.cs:608
Mathematical and physical constants.
Definition: Constants.cs:304
abstract double double phi
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:28
abstract void Connect(double timeOutSeconds=0)
Connects with the server.
virtual string CmdHelp(CommandThread cmdThread, string cmdName, string[] args)
Execution method for applications help.
Definition: CommandlineApplicationInterpreter.cs:6200
override void SendDummyRequest()
Sends a dummy request in order for the serving function to stop blocking
Definition: IpcNamedPipes.cs:323
string _name
Definition: SerializerBase.cs:577
List< char > _spaces
Definition: StringParser.cs:130
static void RepairDirectoryPath(ref string directoryPath)
Repairs the specified directory path, if applicable.
Definition: UtilSystem.cs:4548
double z
Definition: vec3.cs:11
Func3d2dBaseNoHessian()
Definition: Function3d2d.cs:162
static readonly PhysicalConstant MoonPerigee
Moon aphelion - greatest distance to the center of attraction, 363,104 km.
Definition: Constants.cs:1655
static bool Read(ref IVector vec, string vecName)
Reads a vector from a console and assigns it to the specified vector variable.
Definition: UtilConsole.cs:440
StructuredMesh2d(int dim1, int dim2, string fieldName, string fieldDescription)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2dGeneric.cs:63
void Read()
Reads this 2D matrix components from a console.
Definition: Matrix2D.cs:902
ComponentFunction1(IFunc3d2d func)
Definition: Function3d2d.cs:510
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:502
string EvaluateJs(string codeBlock)
Evaluates the specified block of code by the internal JavaScript evaluator.
Definition: CommandlineApplicationInterpreter.cs:1549
void ModelParameter_CreationWithNameAndType_ValueShouldNotBeDefined()
Definition: ModelParameterTests.cs:87
TTensorField ActiveTensorField
Gets active tensor field. Has protected setter.
Definition: UnstructuredMesh1dGeneric.cs:548
int _numConstraints
Definition: FunctionScalarResults.cs:86
static int SizeOf< T >(T? val)
Returns size of a value of some specific value type, in bytes.
Definition: Utils.cs:1128
bool IsLoadable
Either or not the script can be dynamically loaded.
Definition: LoadableScriptOpt.cs:308
int _quietBlockLevel
Definition: CommandlineApplicationInterpreterBase.cs:1125
IEnumerable< object > FlattenJaggedArray(Array array)
Recursively flattens a jagged array into a linear sequence.
Definition: CollectionTypeConverter.cs:182
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:744
Interface from which majority of reporters inherit. Includes generic reporting functionality plus tra...
Definition: ReporterMsg.cs:147
double Objective
Value of the objective function.
Definition: AnalysisResutlsInt.cs:98
FieldCollection()
Constructor.
Definition: FieldCollectionGeneric.cs:151
Generates 1D grids with equidistant or geometrically grown intervals.
Definition: GridGenerator1d.cs:15
static string ListToString(List< List< double >> l)
Definition: StringParser0.cs:642
int NumPoints1
Definition: StructuredMesh3D_03.cs:18
LogRecord(ReportType messagetype, Exception ex, string location)
Launches a report. Predominantly for error and warning reports.
Definition: LoggerMsg.cs:62
static Matrix3d Identity()
Creates a d1*d2 identity matrix.
Definition: Matrix3DClass.cs:212
string _name
Definition: Constants.cs:111
static ColorScale CreateColorBlindProtanopia(double minValue, double maxValue)
Creates and returns a continuous color scale that is adapted to people with protanopia.
Definition: ColorScale.cs:807
double b
Definition: Function3d2d.cs:917
static void Multiply(IMatrix a, double b, IMatrix result)
Multiplies matrix by scalar and stores the result in the specified result matrix. This operation can ...
Definition: MatrixBase.cs:4324
override string Name
Function name.
Definition: RealFunctionScriptBase.cs:133
virtual void EndCommand()
Ends (finalizes) a command in the interpreter command file contents.
Definition: InterfaceInterpreterBase.cs:455
bool CanSetBarrierHeight
Whether the height can be set.
Definition: FunctionRealPenalty.cs:207
override void TestMain(string[] args)
Runs the shell interpreter.
Definition: ApplicationCommandLineBase.cs:432
bool AreEqual(NumberType a, NumberType b)
Returns if number a is equal to number b, false otherwise.
override void CalculateGrid(ref List< double > nodeList)
Performs grid generation and stores the generated nodes directly on the provided list....
Definition: GridGenerator1d.cs:145
const string DirPrefix
Definition: NeuralFileConst.cs:27
abstract void CreateNetwork()
Creates the neural network anew. It the network already exists on the current object,...
virtual long GetIntegerSetting(string settingname)
Retrieves the specified integer setting from the current settings source. If the specific setting is ...
Definition: SettingsRreader.cs:66
Matrix3d NormalizedForbenius()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix3DClass.cs:637
TargetType RestoredType Restored TypeConverter_ConversionToObjectAndBackTest< OriginalType, TargetType, RestoredType >(ITypeConverter typeConverter, OriginalType originalValue, TargetType expectedAssignedObjectValue, RestoredType expectedRestoredValue, bool restoreObjectBackToValue=true, bool doDetailedOutput=true)
Definition: TypeConverterTestsBase.cs:65
static int DefaultNumHiddenNeuronsSecondMax
Default value for number of hidden neurons in second hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1277
ICommandLineApplicationInterpreter Interpreter
Definition: CommandlineApplicationInterpreterBase.cs:273
bool UseJint
Flag that specified whether Jint JavaCcript engine is used or not.
Definition: CommandlineApplicationInterpreter.cs:1486
static char RandomCharCapitalLetter(IRandomGenerator rndgen=null)
Returns a random character that is a capital letter (A-Z)
Definition: UtilString.cs:368
bool AddTextWriter(Stream stream)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:4228
AnalysisResults AnalysisPoint
Last analysis request or results.
Definition: OptFileAnalaysisServer.cs:73
static void TestSpeed()
Compares speed of pure stringBuilder adnd of CharacterBuffer.
Definition: StringParserBuffer.cs:262
virtual long LongNumber
Definition: SerializerBase.cs:698
override void InitializeThis(string[] arguments)
Initializes the current object.
Definition: ScriptAppBase.cs:5281
const string AssemblyHelpInfoLoad
Definition: ScriptAppBase.cs:4307
void AssignId()
Assigns ID to this object that is process-unique across all object of this type and its derived types...
Definition: UtilIdRegistration.cs:128
override bool ValueDefined
Definition: FunctionRealWeight.cs:874
string[] _commandLineArguments
Definition: App.cs:247
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:1442
string FilePath
Path to file containing the generator.
Definition: HtmlWriter.cs:120
static xdouble operator/(xdouble a, xdouble b)
Definition: UtilMath.cs:1414
static Type GetType(string className, bool ignoreCase=false)
Finds a type with the specified class name and returns it.
Definition: UtilSystem.cs:3431
ICommandLineApplicationInterpreter Script_CreateInterpreter()
Creates and returns an interpreter that can be used as script's internal interpreter for running scri...
Definition: LoadableScriptBase.cs:389
void SetParameter(int index, double value)
Sets the specified optimization parameter.
void Hessian1(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the first component of the current function and returns its component through t...
void AllocateValuesList()
Allocates space for list of function values.
virtual int NumParameters
Dimension of the parameter space.
Definition: VectorFunctionDto.cs:82
string Name
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:83
AppTest()
Definition: App.cs:89
string TypeFullName
Definition: CapturedVar.cs:123
virtual void ReadFunctionOutput(ref IVector outputValues)
Reads Function reduced output values from the file at standard location.
Definition: NeuralFileManager.cs:1184
Sample class used for round-trip serialization tests.
Definition: ToStringTypeConverterViaJsonTests.cs:141
static int GetNextIdCommandLine()
Returns another ID that is unique for objects of the containing class its and derived classes.
Definition: CommandlineApplicationInterpreterBase.cs:135
override string ToString()
Returns string representation of the current object.
Definition: CommandlineApplicationInterpreterBase.cs:1582
DistanceComparerVector(PointContainerVector referencePoint, DistanceDelegate< IVector > distanceFunction)
Constructs a new comparer according to input distance to a reference poiont (type IVector).
Definition: PointCloudConcrete.cs:116
virtual int GetNumNeuronsInHiddenLayer(int whichLayer)
Returns the number of neurons in the specified hidden layer. Hidden layers are those not containing i...
Definition: NeuralApproximatorBase.cs:791
const string CryptoHelpGetKeyLastPart
Definition: ScriptAppBase.cs:1290
void SetHessiansReference(List< IMatrix > reference)
Sets functios' Hessians. Only the list reference is copied.
bool _reqObjective
Definition: AnalysisResults.cs:212
HyperboloidParametricMinus()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1252
static Matrix2d Random()
Creates and returns a 2D matrix with uniformly distributed random elements in the [0,...
Definition: Matrix2DClass.cs:253
abstract void UpdateInputParametersManual(IVector inputParameters)
Prepares current values of input parameters in the simulation input that will be written to the simul...
void AppendSetVariable(StringBuilder sb, string varName, string[][] values, string componentBaseName, int numIndents)
Appends to the apecified string builder the C# statements that sets the specified variable to the spe...
Definition: ScalarFunctionScriptLoader.cs:644
List< IVector > ConvergenceErrorsVerificationRmsList
Convergence List of Rms errors calculated on verification data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:209
void LogWarning(Exception ex)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:747
virtual int GetNumViolatedConstraints()
Returns number of violated constraints in the current analysis results. Specific constraint is violat...
Definition: AnalysisResults.cs:1427
void AddVectorField(TVectorField field, string name)
Adds the specified vector field to the collection of vector fields under the specified name.
Definition: UnstructuredMesh2dGeneric.cs:482
abstract bool IsServerPipelineConnected()
Returns true if server pipe is connected, .
override MatrixBase GetNewBase()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix3DClass.cs:543
LightType Type
Type of the light source (Ambient, Directional, Point, Spot, Area).
Definition: LightSource.cs:36
bool _UseTrace
Definition: ReporterMsg.cs:5669
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:679
static double TestComputationalTimesQR(int numEq, int outLevel)
Test of QR decomposition. Writes times necessary for all steps.
Definition: TestSpeed.cs:41
WaitFileEventLatenceBase()
Definition: WaitConditionFile.cs:982
abstract void GetBytesInternal(int numBytes, ref byte[] outputBytes)
Returns the next generated key of the specified length.
PointCloudVector(params IPointContainer< IVector >[] points)
Constructs a cloud of vector points containing the points embedded in the specified point containers.
Definition: PointCloudConcrete.cs:40
const new string ConstHelpCustomApp
Definition: ScriptAppBase.cs:325
Base script loader class for IGLib.
Definition: Loader.cs:22
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArrayToStringIListObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:226
TVectorField GetVectorField(string name)
Returns vector field with the specified name.
Definition: UnstructuredMesh2dGeneric.cs:425
Example script for definition of a new real function class.
Definition: ScalarFunctionScriptExample.cs:18
void RunSimulator()
Runs the simulaor interfaced by the current object. This method only runs the simulator,...
Definition: SimKosecFileManagerBase.cs:1464
List< TextWriter > TextLoggerWriters()
Returns a list of all text writers that are currently used by the reporter's text logger....
Definition: ReporterMsg.cs:5283
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:1080
bool _secondDerivativeDefined
Definition: FunctionReal.cs:1038
bool _systemPriorityUpdatesRegistered
Whether the "event" handler for system priprity changes has already been registered.
Definition: ParallerJobDispatcherBase.cs:609
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: FunctionVectorBase.cs:67
static ScalarFunctionLinear ExampleFunction2d()
Creates and returns quadratic scalar function in 2D.
Definition: FunctionScalarExamples.cs:289
static bool Read(ref float value)
Reads a floating point number (type float) from a console and assigns it to a variable....
Definition: UtilConsole.cs:229
List< IVector > ConvergenceErrorsTrainingMaxList
Convergence List of Maximum errors calculated on training data. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:1192
void AppendCurrentChar()
Definition: JsonPPStrategyContext.cs:100
virtual void SpecificTypeConverter_RoundTripConversion_ImplicitlytoderivedToDerivedObjectToBase_IsCorrect()
Definition: ReflectionTypeConverterTests.cs:37
CapturedVarObject(object variable)
Definition: CapturedVar.cs:73
bool IsRegular
Definition: StructuredMesh3D_02.cs:20
static xdouble Sqrt(xdouble a)
Returns the square root of a specified number.
Definition: UtilMath.cs:1822
const string KeyTextLoggerIndentCharacter
Definition: ReporterMsg.cs:2335
IVector _max
Definition: DistanceComparer.cs:336
InterpreterPipeServer CreatePipeServer(string pipeName, string serverName=null, bool createCommand=false, int outputLevel=3)
Creates and registers a new interpreter's named pipe server.
Definition: CommandlineApplicationInterpreter.cs:5402
bool HasDerivative
Definition: SquareKnot3D.cs:49
static bool TryParse< ReturnType >(string strValue, ref ReturnType parsedValue)
Tries to parse a string representation of an object of the specified type and return it through outpu...
Definition: Utils.cs:2791
void GetAppSetting(string reportername, string keyroot, ref bool value, out bool assigned)
Reads a boolean value from the application configuration file (e.g. app.config) and assigns it to the...
Definition: ReporterMsg.cs:2164
override double CalculateOutput(IVector input, int whichElement)
Calculates and returns the specified output by using the current vector function approximator.
Definition: NeuralApproximatorAforgeFake.cs:15
IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: FunctionVectorResultsInt.cs:57
double _im
Underlying field for the property Im
Definition: Complex.cs:160
bool DerivativeDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionVectorInt.cs:50
abstract void Hessian2(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the second component of the current function and returns its component through ...
WaitFileEventLatenceBase _waiterLatence
Proxy object that actually performs operations for derived classes of this class.
Definition: WaitConditionFile.cs:849
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealBasic.cs:101
bool IsReal
True if the current complex number is a real number (i.e., it can be converted to double,...
Definition: Complex.cs:239
static bool CheckStringHashSha1Hex(string stringToCheck, string hashValue)
Checks whether the specified SHA-1 hash value matches the actual hash value of the specified string.
Definition: UtilCrypto.cs:1095
virtual string RunFileByScript(string filePath)
Runs all commands that are written in a file. Each line of a file is interpreted as a single command,...
Definition: ScriptAppBase.cs:471
int Index2
Definition: SerializerBase.cs:624
void Unregister()
Unregisters the current object if it is currently registered. Can be performed several times,...
static void CalculateErrorsRms(int dimOutput, IVector[] prescribed, IVector[] calculated, ref IVector errors)
Calculates error measures - RMS (root mean square) of the differences - for the specified arrays of p...
Definition: NeuralApproximatorBase.cs:2103
string _libraryFilename
Definition: Loader.cs:837
void CopyInputsComplement(IndexList filterIndices, ref IVector[] extracted)
Copies the specified vectors (complement of the index list) of input parameters from the current samp...
Definition: SampledData.cs:512
string StringId
Unique string ID of the current object; often used in logs.
Definition: IStringIdentifiable.cs:16
virtual void SetHessianReference(int which, IMatrix reference)
Sets the specified function's Hessian. Only the reference is copied.
Definition: FunctonVectorResults.cs:490
void SetEpochErrorsAbs(double[] errors)
Sets the list of sampled absolute errors that correspond to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:655
string _valueDefinitionString
Definition: RealFunctionScriptLoader.cs:170
static readonly PhysicalConstant EarthSunDistance
Earth Sun distance - average distance to Sun (cent. mass), 149,597,870.691 km.
Definition: Constants.cs:1524
virtual string CmdLoadModule(CommandThread cmdThread, string cmdName, string[] args)
Command. Loads the specified module (whos name must be the first argument) and performs its initializ...
Definition: CommandlineApplicationInterpreter.cs:5043
override INumberOperations< Complex > NumberOperations
This property can now be implemented because the concrete type of elements is known.
Definition: ComplexVector.cs:91
void RegisterSystemPriorityUpdating()
Registers the UpdateThreadPriorityFromSystem method as "event handler" for system priority changes....
Definition: ParallerJobDispatcherBase.cs:614
static void SaveJson(NeuralTrainingTable trainingResults, string filePath)
Saves (serializes) the specified training results object to the specified JSON file....
Definition: NeuralTrainingParameters.cs:2812
void SetPenaltyFunction(int which, double barrierLength, double barrierHeight)
Sets the penalty function used for evaluation of the specified penalty term.
Definition: AnalysisResults.cs:2479
LU decomposition of a matrix.
Definition: MatrixDecompositions.cs:329
override void Script_AddCommand(ICommandLineApplicationInterpreter interpreter, SortedList< string, string > helpStrings, string commandName, Script_CommandDelegate command, string helpString)
Adds a new internal script command under specified name to the internal interpreter of the current sc...
Definition: ScriptAppBase.cs:5318
void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
TimeSpan CpuTimeSpan
Definition: UtilTime.cs:410
static ParallelJobContainerGen< InputType, ResultType > CreateJobContainer()
Creates and returns a new job container of the current type.
Definition: ParallelJobContainerGen.cs:388
bool IntegralDefined
Whether calculation of function indefinite integral is implemented.
Definition: RealFunctionScriptLoader.cs:159
override void CopyFromPlain(IVector vec)
Copies data to the current DTO from a vector object.
Definition: VectorDto.cs:147
FieldCollection< TIndexField, TIndex > IndexFields
Gets the collection of index fields of the current mesh.
Definition: UnstructuredMesh2dGeneric.cs:71
double Minimum
Gets strict minimum of this quadratic function. If the function does not have one then exeption is th...
Definition: FunctionRealInterpolation.cs:637
bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: FunctionVectorResultsInt.cs:47
string _functionOutputPath
Definition: NeuralFileManager.cs:859
override void CopyFromPlain(InputOutputElementDefinition obj)
Definition: SampledDataDto.cs:367
override double f1(double u, double v)
Definition: Function3d2d.cs:1226
static string DefaultMsgRequestEnd
Default message that ends any mulltiline request.
Definition: IpcStreamClientServerBase.cs:469
Definition: LightingDefinition_05.cs:67
Vector(IList< double > components)
Constructs a vector from a list of elements by copying its elements.
Definition: Vector.cs:103
override double f1(double u, double v)
Definition: Function3d2d.cs:1276
static string _defaultKeyTargetValues
Definition: SampledDataCsv.cs:303
virtual void Script_RemoveCommand(string commandName)
Removes the specified internal script command from the internal interpreter of the current scripting ...
Definition: LoadableScriptBase.cs:651
virtual bool CanSetMaxZero(int which)
Returns a flag that tells whether maxmal argument where function is zero can be set for the penalty f...
Definition: AnalysisResults.cs:2577
static void QrInverse(IMatrix factorQ, IMatrix factorR, ref IVector auxB, ref IVector auxX, ref IMatrix res)
Calculates inverse of the matrix from its specified LDLT decomposition.
Definition: MatrixBase.cs:7404
abstract void Hessian(double x, double y, double z, out double dxx, out double dyy, out double dzz, out double dxy, out double dxz, out double dyz)
Calculates Hessian of the current 3D scalar function and returns its component through the specified ...
SampledDataElement(IVector input, IVector output)
Creates a new sampled data element with the specified vectors of input parameters and corresponding o...
Definition: SampledData.cs:27
override string Name
Returns a short name of the function.
Definition: FunctionScalarExamples.cs:721
void AddScalarField(TScalarField field)
Adds the specified scalar field to the collection of scalar fields.
Definition: UnstructuredMesh3dGeneric.cs:340
static void KillAllApplicationsByWindowTitle(string mainWindowTitle)
Kills the all running applications that has the specified main window title.
Definition: UtilSystem.cs:1808
static void KillAllProcesses(string processName, bool isFullString, bool caseSensitive)
Kills all running processes that have the specified process name.
Definition: UtilSystem.cs:975
static void Subtract(IVector a, IVector b, IVector result)
Subtracts two vectors (a - b ) and stores the result in the specified result vector....
Definition: VectorBase.cs:1431
override void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
Definition: ClientServerStreamBase2_Copy.cs:919
bool TthreadStopped
Definition: WaitConditionFile.cs:1161
IndexList _verificationIndices
Definition: NeuralApproximatorBase.cs:1418
bool _compareByTrainingRmsError
Definition: NeuralTrainingParameters.cs:2932
static string GetStringHashMd5Hex(string stringToHash)
Computes and returns the MD5 hash string of the specified string.
Definition: UtilCrypto.cs:800
double yy
Definition: Matrix3D.cs:377
override LoadableRealFunctionBase CreateRealFunction()
Creates and returns a new real function object where object is of real function class that has been d...
Definition: RealFunctionScriptExample.cs:19
string NetworkStateRelativePath
Definition: SerializationDtoNeuralApproximator.cs:48
double CurveDerivativePolar(double phi)
Derivative of the planar curve (in XY plane) of form r = r(φ) with respect to polar angle.
bool KeepCurrentGuess
Whether current guess is kept or not.
Definition: Optimizer.cs:88
virtual void ClientWriteAnInput(AnalysisResults anInput)
Client writes analysis input data for calculation of analysis results. Messages are set nad cleared a...
Definition: OptFileManager.cs:1127
double _B
Definition: Color.cs:98
static void MultiplyTranspMatMat(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A^T*B*C. Multiplies three matrices (transposed first argument, second argument, and third argument)...
Definition: MatrixBase.cs:3494
double[] EpochErrorsRms
List of sampled RMS errors corresponding to epoch numbers from EpochNumbers.
Definition: SerializationDtoNeural.cs:299
static bool IsAsciiLetterOrDigit(char ch)
Returns true if the specified character is either an ASCII letter or an ASCII digit,...
Definition: UtilString.cs:589
LoadableScriptOptBase()
Creates the LoadableScriptOptBase object.
Definition: LoadableScriptOpt.cs:33
BoundingBox3d(IVector coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1526
OptFileManager _fileManager
Definition: OptFileAnalaysisServer.cs:59
int NumHiddenNeuronsFirstMin
Minimum number of hidden neurons in first hidden layer.
Definition: SerializationDtoNeural.cs:830
int _numEqualityConstraints
Definition: Analysis.cs:89
static bool operator!=(Scalar a, Scalar b)
Definition: Scalar.cs:162
QuadraticBasis(int dimension)
Constructs a vector function containing quadratic basis for the specified dimension....
Definition: ApproxBasis.cs:280
const string ArgStringOutputFormat1
String output format (and possibly input, if not specified separately) is used.
Definition: UtilCryptoAux.cs:506
void AddSystemCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new system - related embedded application's command (added as sub-command of the base command ...
Definition: ScriptAppBase.cs:3584
Type ValueType
Definition: CapturedVar.cs:129
virtual bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: AnalysisResults.cs:367
Class for building vector functions from scripts, used by GUI elements.
Definition: VectorFunctionScriptController.cs:931
A type converter that supports implicit/explicit conversion operators via reflection,...
Definition: ReflectionTypeConverter.cs:18
abstract int Length
Definition: ParsableBase.cs:23
const string MsgOptResultsReadyFilename
Default file name for optimization resutlts ready flag.
Definition: OptFileConst.cs:58
static void SaveSampledDataJson(string filePath, SampledDataSet sampledData)
Saves network's sampled data to the specified JSON file. File is owerwritten if it exists.
Definition: SampledData.cs:1161
ArrayDto()
Default constructor, sets IsNull to true.
Definition: ArrayDto.cs:31
double Degrees
Definition: ReflectionTypeConverterTests.cs:173
Base class for parameterized real-valued functions of single variable. Parameters that completely def...
Definition: FunctionRealParametric.cs:82
static double Log10(double a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:1143
static void TestSpeed()
Compares calculation times of three ways of evaluations of exponential function: directly by Math....
Definition: FunctionReal.cs:1109
MathNet.Numerics.LinearAlgebra.Factorization.Cholesky< double > CholeskyDecomposition_MathNetNumerics
Definition: MatrixDecompositions.cs:26
object FromXmlElement(XmlElement source, ref object initial)
Creates a new object and initializes it from an XML element.
virtual void Init(bool publicParameters=false)
Clears all data and resets the passwords/keys/salts generation algorithm.
Definition: UtilCryptoAux.cs:681
PointLink(PointContainerType point)
Definition: PointLink.cs:27
virtual ILoadableScript CreateLoadableObject(string[] initializationArguments, string classFullName)
Creates and returns an object of the specified loadable class.
Definition: Loader.cs:1475
MatrixBase_MathNetNumerics _matrixSolution_MathNetNumerics
Definition: MatrixDecompositions.cs:135
SortedUniqueItemList(IList< Type > items)
Creates a sorted list of items containing all items from the specified list.
Definition: SortedUniqueItemList.cs:48
TScalarField GetScalarField(string name)
Returns scalar field with the specified name.
Definition: StructuredMesh3dGeneric.cs:284
static void OrthogonalizeGramSchmidtNonRobust(IList< IVector > original, ref IList< IVector > resOrthogonal, ref IVector resNorms, ref IVector auxProjection, double tolSize=0, bool normalize=false, bool modifiedGrammSchmidt=true)
Performs the Gramm-Schmidt orthogonalization procedure in order to calculate a set of orthogonall vec...
Definition: VectorBase.cs:2564
static double StandardSpeedTestGeometricSeries_DirectElementCalculation_HpLaptop24(out SpeedTestInfo info, bool writeToConsole=DefaultWriteToConsole_StandardTests)
Performs the standard speed test - calculation of a finite geometric series with specific parameters,...
Definition: UtilSpeedTesting.cs:357
static void MultiplyMatTranspMat(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A*B^T*C. Multiplies three matrices (first argument, transposed second argument, and third argument)...
Definition: MatrixBase.cs:3806
static int EigenSystem2d(mat2 a, ref mat2 eigenvec, ref vec2 eigenval)
Calculates eigenvectors and eigenvalues of a 2x2 matrix a and stores eigenvectors to lines of eigenve...
Definition: Matrix2D.cs:768
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:1272
static double Dot(vec2 a, vec2 b)
Dot Product (scalar product).
int NumTensorFields
Gets the number of tensor fields.
Definition: StructuredMesh2dGeneric.cs:605
Vector2d GetNewThis()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector2Dclass.cs:104
const double TestSpeedReferenceTime
Reference execution time for speed test for numerical operations.
Definition: CommandlineApplicationInterpreter.cs:6526
BoundingBox3d _bounds
Definition: GraphicalObjectsBase.cs:65
int TextLoggerNumWriters()
Returns the current number of text writers used by the reporter's text logging module....
Definition: ReporterMsg.cs:5345
string GetElementOrNull(int rowNumber, int columnNumber)
Returns the specified element on the data table or null if that element is not defined.
Definition: StringTable.cs:361
static double Clamp(double value, double min, double max)
Definition: ColorMap.cs:87
void Copy(Scalar s)
Copies a scalar to the current scalar.
Definition: Scalar.cs:46
static void TestFunction(IFunc3d f, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int numPoints)
Demonstrates use of a 3D function by printing to the console some values and gradients of the functio...
Definition: Function3d.cs:320
IndexList()
Creates an empty index table with the default capacity.
Definition: IndexList.cs:22
static readonly PhysicalConstant EarthMass
Earth mass, 5.9736e24 kg.
Definition: Constants.cs:1448
void SetCoordinateScales(IVector min, IVector max, IVector lengthScales)
Sets parameters that affect default calculation of distance and relative point coordinates.
Definition: DistanceComparer.cs:350
SimKosecFileManagerConvBase(string dataDirectory, double thickness, double obstacleLength)
Constructor.
Definition: SimKosecFileManager.cs:33
static XmlNode GetNode(XmlNode basenode, string xpath)
Returns the first _gridCoordinates in the XML sub-tree whose root is basenode that satisfies the spec...
Definition: XmlUtilities.cs:614
void UtilSpeedTesting_GeometricSeriesNumericalMatchesAnalyticalResult(int n, double a0, double k, double tolerance)
Verifies that finite geometric series calculaed numerically matches the result calculatec by an analy...
Definition: UtilSpeedTestingTests.cs:446
string DefaultNameSpace
Definition: XmlUtilities.cs:872
object Lock
Definition: Analysis.cs:61
string OriginalTypeName
Contains the original type name of the serialized type defined in the mapping. Must be verbatm,...
Definition: SerializationBinderSimple.cs:48
ExpressionEvaluatorJint _evaluatorJint
Definition: CommandlineApplicationInterpreter.cs:1480
static bool TestMultiplyTranspMat(double tolerance, bool printReports)
Tests product A^T*B.
Definition: MatrixBase.cs:2845
const string VarNameFunctionArgumentName
Name of variable (internal in class defined in loadable script) that holds the name of function argum...
Definition: RealFunctionScriptLoader.cs:65
double _objective
Definition: AnalysisResultsDto.cs:221
static double AnalyticResult
The expected result of the geometric series, calculated by GeometricSeriesAnalytical(int,...
Definition: UtilSpeedTesting.cs:205
bool _calculated
Definition: GridGenerator1dBase.cs:289
string RunLoadedScript(string commandName, string[] arguments)
Executes the specified command that has been dynamically loaded form a script.
static void LoadJson(string filePath, ref ScalarFunctionScriptController controllerRestored)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: ScalarFunctionScriptController.cs:958
UnstructuredMesh1d2d(int dimx, string fieldName, string fieldDescription, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy, IRealFunction fz)
Constructs an (unconnected) unstructured grid of nodes based on 1D structured grid obtained by transf...
Definition: UnstructuredMesh1d2d.cs:101
Storage for IVectorFunctionResults objects.
Definition: FunctionVectorBaseGeneral.cs:538
Defines a parametric definition of a snail shell - like surface (a parametric surface) in form of 3D ...
Definition: Function3d2d.cs:1640
ScalarFunctionRadialParametric(IRealFunctionParametric function, IVector parameters)
Constructor. Creates a new parameterized radial scalar function without specifying coordinate transfo...
Definition: FunctionScalarRadial.cs:425
void SetHiddenLayers(params int[] numNeurons)
Sets the numbers of neurons in each hidden layer. Can be called with table of integers as argument,...
static double pow(double a, double b)
Returns a specified number raised to the specified power.
Definition: UtilMath.cs:331
Class containing examples for
Definition: WaitConditionFile.cs:1117
static string XmlToString(XmlDocument doc, string indentCahrs=" ", string newlineChars=null)
Converts the specified XML document to string, eventually with human readable indentation and newline...
Definition: Utils.cs:3034
static string GetStringSaltedHashSha1Hex(string stringToHash, string salt, int numIterations=0)
Computes and returns the SHA1 salted hash of the specified string, with the specified number of repet...
Definition: UtilCrypto.cs:965
PointCloud(params IPointContainer< PointType >[] points)
Constructs a cloud of points containing the points embedded in the specified point containers.
Definition: PointCloud.cs:43
virtual StringBuilder CommandBuilder
Command builder.
Definition: InterfaceInterpreterBase.cs:114
bool IsReferencedVariableGlobal
Gets a flag indicating whether the current variable references a global variable.
Definition: CommandlineApplicationInterpreterBase.cs:595
virtual string ExitIf(CommandThread cmdThread)
Enters the EndIf block.
Definition: CommandlineApplicationInterpreter.cs:1122
Some convenient utilities that use reflection.
Definition: UtilReflectionCore.cs:15
static int GetNextIdThread()
Returns another ID that is unique for objects of the containing class its and derived classes.
Definition: CommandlineApplicationInterpreterBase.cs:1808
TVectorField GetVectorField(int index)
Returns the vector field with the specified index.
Definition: UnstructuredMesh2dGeneric.cs:435
virtual bool CalculatedObjectiveGradient
Indicates whether calculation of objective function gradient is/was requested.
Definition: AnalysisResults.cs:1079
abstract MatrixType CreateMatrix(int rowCnt, int columnCnt)
Creates and returns a new matrix of the specified dimension.
double GetSumResiduals()
Returns sum of constraint function values corresponding to violated constraints in the current analys...
string GetValue(string xpath)
Returns value of the (first) text node of the first element node in current document that satisfies t...
Definition: XmlUtilities.cs:397
double Zero1
Returns the first zero of the current cubic function. Throws InvalidOperationException if the functio...
Definition: FunctionRealInterpolation.cs:1172
JsonFormatter Formatter
Definition: SerializerJson.cs:61
double f(double x)
Method in which comfortable mathematic functions form the base class M are used.
Definition: UtilMath.cs:36
int MappedInputLength
Gets number of input parameters.
Definition: NeuralMapData.cs:580
double _c
Definition: Function2d.cs:561
object _lock
Definition: Analysis.cs:58
string _neuralTrainingDataFilename
Definition: NeuralFileManager.cs:134
static string GetIglibFileName()
Returns file name of the IGLib assembly.
Definition: UtilSystem.cs:3261
SampledDataElementDto()
Definition: SampledDataDto.cs:21
double Tolerance
Gets or sets the main tolerance (its exact meaning depends on the algorithm in use).
Definition: OptimizationInputData.cs:240
static void ExportMaterial(string filePath, MaterialProperties material)
Exports a material file based on the provided material properties.
Definition: MeshExportExtensions_06.cs:112
string Name
Name of the current interpreter.
Definition: CommandlineApplicationInterpreterInterface.cs:36
virtual int NumInputParameters
Number of input optimization parameters for the simulator.
Definition: SimKosecFileManagerBase.cs:178
override IComparable GetFirstStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the first level of comparison from the argument.
Definition: Utils.cs:3296
static void SaveCSV(List< NeuralTrainingParameters > trainingParameters, string filePath)
Saves the specified list of training parameters objects to the specified CSV file.
Definition: NeuralTrainingParameters.cs:1000
void CopyTo(NeuralApproximatorBase nn)
Copies data that determine neural network and training procedure (such as network architecture,...
Definition: NeuralTrainingParameters.cs:825
static double TestComputationalTimesLU_Base(int numEq, int outLevel, bool testProduct=false)
Test of LU decomposition.
Definition: TestSpeed.cs:504
GrTextSettings()
Definition: GrProperties.cs:66
char MessageSeparator
Definition: ClientServerStreamBase_Copy.cs:189
virtual double GetHessian(int which, int rowIndex, int columnIndex)
Returns the specified component of Hessian of the specified function.
Definition: FunctonVectorResults.cs:468
void AddTensorField(string fieldName, string fieldDescription)
Creates a new tensor field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: UnstructuredMesh3dGeneric.cs:625
bool _reqObjective
Definition: AnalysisResultsDto.cs:51
float Shininess
Specular exponent (Ns) - Controls the sharpness of specular highlights. Typical values range from 0 (...
Definition: MaterialProperties.cs:43
static void MultiplyTranspMatTransp(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A^T*B*C^T. Multiplies three matrices (transposed first argument, second argument,...
Definition: MatrixBase.cs:3335
static void Test(string cmdLine, params string[] args)
Definition: CommandLineParserSimple.cs:80
Transfer Object (DTO) for neural network training set.
Definition: SerializationDtoNeural.cs:20
override void Gradient1(double x, double y, out double gradx, out double grady)
Function for calculating gradient of the first component of vector function, just throws the NotImple...
Definition: Function3d2d.cs:198
const double GoldenRatio
The golden ratio, (1+Sqr(5))/2; the ratio of two quantities such that the ratio between the sum of th...
Definition: Constants.cs:321
double SigmoidAlphaValue
Alpha value specifying the shape of the activation function.
Definition: NeuralApproximatorBase.cs:85
string _inputMark
Definition: ExpressionEvaluatorCompiled.cs:329
string _interpretersName
Definition: CommandlineApplicationInterpreter.cs:5253
static string ToJSON(this object graph)
Definition: JsonExtensions.cs:19
Provides a framework for blocking execution until the specified condition becomes satisfied....
Definition: WaitCondition.cs:133
virtual string GetParametersString()
Returns function parameter names in form of delimited string that contains all function parameter nam...
Definition: VectorFunctionScriptController.cs:322
virtual bool IsAnBusy()
Gets a flag telling whether direct analysis is busy.
Definition: OptFileManager.cs:866
void SetNeuronsInputRange(double min, double max)
Sets the neurons input range. Bounds for all input neurons are set equally.
override bool IntegralDefined
Definition: FunctionRealBasic.cs:610
void LogError(Exception ex)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:694
virtual string SystemFunctionDomainName(string appName, string[] args)
Executes embedded application - writing to the console and returning the current domain name.
Definition: ScriptAppBase.cs:3655
const string CryptoHelpEncryptPlain
Definition: ScriptAppBase.cs:1207
static IVector DefaultToleranceRms
Default value for tollerance on RMS error in neural networks.
Definition: NeuralTrainingParameters.cs:54
List< string > AppProcessHelpStrings
List of help strings corresponding to installed process commands.
Definition: ScriptAppBase.cs:4521
virtual string ClassInterface
Interface that is implemented by the compiled class.
Definition: Loader.cs:749
DTO (data transfer object) for sampled data element (one point with vectors of input and output param...
Definition: SampledDataDto.cs:18
int NumPoints1
Number of nodes in the first direction.
Definition: StructuredSurfaceMesh3D.cs:26
void InvalidateDefinitions()
Clears strings that define the function (i.e. strings that define expressions for function value,...
Definition: ScalarFunctionScriptLoader.cs:162
static void DefaultReport_TextWriter(ReporterBase reporter, ReportType messagetype, string location, string message)
Default delegate for launching reports (actually logging reports) via text writer.
Definition: ReporterMsg.cs:4685
void ExtractInputs(ref IVector[] extracted)
Extracts vectors of input parameters from the current sampled data set, and stores them to the specif...
Definition: SampledData.cs:420
override int[] ConvertTyped(string source)
Definition: SpecificTypeConvrterTests.cs:72
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntIListToIntIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:39
static double max(double a, double b, double c)
Largest of three numbers.
Definition: UtilMath.cs:182
object InternalLock
Used internally for locking access to internal fields.
Definition: StringParser.cs:88
LoggerFactory LoggerFactory
Definition: TestBase.cs:23
bool ReqValues
Indicates whether calculation of function values is/was requested.
Definition: FunctionVectorResultsInt.cs:263
int NumHiddenNeuronsThirdMax
Maximum number of hidden neurons in third hidden layer.
Definition: NeuralTrainingParameters.cs:1861
General module (or library) management class, a base class for specific module classes....
Definition: App.cs:548
XmlData _Data
Definition: XmlUtilities.cs:34
Used to define which columns in a data table correspond to which input or output elements.
Definition: SampledDataCsv.cs:1128
These tests create and export meshes for tubular surfaces created from 3D parametric curves,...
Definition: TubularSurfaceExportExamplesTests.cs:23
int OutputLength
Definition: SerializationDtoNeuralApproximator.cs:36
Func< object, object > TryFindOperatorConverter(Type sourceType, Type targetType, bool allowSourceBaseConversions, bool allowInterfaceConversions)
Definition: ReflectionTypeConverter.cs:75
double f(double x)
Method in which comfortable mathematic functions form the base class M are used.
Definition: UtilMath.cs:52
static object _globalLock
Definition: ExpressionEvaluatorJs.cs:487
void AsyncWaitAll()
Waits until all asynchronously commands that have been eventually executed by the current interpreter...
override void ClearExternalAlgorithm()
Clears eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:993
FieldCollection< TScalarField, TScalar > _scalarFields
Definition: UnstructuredMesh3dGeneric.cs:218
const string ArgPathsAbsolute
Paths will be output as absolute paths.
Definition: UtilCryptoAux.cs:587
static void Multiply(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B*C. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3131
static void Example()
Example of use of a 2D function.
Definition: Function2d.cs:315
virtual void SetParameters(double[] parameters)
Sets parameters of the current parametric functions, where parameters are specified as array.
Definition: FunctionScalarParametric.cs:348
string[] GetDocumentComments()
Returns an array of comments of the document that will be written in the document head.
Definition: HtmlWriter.cs:216
virtual String SoftwareParentDirectory
Gets the directory containing individual module or application directories.
Definition: App.cs:1372
void UtilSpeedTesting_ArithmeticSeriesNumericalMatchesAnalyticalResult(int n, double a0, double d, double tolerance)
Verifies that finite arithmetic series calculaed numerically matches the result calculatec by analyti...
Definition: UtilSpeedTestingTests.cs:373
static readonly PhysicalConstant Wb
Weber, the SI derived unit of magnetic flux. Wb = J/A = numrows^2 kg/(result^2 A)
Definition: Constants.cs:999
static object _lock
Definition: IGlooballyIdentifiable.cs:22
const string ConstHelpNumerics
Definition: ScriptAppBase.cs:337
const string AssemblyHelpInfo1
Definition: ScriptAppBase.cs:3922
virtual void Connect(NamedPipeClientStream pipe, double timeOutSeconds=0)
Connects the specified pype with the server.
Definition: NamedPipes_Copy.cs:649
string _anOutMathFilename
Definition: OptFileManager.cs:136
override void AddDefaultAssemblies()
Adds assemblies to be automatically referenced by loaded scripts.
Definition: ApplicationCommandLineBase.cs:382
Represents a complex number (https://en.wikipedia.org/wiki/Complex_number).
Definition: Complex.cs:20
Key generation "algorithm" that generates key as an (eventually padded and truncated) copy of its ori...
Definition: UtilCryptoAux.cs:1013
const string NeuralOptimalTrainingParametersFilename
Name of the file where optimal training parameters are saved.
Definition: NeuralFileConst.cs:55
double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
ScalarFunctionOneParametric(IVector parameters, IAffineTransformation transformation)
Cobnstructor. Creates a new parametric scalar function with the specified parameters and transformati...
Definition: FunctionScalarParametric.cs:184
bool IsDefinitionOrDataKey(string str)
Returns a value indicating whether the specified string is a keyword for some field,...
Definition: SampledDataCsv.cs:421
const string ArgPathsRelative
Paths will be output as relative paths.
Definition: UtilCryptoAux.cs:592
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: CommandlineApplicationInterpreter.cs:206
int NumPoints1
Definition: StructuredMesh3D_02.cs:18
void Log< TState >(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func< TState, Exception, string > formatter)
Definition: TestBase.cs:75
virtual void SetObjective(double value)
Sets the value of the objective function.
Definition: AnalysisResults.cs:464
virtual int GetCellIndex(double value)
Retuns index of the cell of the discrete color scale that corresponds to the specified value (in the ...
Definition: ColorScale.cs:567
Adapter class that wraps a single threaded command delegate and provides a multithreaded function.
Definition: CommandlineApplicationInterpreterBase.cs:252
Blocking execution of the current thread until the specified file begins to exist.
Definition: WaitConditionFile.cs:650
int NumHiddenLayersNum
Number of hidden layers in neural network.
Definition: SerializationDtoNeural.cs:827
Definition: SingleTargetTypeConverterBaseGeneric.cs:7
string[] _parameterNames
Definition: VectorFunctionScriptController.cs:346
override double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
Definition: FunctionScalarParametric.cs:246
double a2
Returns the quadratic term coefficitne of the quadratic function.
Definition: FunctionRealInterpolation.cs:475
Definition: ReflectionTypeConverterTests.cs:194
bool TryConvert(object source, out object target, Type targetType)
Definition: FromStringTypeConverterViaParseReflection.cs:83
const string WorkspaceProjectsDirectoryEnvironmentVar
Definition: UtilSystem.cs:4412
string _interface
Definition: Loader.cs:633
readonly ITestOutputHelper _testOutputHelper
Definition: TestBase.cs:60
int NumTensorFields
Gets the number of tensor fields.
Definition: UnstructuredMesh1dGeneric.cs:599
override void ClosePipe()
Closes the Server's pipe and the associated streams.
Definition: IpcPipes.cs:327
int Id
Unique ID for objects of the currnet and derived classes.
Definition: ParallelJobServerBase.cs:124
ParallelJobCallbackGen< InputType, ResultType > _onAbortedGeneric
Definition: ParallelJobContainerGen.cs:168
VectorFactoryFromDelegate(Func< int, VectorType > creationDelegate)
Constructor that initializes the factory with the delegate that creates a vector of the type VectorTy...
Definition: VectorFactory.cs:94
String[] _expS
Definition: StringParser.cs:147
const bool InitialIsDefaultValueDefined
Default initial value of the property IModelParameter.IsDefaultValueDefined, such that default initia...
Definition: ModelParameter.cs:110
const string _defaultNetworkFilename
Definition: NeuralApproximatorBase.cs:1242
static xdouble ceiling(xdouble a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:1662
override void CopyToPlain(ref AnalysisResults anres)
Copies data from the current DTO to a vector object.
Definition: AnalysisResultsDto.cs:152
FieldCollection2d()
Constructor.
Definition: FieldCollectionGeneric.cs:85
string PrettyPrint(string inputString)
Definition: JsonPrettyPrinter.cs:41
virtual string RunInteractive(CommandThread cmdThread)
Reads commands one by one from the standard input and executes them.
Definition: CommandlineApplicationInterpreter.cs:1298
int Version
Gets or sets the main version number of the program.
Definition: App.cs:1009
virtual bool KeepCurrentGuess
Whether current guess is kept or not.
Definition: Optimizer.cs:331
int NumEqualityConstraints
Number of equality constraints.
Definition: AnalysisResutlsInt.cs:42
static string GetNameSpaceUri(XmlNode node, string prefix)
Returns the namespace URI associated with a specific prefix that applies to the specified Xml documen...
Definition: XmlUtilities.cs:1018
void AddScalarField(TScalarField field)
Adds the specified scalar field to the collection of scalar fields.
Definition: StructuredMesh2dGeneric.cs:349
double MinY
Minimal value of the second parameter.
Definition: Function3d2d.cs:737
void SetServersIsServer(bool isServer)
Sets the server flag on all servers assigned to the current parallel job dispatcher.
Definition: ParallerJobDispatcherBase.cs:204
virtual ITypeConverter TypeConverter
The type converter that is under test.
Definition: BasicTypeConverterTests.cs:34
abstract bool InverseDefined
Tells whether analytical inverse function is defined or not.
Definition: FunctionReal.cs:267
override IVector GetPointOutputVector(SampledDataElement point)
Gets the vector of output values of the point containet in the current container. <pra>This method mu...
Definition: PointCloudSampledDataElement.cs:119
string PipeName
Definition: IpcPipes.cs:531
virtual bool IsApplication
Whether the current object represents an application.
Definition: App.cs:929
virtual void AllocateObjectiveGradient()
Allocate space for objective function gradient.
Definition: AnalysisResults.cs:863
static void UnPermute(IMatrix Apermuted, int[] permutations, ref int[] auxArray, ref IMatrix result)
Unpermutes the product of the specified DooLittle LU decomposition according to permutations array.
Definition: MatrixBase.cs:5691
CryptoParameters()
Definition: UtilCryptoAux.cs:160
Converts from string to a specific type using TryParse or Parse methods via reflection....
Definition: FromStringTypeConverterViaParseReflection.cs:11
bool IsLoadable
Either or not the script can be dynamically loaded.
Definition: LoadableScriptBase.cs:126
ElementType Current
Definition: VectorBase.cs:186
static int DefaultNumHiddenLayers
Default number of hidden layers.
Definition: NeuralTrainingParameters.cs:42
const string ProcessListProcesses
Definition: ScriptAppBase.cs:4543
int NumPoints2
Number of nodes in the second direction.
Definition: StructuredSurfaceMesh3D.cs:29
ReporterConsole()
Constructor. Initializes all error reporting delegates to default values and sets auxliary object to ...
Definition: ReporterMsg_Derived.cs:231
static ParametricSurfaceMeshGeneratorNotImplemented Global
Global lazily initialized instance of the mesh generator.
Definition: ParametricSurfaceMeshGenerator.cs:155
Matrix2d(vec2 xrow, vec2 yrow, vec2 zrow)
Initializes 2D matrix structure with the specified components.
Definition: Matrix2DClass.cs:91
virtual string GetGlobalVariableValue(string varName)
Returns value of the specified global variable, if such a global variable exists.
Definition: CommandlineApplicationInterpreter.cs:499
static Assembly[] GetReferencedAssembliesRecursive()
Returns an array containing the executable assembly and all its referenced assemblies (directly or in...
Definition: UtilSystem.cs:2489
static bool IsCorrectAsymmetricEncryptionAlgorithm(AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType)
Returns true if the specified asymmetric encryption algorithm corresponds the type specification,...
Definition: UtilCrypto.cs:3853
bool SetTW(ref TextWriter tw, ref bool disptw, string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:3539
virtual void LoadDataDefinition(ref InputOutputDataDefiniton definitionData)
Loads the definition data from the file at standard location.
Definition: NeuralFileManager.cs:1200
void CapturedVar_StaticVarType_WorksCorrectlyWithCastValue()
Definition: CapturedVarTests.cs:139
LogRecord CreateError(Exception ex)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:222
DeclaredType Value
Value of the captured entity encapsulated by this class (a variable, property, field,...
Definition: ICapturedVar.cs:16
int NumAppArguments
Number of command-line arguments.
Definition: UilCryptoAux1.cs:124
string _anOutMathPath
Definition: OptFileManager.cs:137
virtual void CancelOne()
Cancels the current waiting for the condition (if one is going on) and unblocks the thread on which w...
Definition: WaitCondition.cs:99
int TextLoggerIndentSpacing
Gets or sets the number of indentation characters written per indentation level.
Definition: ReporterMsg.cs:2541
MathNet.Numerics.LinearAlgebra.Double.Factorization QRDecomposition_MathNetNumericx
Definition: MatrixDecompositions.cs:34
char _messageFalseSeparator
Definition: ClientServerStreamBase_Copy.cs:223
StructuredMeshGeometry2d()
Constructs a new empty 2D field (no elements contained) with no name and no description.
Definition: StructuredField2dGeneric.cs:19
virtual void SetValuesReference(List< double > reference)
Sets the list of function values. Only the list reference is copied.
Definition: FunctonVectorResults.cs:309
static void TestSerializationDto< TypeDto, Type, BaseType >(ISerializer serializer, Type serializedObject, string filePath, bool firstStep, bool secondStep)
Test serialization performed by the specified serialization helper class. This test does not perform ...
Definition: SerializerBase.cs:328
const string AttributeLanguageXml
The xml language attribute. Specifies the language of the element's content (for XHTML documents).
Definition: HtmlWriter.cs:39
XmlNode BackToMark()
Restores the parser state to the state contained in the last mark, and REMOVES that mark....
Definition: XmlUtilities.cs:1791
TVectorField _activeVectorField
Definition: UnstructuredMesh3dGeneric.cs:386
bool RemoveTextLogger()
Removes the default text writer from the TextLogger subsystem. If appropriate, the corresponding txt ...
Definition: ReporterMsg.cs:5209
override void ClearData()
Clears all the data related to servig requests (i.e. request and response strings,...
Definition: IpcStreamServerBase.cs:465
static bool operator!=(Counter a, Counter b)
Definition: Scalar.cs:526
static bool Read(ref long value)
Reads an integer (of type long) from a console and assigns it to a variable. User can input a non-int...
Definition: UtilConsole.cs:131
int DispatcherJobId
Dispatcher's Id of the job contained in the current job data container.
Definition: ParallelJobContainerBase.cs:137
virtual string CmdRunRepeat(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs another command repetitively the specified number of times. First argument must be the ...
Definition: CommandlineApplicationInterpreter.cs:4291
static readonly PhysicalConstant d
deci- (l), SI prefix for 10^-1.
Definition: Constants.cs:721
CollectionTypeConverterTests(ITestOutputHelper output)
Definition: CollectionTypeConverterTests .cs:25
abstract vec3[] Coordinates
Definition: GrObjects.cs:368
static readonly PhysicalConstant StefanConstant
Stefan'result constant (or Bolzmann-Stefan constant).
Definition: Constants.cs:500
const string FuncNameValueDefinition
Name of the function (internal in class defined in loadable script) that defines calculation of funct...
Definition: RealFunctionScriptLoader.cs:101
virtual bool SleepFirst
If true and if minimal sleeping time is larger than 0, then sleep for minimal sleeping time will be p...
Definition: WaitCondition.cs:282
static Vector Create(IVector vec)
Constructs a vector as a copy of another Vector object.
Definition: Vector.cs:201
override bool InverseDefined
Definition: FunctionRealInterpolation.cs:1568
ReserveReportErrorDelegate ReserveReportErrorDlg
Delegate that reports an error when the error reporting function throws an exception....
Definition: ReporterMsg.cs:1209
static void SampledDataCombineOutputs(ref SampledDataSet result, params SampledDataSet[] individualSets)
Loads sampled data and Definition data from multible CSV files. Sampled data consist of one output an...
Definition: SampledData.cs:2277
ReporterBase(object obj, ReportDelegate reportdelegate, ReserveReportErrorDelegate reservereportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and delegates used to p...
Definition: ReporterMsg.cs:1279
ParallelJobContainerGen(SimpleFunctionDelegate< InputType, ResultType > evaluationDelegate)
Creates a new parallel job container with inptu data assigned.
Definition: ParallelJobContainerGen.cs:63
void AddScalarField(TScalarField field, string name)
Adds the specified scalar field to the collection of scalar fields under the specified name.
Definition: StructuredMesh3dGeneric.cs:344
static double abs(double a)
Absolute value.
Definition: UtilMath.cs:139
void Read()
Reads this 3D matrix components from a console.
Definition: Matrix3D.cs:1073
Server that creates a named pipe, listens on its input stream, and sends responses to the client.
Definition: IpcStreamServerBase.cs:19
int Visible
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:122
IModelParameter UpdateTitle(string newTitle)
Updates the title of the current parameter (property Title).
static string ToString(IMatrix mat)
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:4976
bool _calcGradient
Definition: FunctionScalarResults.cs:78
bool HasDerivative
Whether derivatives are specified or not. If false then SurfaceDerivative1(double,...
Definition: IParametricSurfaceWithBounds.cs:40
static void LoadCsv(string filePath, int rowNum, string separator, ref IVector vecRestored)
Reads a vector from the specified row of a CSV file. If the specified row does not exisist in the fil...
Definition: VectorBase.cs:3122
vec2 Solve(vec2 b)
Returns solution of system of equations with the current system matrix and the specified right-hand s...
Definition: Matrix2D.cs:665
const string DataStructuresHelpTestCsvApp
Definition: ScriptAppBase1.cs:55
bool _copyReferences
Definition: FunctionScalarResults.cs:68
Class for building scalar functions from scripts, used by GUI elements.
Definition: ScalarFunctionScriptController.cs:1163
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray3DToIntJaggedArray3DObjectToIntArray3D()
Definition: CollectionTypeConverterTests .cs:831
virtual string GetVariableValue(CommandThread cmdThread, string varName)
Returns the value of the specified variable of the current command line interpreter....
Definition: CommandlineApplicationInterpreter.cs:537
object WaitLock
Must be used only for locking waiting the Waiting() block (since it is potentially time consuming).
Definition: WaitCondition.cs:63
bool _cmpObjectiveFunction
Definition: AnalysisComparer.cs:116
override bool SecondDerivativeDefined
Definition: FunctionRealBasic.cs:428
const double UndefinedMax
Definition: BoundingBox.cs:397
int Code
Definition: ReflectionTypeConverterTests.cs:196
static xdouble Atan2(xdouble a, xdouble b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1642
OptFileAnalysisClient()
Prevent calling argument-less constructor.
Definition: OptFileAnalysisClient.cs:30
virtual bool DerivativeDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionVectorBaseGeneral.cs:137
string GetInputFieldValue(InputFieldDefinition def)
Returns the value of the specified input field, which is obtained from the contents of teh input file...
Definition: SimKosecFileManagerBase.cs:1221
override void Gradient(double x, double y, double z, out double gradx, out double grady, out double gradz)
Function for calculating function gradient, just throws the NotImplementedException exception.
Definition: Function3d.cs:111
void AddCommandFromCode(string commandName, string code, string[] initializationArguments)
Adds a new command whose execution is perfomed by an instance of a class that is dynamically compiled...
Definition: LoadableScriptInterpreter.cs:144
void SetValue(int index, TElement value)
Sets the element at the specified index to the specified value.
Definition: FieldGeneric.cs:124
override string ToString()
Definition: BoundingBox.cs:1215
LightType
Enum representing different light types used in 3D rendering.
Definition: LightSource.cs:15
WeightPol5(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:857
int _columnCount
Definition: MatrixDecompositions.cs:125
override void TrainNetworkSpecific(int numEpochs)
Trains neural network wiht the specified data, performing the specified number of epochs....
Definition: NeuralApproximatorAforgeFake.cs:20
CommandLineApplicationInterpreter()
Creates a new MessyApplication object initialized with some basisc applications.
Definition: CommandlineApplicationInterpreter.cs:43
double DummySpeedTest(out SpeedTestInfo testInfo, Exception exception=null, bool throwBeforeResultsObtained=false, bool throwAfterResultsObtained=false, bool executeActualTest=false)
Provides a dummy speed test method that can be used in testing of SpeedTestInfo class.
Definition: UtilSpeedTestingTests.cs:185
void StartThread()
The parameterized start method of the current tracked thread. Calls the delegate that has been passed...
Definition: TracedThread.cs:138
string NetworkStateFilePath
Path where the curren network state has been saved, or null if the current state has not been saved y...
Definition: NeuralApproximatorBase.cs:252
int _SubVersion
Definition: App.cs:701
vec3[] GetQuadrilateral(int i, int j)
Definition: StructuredMesh3D_02.cs:37
GridGenerator1d(double from, double to, int numNodes, bool centered, double growthFactor, double scalingFactor)
Creates a 1D grid generator. Grid intervals can grow or fall in geometric series, either from the low...
Definition: GridGenerator1d.cs:41
bool Calculated
Collectively gets or sets calculated flags. Set false: all calculated flags are set to false....
Definition: FunctionVectorResultsInt.cs:292
void SetPenaltyFunction(int which, IRealFunctionPenalty function)
Sets the penalty function used for evaluation of the specified penalty term.
Definition: AnalysisResults.cs:2461
virtual void InitAppCustom()
Initializes commands for file system related utilities (embedded applications).
Definition: ScriptAppBase.cs:168
BoundingBox1d(IBoundingBox bounds)
Constructs a 1D bounding box of the specified dimension and initializes it in such a way that its bou...
Definition: BoundingBox.cs:1846
Definition: PPScopeState.cs:9
static string[] GetParametersArrayPlain(string listString)
Returns a string array of parameters represented by the specified comma separated list in string form...
Definition: UtilString.cs:101
static readonly PhysicalConstant ft
Foot, a deprecated non-SI unit of length, ft = 0.30480 numrows.
Definition: Constants.cs:1307
static xdouble cosh(xdouble a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:1682
const string ArgPasswordString1
Specification that password string follows.
Definition: UtilCryptoAux.cs:446
static ColorScale CreateBlueYellow(double minValue, double maxValue)
Creates and returns a continuous color scale that ranges from dark blue to yellow.
Definition: ColorScale.cs:956
XUnitLoggerProvider(ITestOutputHelper testOutputHelper)
Definition: TestBase.cs:78
double ToReference(double actualValue)
Transforms the specified value from actual domain to reference domain (interval [0,...
IVector _min
Definition: DistanceComparer.cs:325
int SleepTimeMs
Sleeping time, in milliseconds, used by the current object when waiting for fulfillment of some condi...
Definition: ParallelJobContainerBase.cs:180
abstract void SaveNetworkSpecific(string filePath)
Saves the state of the neural network to the specified file. If the file already exists,...
virtual string AssemblyFunctionInfoLoadAssemblies(string appName, string[] args)
Executes embedded application - loading the specified assemblies for inspection only (can not be exec...
Definition: ScriptAppBase.cs:4328
IVector auxX
Definition: MatrixDecompositions.cs:179
void RestoreDefinitionAndData(bool resetPosition)
Restores data definition AND sampled data definition from the data table.
Definition: SampledDataCsv.cs:3332
virtual void LoadNeuralNetwork(ref INeuralApproximator trainedNetwork)
Loads the trained neural network approximator from the file at standard location.
Definition: NeuralFileManager.cs:673
static xdouble Floor(xdouble a)
Returns the largest integer less than or equal to the specified number.
Definition: UtilMath.cs:1698
Definition: LoadableScriptOpt.cs:227
ParallelJobCallbackGen< InputType, ResultType > OnAbortedGeneric
Delegate that is executed on started event.
Definition: ParallelJobContainerGen.cs:173
void PrintParallelCommands(bool printAll)
Prints the commands that were scheduled for parallel execution, together with their current status,...
Definition: CommandlineApplicationInterpreter.cs:2081
double Det
Gets matrix determinant.
Definition: Matrix2DClass.cs:577
static void CholeskySolve(IMatrix decomposed, IVector b, ref IVector x)
Solves a system of eauations with the specified Cholesky decomposition of a real symmetric square mat...
Definition: MatrixBase.cs:6642
virtual ElementType MultiplyRight(IVector< ElementType > b)
Definition: VectorBase.cs:353
void SetMessageFalseSeparator(char messageFalseSeparator)
Changes message false separator for the current object.
Definition: ClientServerStreamBase_Copy.cs:250
virtual string ClearVariable(CommandThread cmdThread, string varName)
Clears (removes) the specified variable.
Definition: CommandlineApplicationInterpreter.cs:586
string ToStringLong()
Definition: UtilTime.cs:268
override void Hessian3(double x, double y, out double dxx, out double dyy, out double dxy)
Function for calculating Hessian of the third component, just throws the NotImplementedException exce...
Definition: Function3d2d.cs:228
static string DefaultMsgResponseBegin
Default message that begins any multiline response.
Definition: IpcStreamClientServerBase.cs:477
Vector2d GetCopyThis()
Creates and returns a copy of the current 2D vector, which is of the same type as the current vector.
Definition: Vector2Dclass.cs:65
virtual void SetHessian(IMatrix value)
Sets the functions' Hessian. If CopyReferences=true (false by default) then only the reference is cop...
Definition: FunctionScalarResults.cs:333
CreateOutputValuesDelegate CreateOutputValues
Creates and returns output values (usually for a newly created training element) correspoonding to th...
Definition: PointCloudSampledDataElement.cs:61
static Complex operator*(Complex c1, Complex c2)
Complex multiplication.
Definition: Complex.cs:558
virtual void SetZero()
Sets all components of the current matrix to 0.
Definition: MatrixBase.cs:568
double _c
Definition: FunctionScalarExamples.cs:213
GridGenerator1d(double from, double to, int numNodes)
Creates a 1D grid generator for uniform grid (equidistant intervals).
Definition: GridGenerator1d.cs:87
static int ReadNumber(ref double number, string str, int startpos, bool skipspaces)
Reads a number from a string, starting at a specified position. Returns the position of the first cha...
Definition: StringParser0.cs:163
int CapacityOverhead
Overhead in capacity. If differnt than 0 then when current capacity is filled, adding operations will...
Definition: SortedUniqueItemList.cs:125
color Color
Font color.
Definition: GrProperties.cs:76
string[] GetArguments(string commandLine)
Parses a command line and extracts arguments from it. Arguments can be separated according to usual r...
static string ListToString< T >(List< T > list, bool addNewlines, int numIndent)
Returns a string representing the specified generic list in short form (without count and capacity).
Definition: Utils.cs:2629
virtual object DefaultValueObject
Definition: ModelParameter.cs:131
static string[] _soundExtensionsDotNetDefault
Definition: UtilSystem.cs:4191
static void MultiplyTranspTranspTranspPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B^T*C^T. Multiplies three matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:3877
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: FunctionVectorFromScalar.cs:151
static string DefaultKeyNumInputParameters
Default key for introduction of number of input parameters.
Definition: SampledDataCsv.cs:117
void AddVectorField(TVectorField field, string name)
Adds the specified vector field to the collection of vector fields under the specified name.
Definition: StructuredMesh2dGeneric.cs:493
InterpreterVariable(string variableName, int stackLevel=StackLevelDefault, string variableValue=null, VariableFlags flags=VariableFlags.Default)
Constructs a new interpreter variable.
Definition: CommandlineApplicationInterpreterBase.cs:398
static bool Read(ref int value)
Reads an integer from a console and assigns it to a variable. User can input a non-integer to see cur...
Definition: UtilConsole.cs:82
void TestMain_Basic(string[] args)
Definition: LoadableScriptBase.cs:792
Provides readonly access to elements of a fixed array. This is typically used to access array-like in...
Definition: ArrayAccessors.cs:18
void SetEpochNumbers(int[] epochNumbers)
Sets the list of epoch numbers at which convergence data was sampled.
Definition: NeuralTrainingParameters.cs:597
ScalarFunctionResults(int numParameters, bool reqGradients)
Specified number of parameters, 1 objective, no constraints. No gradients required.
Definition: FunctionScalarResults.cs:48
int _outputSafetyFactorNum
Definition: NeuralTrainingParameters.cs:1438
static void TestBinomialCoefficients()
Writes the first few binomial coefficients to the console.
Definition: UtilMath.cs:640
const string ConstCrypto1
Name of the command for the cryptography-related embedded applications.
Definition: ScriptAppBase.cs:344
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
Definition: Ellipsoid.cs:58
float G
Definition: ColorRGBA.cs:9
Type SourceType
Definition: SingleSourceTypeConverterBaseGeneric.cs:10
Func2dBase Component1
Returns the scalar function that represents the first component of the current 3D vector function of ...
Definition: Function3d2d.cs:143
const string FileHelpLogEvents
Definition: ScriptAppBase.cs:751
virtual string Name
Scalar function name.
Definition: ScalarFunctionScriptController.cs:74
Matrix2d Inv
Gets inverse of the current matrix.
Definition: Matrix2DClass.cs:594
CommandThread MainThread
Stack frames (containing variables) and other data for the main interpretation thread.
Definition: CommandlineApplicationInterpreter.cs:237
RandomGeneratorSystem()
Initializes a new instance of random generator, using a time-dependent default seed value.
Definition: Random.cs:310
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealBasic.cs:78
static RealFunction GetWeightPol5(double Kx, double Sx)
Creates and returns a new real polynomial weighting function object based on 5th order polynomial....
Definition: FunctionRealWeight.cs:828
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealInterpolation.cs:1518
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntIEnumerableToIntArrayObjectToIntList()
Definition: CollectionTypeConverterTests .cs:126
IVector GetGradient(int which)
Returns the gradient of the specified function.
bool Calculated
Definition: OptimizationResults.cs:28
static bool operator<(Counter a, Counter b)
Definition: Scalar.cs:527
virtual string PrintVariable(CommandThread cmdThread, string varName)
Prints the specified variable.
Definition: CommandlineApplicationInterpreter.cs:615
override void Serialize< T >(T serializedObject, Stream serializationStream)
Serializes the specified object and outputs it to a stream.
Definition: SerializerJson.cs:143
void Init(string label)
Definition: UtilTime.cs:61
static readonly PhysicalConstant secarc
Second of arc, non-SI unit of plane angle, ″ = (1/60)′ = (1/3600)° = (π/648000) rad.
Definition: Constants.cs:1122
byte[] KeyBytes
Secret key as byte array.
Definition: UilCryptoAux1.cs:332
const string KeyTextWriterFile
Definition: ReporterMsg.cs:2316
mat2 MultiplyRight(mat2 b)
Right-multiplies the current 2D matrix with the specified matrix and returns the product.
Definition: Matrix2D.cs:690
void SetNumParameters(int num)
Sets number of parameters of the current vector function to the specified value.
static bool IsReadableFile(string filePath)
Returns true if the file with the specified path is existent and readable by the current process,...
Definition: UtilSystem.cs:4226
static ColorScale CreateColorBlindTritanopia(double minValue, double maxValue)
Creates and returns a continuous color scale that is adapted to people with tritanopia.
Definition: ColorScale.cs:879
double Magnitude
Alias for the property R.
Definition: Complex.cs:210
static int _defaultOutputLevel
Definition: LoadableScriptBase.cs:280
char ForWhichCharacter
Definition: OpenSquareBracketStrategy.cs:21
static ISettingsRreader FromAppConfig()
Definition: SettingsRreader.cs:155
bool Contains(Type item)
Returns true if the current list contains the specified item, or false otherwise.
Definition: SortedUniqueItemList.cs:194
ReportLevel _LoggingLevel
Definition: ReporterMsg.cs:2617
static readonly PhysicalConstant MoonRotationPeriod
Moon rotation period, 27.321582 l = 2.36058e6 result.
Definition: Constants.cs:1628
virtual IRandomGenerator Random
Random generator used by the current object.
Definition: LoadableScriptOpt.cs:71
bool AnFormatJson
Gets or sets the flag indicating whether analysis input and output is written JSON format.
Definition: OptFileManager.cs:649
static double TestComputationalTimesCholesky(int numEq, int outLevel, bool testProduct)
Test of Cholesky decomposition, also measures time necessary fo rindividual operations.
Definition: TestSpeed.cs:95
bool Calculated
Flag indicating whether the grid is generated ready to use. If true then node positions are contained...
Definition: GridGenerator1dBase.cs:41
static T[] Concatenate< T >(params IList< T >[] arrays)
Concatenates an arbitrary number of arrays or lists of the specified type, and returns the result.
Definition: Utils.cs:1102
int EpochCount
Number of learning epochs performed up to the current moment.
Definition: NeuralApproximatorBase.cs:877
int InputLenght
Number of input neurons.
Definition: NeuralTrainingParameters.cs:1470
SampledDataSet()
Definition: SampledData.cs:97
string _description
Definition: VectorFunctionScriptController.cs:68
static Process OpenFileInDefaultBrowser(string filePath)
Opens the specified file in the system's default browser.
Definition: UtilSystem.cs:528
bool IsProcessingSingleQuoteInitiatedString
Definition: JsonPPStrategyContext.cs:54
static string[] CommandLineToArgs(string commandLine)
Splits command-line string to arguments in the same way as Windows OS does when running a program (it...
Definition: CommandLineParserWindows.cs:34
void ReadAppSettings(string groupname)
Reads settings for a specified named group of reporters from the application configuration file.
Definition: ReporterMsg.cs:2443
void AddIndexField(TIndexField field)
Adds the specified index field to the collection of index fields.
Definition: UnstructuredMesh2dGeneric.cs:187
virtual void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
Definition: FunctionScalarResults.cs:376
static bool IsApplicationRunning(string processName, bool caseSensitive, bool isFullString)
Returns true if at least one application with the specified process name is running,...
Definition: UtilSystem.cs:1199
override bool SecondDerivativeDefined
Whether calculation of second derivative is implemented for the current function.
Definition: RealFunctionScriptBase.cs:197
vec3 Curve(double t)
2D vector function of scalar argument, which gives a 3D representation of the knot....
double OutputDistance(PointContainerType pt1, PointContainerType pt2)
Returns output distance between two point containers.
override bool IntegralDefined
Definition: FunctionRealWeight.cs:176
static string _defaultKeyDefaultValues
Definition: SampledDataCsv.cs:247
Base class for storage of optimization results. Stores optimal analysis results, best current guess,...
Definition: OptimizationResults.cs:65
int _numEpochs
Definition: NeuralTrainingParameters.cs:558
virtual string Code
Gets or sets code to be compiled. Get: If not assigned explicitly then CodeBase is taken.
Definition: Loader.cs:599
static string[][][] StringJaggedArrayNonrectangular3x2x4
Sample 3D jagged array of strings (type string[][][]), for use in tests. The array does not correspon...
Definition: SampleCollections.cs:197
Base class for all command line interpreters.
Definition: InterpreterCommandLine.cs:170
List< ScalarFunctionControllerType > _elements
Definition: VectorFunctionScriptController.cs:128
int GetInt(int rowNumber, int columnNumber)
Returns an integer value of the element at the specified position of the data table,...
Definition: StringTable.cs:830
void AddParameters(bool canReplaceParameter, bool isInitializing, params ModelParameterType[] parameters)
Definition: ModelParameterSetFixedBase.cs:68
static bool IsWritableFile(string filePath, bool onlyExistent=false)
Returns true if the file with the specified path is writable by the current process,...
Definition: UtilSystem.cs:4253
virtual String ErrorString
Error string indicating what went wrong.
Definition: AnalysisResultsDto.cs:241
Various string operations, random strings, random characters, etc.
Definition: UtilString.cs:22
Definition: ToStringTypeConverterViaJsonTests.cs:12
Command-line interpreter's server that creates a named pipe, listens on its input stream for client r...
Definition: CommandlineApplicationInterpreter.cs:5270
int GetIndex(int i1, int i2, int i3)
Returns the linear index of the component that is identified by 3 separate indices.
Definition: StructuredField3dGeneric.cs:137
virtual string OriginalTitle
A title describing what given data element represents. Titles can contain special characters and spac...
Definition: NeuralMapData.cs:421
IndexList VerificationIndices
Gets or sets indices of training data elements that are used for verification of how precise appeoxim...
Definition: NeuralApproximatorBase.cs:320
static bool operator>(xdouble a, xdouble b)
Definition: UtilMath.cs:1438
IComparer that compares the key first and then eventually the value and finally the additional orderi...
Definition: Utils.cs:3272
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1196
Matrix2d NormalizedInfinity()
Returns this matrix normalized with infinity norm.
Definition: Matrix2DClass.cs:568
string ToString()
Saves buffer contents to string and returns it.
static int ReadDoubleList(ref List< double > tab, string str, int startpos, char open, char close, char separator, bool skipspaces)
Reads a list of numbers of type double from result stirng startng at specified position,...
Definition: StringParser0.cs:423
static bool CheckFileHashSha256Hex(string filePath, string hashValue)
Checks whether the specified SHA-256 hash value matches the actual hash value of the specified file.
Definition: UtilCrypto.cs:1432
virtual void SetOptimizationData(IOptimizationData data)
Sets the optimization data where information about optimization problem and algorithm parameters can ...
Definition: OptimizationResults.cs:83
abstract double Value2(double x, double y)
Calculates and returns value of the second component of the current function.
double a1
Returns the linear term coefficitne of the linear function.
Definition: FunctionRealInterpolation.cs:122
override MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:1286
string ScriptClassName
Name of the script class that containe definition of the compiled real function class.
Definition: RealFunctionScriptLoader.cs:578
color GetDiscreteColor(double value)
Returns a color from the DISCRETE color scale represented by the current object that corresponds to h...
bool IsKeyMaximalValues(string str)
Whether the specified string is a keyword introducing variable maximal values.
Definition: SampledDataCsv.cs:746
const string CryptoHelpAsymTest
Definition: ScriptAppBase.cs:1584
virtual void Report(ReportType messagetype, string location, string message, Exception ex)
Basic reporting method (overloaded). Launches an error report, a warning report or other kind of repo...
Definition: ReporterMsg.cs:3127
virtual void SetAnResultsReady()
Sets the analysis results ready flag.
Definition: OptFileManager.cs:839
FieldCollection3d< TTensorField, TTensor > TensorFields
Gets the collection of tensor fields of the current mesh.
Definition: StructuredMesh3dGeneric.cs:548
void Inverse(ref IMatrix inv)
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the s...
Definition: MatrixDecompositions.cs:1541
static double Pow4(double x)
4th power.
Definition: UtilMath.cs:1083
VectorBase_MathNetNumerics _vectorSolution_MathNetNumerics
Definition: MatrixDecompositions.cs:155
double PenaltyDerivative(int which, double constraintFunctionValue)
Returns derivative of the penalty function for the specified constraint at the specified value of the...
Definition: AnalysisResults.cs:2665
int SubVersion
Gets or sets the subversion number of the program.
Definition: App.cs:1027
static Complex Add(Complex c1, Complex c2)
Ads two complex numbers and returns the result.
Definition: Complex.cs:410
bool AddTextLogger(Stream stream, bool writeintro, bool disposewriter)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5086
Quadratic function of 2 variables.
Definition: Function2d.cs:510
void SetEpochErrorsRms(List< double > errors)
Sets the list of sampled RMS errors corresponding to epoch numbers from EpochNumbers.
Definition: NeuralTrainingParameters.cs:636
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: InterfaceInterpreterBase.cs:78
void FindFirstDataCell(int keyRow, int keyColumn, out int row, out int column)
Finds the first data cell for data inroduced by a key, provided that the key that introduces the data...
Definition: SampledDataCsv.cs:2095
virtual void AllocateConstraintsList()
Allocates space for list of constraint functions.
Definition: AnalysisResults.cs:888
StreamReader _inputStream
Definition: IpcNamedPipes.cs:250
void StoreData()
Stores sampled data to the data table.
Definition: SampledDataCsv.cs:1942
double b
Depth of the curve bounding box.
Definition: LissajousCurve3D.cs:60
static void MultiplyTranspVecPlain(IMatrix a, IVector b, IVector result)
R=A^T*b. Multiplies a transposed matrix with a vector and stores the result in the specified result v...
Definition: MatrixBase.cs:4129
void PrepareNeuronTable(ref int[] neuronsFirstLayer, ref int[] neuronsSecondLayer, ref int[] neuronsThirdLayer)
Definition: NeuralTrainingParameters.cs:2096
bool ContainedInDocument(XmlNode node, XmlDocument doc)
Returns true if an Xml node is contained in the specified Xml document (false if any is null).
Definition: XmlUtilities.cs:1172
static volatile bool DefaultIsTestMode
Default value of the testmode flag.
Definition: ParallelJobContainerBase.cs:214
static double ln(double a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:412
bool RemoveTextLoggers()
Removes all text writers from the TextLogger subsystem. If appropriate, the corresponding text writer...
static void VectorProduct(IVector a, IVector b, ref IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:2061
double Norm
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2D.cs:551
double _first
Definition: GridGenerator1dBase.cs:256
static void Add(IMatrix a, IMatrix b, IMatrix result)
Sums two matrices and stores the result in the specified result matrix. WARNING: dimensions of matric...
Definition: MatrixBase.cs:2283
static void SaveDefinitionDataJson(string filePath, InputOutputDataDefiniton definitionData)
Saves network's definition data to the specified JSON file. File is owerwritten if it exists.
Definition: SampledData.cs:1176
Definition: SingleSourceTypeConverterBaseGeneric.cs:7
static int lastId
Definition: UtilTime.cs:25
LoadableScriptInterpreterBase()
Definition: LoadableScriptInterpreter.cs:33
DateTime _CreationTime
Definition: App.cs:710
static object LoadBinary(string fileName)
Loads the from specified file.
Definition: UtilSystem.cs:5632
Storage for results of a scalar function. Includes parameters at which function was (or should be) ev...
Definition: FunctionScalarResults.cs:18
vec3 Solve(vec3 b)
Returns solution of system of equations with the current system matrix and the specified right-hand s...
Definition: Matrix3D.cs:762
double xy
Definition: Matrix3D.cs:377
virtual void UpdateThreadPriorityFromSystem()
Updates thread priority (property ThreadPriority) of the interpreter to the current global thread pri...
Definition: CommandlineApplicationInterpreter.cs:2200
string _gradientsSingleString
Definition: ScalarFunctionScriptController.cs:242
int OutputLevel
Output level the current object.
Definition: ParallerJobDispatcherBase.cs:1021
Vector3d Subtract(Vector3d a)
Returns difference between the current vector and the specified vector.
Definition: Vector3Dclass.cs:471
static void AddDefaultAssembliesExtShellAppExt()
Appends list of assemblies for dynamic testing of software in the ExtShellAppExt project.
Definition: App.cs:2330
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:517
bool _isImmutable
Definition: SampledData.cs:922
double SpotAngle
Angle of the spotlight cone (only for Spot lights, in degrees).
Definition: LightSource.cs:51
TTensorField GetTensorField(int index)
Returns the tensor field with the specified index.
Definition: UnstructuredMesh2dGeneric.cs:588
override void ModuleInitializationAfter()
A method called after other initializaton parts of the module.
Definition: ApplicationIgShellBase.cs:83
static bool _isUsed_fOAEP1
Definition: UtilCrypto.cs:4960
virtual string CmdPipeServersRemove(CommandThread cmdThread, string cmdName, string[] args)
Command. Removes the spcified (or all, if names are not specified) named pipe servers....
Definition: CommandlineApplicationInterpreter.cs:5563
void WaitFirstEvent()
Blocks execution of the current thread until the first event is fired by the filesystem watcher....
Definition: WaitConditionFile.cs:374
static bool operator!=(mat2 a, mat2 b)
Vector comparison, returns true if vectors are different.
Definition: Matrix2D.cs:878
virtual void InitAppAssembly()
Initializes commands for assembly related utilities (embedded applications).
Definition: ScriptAppBase.cs:4387
static readonly ColorRGBA White
Definition: ColorRGBA.cs:19
XmlNode _previous
Definition: XmlUtilities.cs:1265
int _numConstraints
Definition: OptimizationInputData.cs:85
int NumAbortedJobs
Gets the number of aborted jobs (of those handled by the current dispatcher) up to this point.
Definition: ParallerJobDispatcherBase.cs:1206
override double Norm
Gets a 2 norm of the current 2D vector.
Definition: Vector2Dclass.cs:396
override string ToString()
Returns a string representation of the current analysis results object in a standard IGLib form.
Definition: AnalysisResults.cs:2226
static readonly PhysicalConstant ha
Hectare, non-SI unit of area, ha = 100 a = 10000 numrows^2.
Definition: Constants.cs:1139
bool CheckOutputUniqueness
Gets true if original and mapped output element indexes are unique.
Definition: NeuralMapData.cs:601
static INeuralApproximator ExampleQuadratic(int inputLength, int outputLength)
Example demonstrating usage of the neural network approximator. A quadratic function with random coef...
Definition: NeuralApproximatorBase.cs:3380
virtual string CmdThreadInfo(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3198
void AddBindersInternal(IEnumerable< SerializationBinderBase > binders)
Adds the specified binders at the end of the ordered set of contained binders (ContainedBindersPrivat...
Definition: SerializationBinderCascaded.cs:120
IVectorFunctionResults GetCopy()
Returns an exact deep copy of the current object.
Definition: SkipWhileNotInStringStrategy.cs:3
virtual string CmdRunFile(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs a file by running all its lines in the current interpreter. File name must be the only ...
Definition: CommandlineApplicationInterpreter.cs:4217
XmlNode NextNode()
Sets the current node to the next sibling node, or to null if the next sibling node does not exist,...
Definition: XmlUtilities.cs:2054
virtual void InitWaitCondition()
Initializes object properties with default values.
Definition: WaitCondition.cs:163
double ScalarTerm
Scalar additive constant.
Definition: FunctionScalarExamples.cs:67
bool RemoveTextWriter(TextWriter writer)
Removes the first object from Writers that contains the specified TextWriter. If appropriate,...
Definition: ReporterMsg.cs:4411
static volatile int _maxLengthIntToString
Definition: Utils.cs:186
void Report(IReporter reporter)
Reports all logs contained in this logger by the specified reporter.
Definition: LoggerMsg.cs:347
static void ResizeListRefType< T >(ref List< T > list, int count, bool reduceCapacity)
Allocates or re-allocates (resizes) the specified list in such a way that it contains the specified n...
Definition: Utils.cs:597
VectorDtoBase(int length)
Constructor, prepares the current DTO for storing a vector of the specified dimension.
Definition: VectorDto.cs:41
VectorDtoBase ErrorsVerificationMax
Maximal errors calculated on verification data.
Definition: SerializationDtoNeural.cs:235
string OriginalDescription
Definition: NeuralMapData.cs:45
RandomGaussian(IRandomGenerator random=null)
Definition: RandomGaussian.cs:24
bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results....
Definition: AnalysisResutlsInt.cs:54
bool _isOutputLevelSet
Definition: CommandlineApplicationInterpreterBase.cs:2051
BoundingBox2d()
Creates a 2D bounding box with unspecified bounds; minimal co-ordinate components equal to BoundingBo...
Definition: BoundingBox.cs:1659
static bool StringArraysEqual(string[] originals, string[] compared)
Returns true if the specified string arrays are equal (i.e. all corresponding values are equal or bot...
Definition: UtilString.cs:72
virtual void OnDeleted(object source, FileSystemEventArgs e)
Handles events triggered when a file or directory is deleted.
Definition: WaitConditionFile.cs:218
Definition: ParserStateStruct.cs:9
virtual void LoadMappingDefinition(ref MappingDefinition mappingDefinition)
Loads the mapping definition data from the file at standard location.
Definition: NeuralFileManager.cs:1208
@ TripleDES
Specifies the TripleDES symmetric encryption algorithm.
string _workingDirectory
Definition: LoadableScriptOpt.cs:125
Definition: Matrix_old.cs:17
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:57
static ThreadPriority ProcessToThreadPriority(ProcessPriorityClass processPriority)
Converts the specified ProcessPriorityClass enum value to the approcimately equivalent ThreadPriority...
Definition: UtilSystem.cs:1942
static XmlNode GetNextNode(XmlNode StartingNode, XmlNodeType NodeType, string NodeName, string NodeValue, bool IncludeCurrent)
Finds the first sibling node of the starting node (or the current node itself) that satisfies the spe...
Definition: XmlUtilities.cs:1449
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
Definition: KleinBottle.cs:57
static void MapCoordinates2d(Field< vec3 > referenceField, Field< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a set of unstructured points (point cloud) from a reference set according to...
Definition: FieldGeneric.cs:343
const double googol
googol, more for fun than for serious work :)
Definition: Constants.cs:337
readonly IRandomGenerator _random
Definition: RandomGaussian.cs:54
void AddIndexField(string fieldName, string fieldDescription)
Creates a new index field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: UnstructuredMesh2dGeneric.cs:166
OutputElementDefinition(string name)
Constructor. Element index is unknown, there is no element description.
Definition: SampledDataDefinition.cs:548
double OutputBoundsSafetyFactor
Safety factor by which interval lenghts of output data bounds are enlarged after bounds are automatic...
Definition: NeuralApproximatorBase.cs:343
StructuredSurfaceMesh3D GenerateMesh(Func< double, vec3 > curve, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double hrel=1e-2, double eps=0.1, bool normalizeFromPrevious=false, bool restrictToInterval=false)
Generates a tubular mesh using the Parallel Transport Frame (PTF) and numerical tangent vectors.
Definition: TubularMeshGenerator.cs:62
static int DefaultAlphaNum
Default value for number of alpha values in neural networks.
Definition: NeuralTrainingParameters.cs:1241
IReporter _reporter
Definition: App.cs:2194
virtual void AddOutputElement(OutputMappingDefinitionElement element)
Definition: NeuralMapData.cs:694
void LogWarning(string message)
Adds a new warning log record initialized according to parameters.
Definition: LoggerMsg.cs:762
static bool _defaultIsMultilineRequest
Definition: ClientServerStreamBase2_Copy.cs:56
Type TypeDto
Definition: SerializationDtoBase.cs:735
int _dimension
Definition: ScalarFunctionScriptController.cs:54
TIndexField GetIndexField(string name)
Returns index field with the specified name.
Definition: StructuredMesh3dGeneric.cs:128
override void CopyFromPlain(List< ElementType > obj)
Copies data from the specified list object. All elements are copied to appropriate DTOS on the array ...
Definition: ArrayDto.cs:225
Definition: CollectionExtensions.cs:16
DataMapperSimple(string mappingDefinitionFilePath, string dataDefinitionPath)
Definition: NeuralMapData.cs:1021
virtual void SetParametersReference(IVector reference)
Sets the vector of optimization parameters. Only the reference is copied.
Definition: FunctionScalarResults.cs:212
string _neuralOutputXmlFilename
Definition: NeuralFileManager.cs:145
object ValueObject
Current value of the parameter, stored as object.
Definition: IModelParameter.cs:77
static GridGenerator1d CreateGeometricCentered(double from, double to, int numNodes, double growthFactor)
Creates and returns a 1D grid generator. Grid intervals can grow or fall in geometric series from the...
Definition: GridGenerator1dBase.cs:198
int Length
Current length of the buffer or object represented by the buffer.
Definition: StringParserBuffer.cs:145
double Time
Returns the elapsed time measured by the timer in the last round. If the timer is running then the cu...
Definition: UtilTime.cs:359
Base class for scalar functions of 2 variables.
Definition: Function2d.cs:645
override double f3(double u, double v)
Definition: Function3d2d.cs:1676
double fi3
Definition: LissajousKnot3D.cs:52
static bool IsSoundExtensionDotNet(string extension)
Returns true if the speicified file extesion (without a '.') represents one of the standard ....
Definition: UtilSystem.cs:4200
void GetProduct(ref IMatrix product)
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of ...
Definition: MatrixDecompositions.cs:1496
int Capacity
Gets the current number of elements in the list.
Definition: SortedUniqueItemList.cs:117
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:731
OutputMappingDefinitionElement(string name, string title)
Constructor. Element index is unknown.
Definition: NeuralMapData.cs:529
List< int > EpochNumbers
List of epoch numbers at which convergence data was sampled. Saved after every set of epochs.
Definition: NeuralApproximatorBase.cs:1176
ApplicationBase(string programName, string codeName, int version, int subVersion, int subSubVersion, string release)
Constructs a new application object.
Definition: App.cs:208
void SetHessian(int which, IMatrix value)
Sets the specified function's Hessian. If CopyReferences=true (false by default) then only the refere...
static CommandLineApplicationInterpreter Global
Global command-line interpreter.
Definition: CommandlineApplicationInterpreter.cs:316
bool IsRoundTripConvertible(Type type)
Determines whether a type supports round-trip conversion using TryParse or Parse with InvariantCultur...
Definition: ToStringTypeConverterViaParseReflection.cs:88
virtual void StopServer()
Definition: IpcStreamServerBase.cs:81
abstract VectorBase GetNewBase(int length)
Creates and returns a new vector of the specified dimension in such a way that the type of the return...
void CopyTo(T[] array, int arrayIndex)
Definition: SampleClasses.cs:475
static xdouble Sin(xdouble a)
Returns the sine of the specified angle.
Definition: UtilMath.cs:1786
static double Norm2Plain(IVector a)
Returns Euclidean norm of the specified vector.
Definition: VectorBase.cs:528
Vector2d RowX
Gets or sets the x-row of the 2D matrix.
Definition: Matrix2DClass.cs:390
bool AddTextWriter(TextWriter writer)
Sets the text writer to which reporting is also performed.
BoundingBox1d(IVector coordinates)
Creates a bounding box and initializes it in such a way that minimal and maximal co-ordinate componen...
Definition: BoundingBox.cs:1826
File manager for mapping file client and server.
Definition: NeuralFileManager.cs:799
string ReturnedString
Returned value of command-line application methods.
Definition: UilCryptoAux1.cs:369
static readonly PhysicalConstant m
milli- (numrows), SI prefix for 10^-3.
Definition: Constants.cs:737
int _errorCode
Definition: AnalysisResultsDto.cs:204
override double f1(double u, double v)
Definition: Function3d2d.cs:1077
static readonly PhysicalConstant t
Tonne, non-SI unit of mass, t = 1000 kg.
Definition: Constants.cs:1155
NumberType AddNumbers(NumberType a, NumberType b)
Calculates and returns sum of parameters a and b .
void FromStringIConvertible_ShouldFailOnInvalidInput()
Definition: ToStringTypeConverterViaIConvertibleTests.cs:66
vec3[][] Nodes
Definition: StructuredMesh3D_03.cs:16
string _neuralNetworkPath
Definition: NeuralFileManager.cs:129
bool IsKeyDefaultValues(string str)
Whether the specified string is a keyword introducing variable default values.
Definition: SampledDataCsv.cs:795
delegate string ReportMessageDelegate(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Assembles error description (without any decoration, this is added by talling methods).
bool IsValueDefined
Whether parameter vlaue is defined or not. This property has been added to the class such that for no...
Definition: IModelParameter.cs:76
double InputSafetyFactorMin
Minimum limit for input safety factor value.
Definition: NeuralTrainingParameters.cs:1396
virtual string CmdNameFileAnalysis
Command name - analyse.
Definition: InterfaceInv.cs:154
static double Max(double a, double b, double c)
Largest of three numbers.
Definition: UtilMath.cs:897
bool TryConvertTyped< SourceType >(SourceType source, out string target)
Definition: ToStringTypeConverterViaIConvertible.cs:23
static void ShowConsoleWindow()
Shows the console window.
Definition: UtilConsole.cs:56
virtual void AllocateRequested()
Allocates space for all requested result objects.
Definition: FunctionScalarResults.cs:398
static void ReadAnalysisRequest(string filePath, ref IVector parameters, ref bool reqcalcobj, ref bool reqcalcconstr, ref bool reqcalcgradobj, ref bool reqcalcgradconstr, ref string cd)
Read the analysis data from data file Format: { { p1, p2, … }, { reqcalcobj, reqcalcconstr,...
Definition: AnalysisResults.cs:1991
InputOutputDataDefiniton NeuralDataDefinition
Neural data definition.
Definition: INeuralModel.cs:27
void ExampleBlockCreateRemove(string filePath, int numSwitches, bool waitDirectory)
Monitors the specified file and successively blocks until it is created and then until it is removed.
Definition: WaitConditionFile.cs:1202
string MsgAnBusyPath
File path of the analysis busy flag file. Setter takes only pure file name, without path information....
Definition: OptFileManager.cs:412
RosenbrockGeneralizedAdjacent()
Creates a new untransformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:704
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system is nonsingular.
Definition: MatrixDecompositions.cs:1156
static byte[] LoadFileBytes(string filePath)
Copies the specified file to byte array and returns it.
Definition: Loader.cs:169
int EnsureCapacity(int minCapacity)
Ensures that the buffer's current capacity is at least the specified number of bytes.
Class that enables custom parsing and building of an Xml document.
Definition: XmlUtilities.cs:2287
int FirstNonemptyRow(int startRow)
Returns index of the first non-empty row from the specified row on (inclusively), or -1 if there is n...
Definition: StringTable.cs:370
string _certificateStoreName
Definition: UilCryptoAux1.cs:244
virtual bool ReqValue
Indicates whether calculation of function value is/was requested.
Definition: FunctionScalarResults.cs:441
virtual GrPrimitiveSettings Settings
Gets the primitive's internal graphic properties (such as color, etc.)
Definition: GrObjects.cs:263
static void ExampleWriteCsv(string filePath)
Creates a simple string table and saves it to a CSV file.
Definition: StringTable.cs:1191
virtual string ToStringMath(string elementFormat)
Returns a string representation of the current matrix in a standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:5152
UnstructuredMesh2d(int dimx, int dimy, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Constructs an (unconnected) unstructured grid of nodes based on 2D structured grid obtained by transf...
Definition: UnstructuredMesh2d.cs:97
ComparerOutputDistance()
Definition: SampledData.cs:872
static void Copy(VectorBase_MathNetNumerics a, IVector result)
Copies components of a vector to another vector. WARNING: dimensions of the copied vector and result ...
Definition: VectorBase.cs:1211
void AddVectorField(string fieldName, string fieldDescription)
Creates a new vector field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: UnstructuredMesh3dGeneric.cs:472
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:921
void ReadElementTargetValues()
Reads target values of input and output data elements from the CSV, from the current position on (inc...
Definition: SampledDataCsv.cs:2918
static double pow6(double x)
6th power.
Definition: UtilMath.cs:355
bool SetTextWriter(string filename, bool append)
Creates a TextWriter upon a file and sets it as the basic TextWriter to which reporting is also perfo...
Definition: ReporterMsg.cs:4125
char ForWhichCharacter
Definition: CommaCharacterStrategy.cs:16
static Quadratic GetQuadratic(double a2, double a1, double a0)
Creates and returns a new quadratic function with the specified coefficient.
Definition: FunctionRealInterpolation.cs:325
virtual void ClearIneligible()
Removes ineligible obects from the list.
Definition: UtilObjectStore.cs:115
static void PrepareSymmetricAllgorithmPlain(ref byte[] key, ref byte[] IV, SymmetricAlgorithmType algorithmType, ref SymmetricAlgorithm algorithm, bool useLargestKey=false, bool useLargestBlock=false)
Prepares the symmetric algorithm, initialization vector, and key before encryption or decryption take...
Definition: UtilCrypto.cs:2262
double SpotAngle
Angle of the spotlight cone (only for Spot lights, in degrees).
Definition: LightingDefinition_05.cs:41
string CertificateName
Certificate name (usually specified to locate the certificate in a certificate store).
Definition: UilCryptoAux1.cs:238
string KeyNumInputParameters
A keyword string that introduces the number of input parameters in the CSV file containing sampled da...
Definition: SampledDataCsv.cs:531
const string ArgDeleteOriginal1
Specifies that original files are deleted after being encrypted or decrypted.
Definition: UtilCryptoAux.cs:623
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
static void CholeskyExtractLower(IMatrix matCholesky, ref IMatrix result)
Extracts the lower part of the specified Cholesky decomposition (0s above diagonal) and stores it in ...
Definition: MatrixBase.cs:6798
string _keyMaximalValues
Definition: SampledDataCsv.cs:726
void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
override void GradientPlain(IVector parameters, IVector gradient)
Calculates first order derivatives (gradient) of this function at the specified parameters....
Definition: Function2d.cs:237
double _tolMaxRelativeScalar
Definition: NeuralTrainingParameters.cs:364
int[] _numHiddenNeuronsSecondValues
Definition: NeuralTrainingParameters.cs:1797
const string KeyTextLoggerFile
Definition: ReporterMsg.cs:2326
int FindTW(List< TWClass > lwriters, Stream stream)
Returns the first object on the list whose TextWriter has been created from the specific Stream.
Definition: ReporterMsg.cs:3847
void ResetMax()
Sets all components of vector of maximal coordinates to UndefinedMax.
Definition: BoundingBox.cs:575
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function derivative.
Definition: FunctionVectorBase.cs:98
override DistanceComparer< PointContainerVector, IVector > CreateDefaultDistanceComparer(PointContainerVector point)
Creates and returnws a distance comparer of hte default type for the current type of point of clouds.
Definition: PointCloudConcrete.cs:62
int NumValues
Number of elements (scalar function components) of the vector function, i.e., dimension of thefunctio...
Definition: VectorFunctionScriptController.cs:101
DTO (data transfer object) for neural data element mapping definition.
Definition: NeuralMapData.cs:22
const string CryptoGetSalt
Definition: ScriptAppBase.cs:1285
static int DefaultOutputLevel
Definition: CommandlineApplicationInterpreter.cs:356
static void FromByteArray(byte[] bytes, out Int16 val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2044
static double arch(double x)
Inverse hyperbolic cosine.
Definition: UtilMath.cs:524
override bool InverseDefined
Definition: FunctionRealBasic.cs:152
bool SetTextWriter(Stream stream, bool writeintro)
Creates a TextWriter upon the stream and sets it as the basic TextWriter to which reporting is perfor...
Definition: ReporterMsg.cs:4077
void SetValue(double value)
Sets the value of the function.
A RealFunction class representing bell like polynomial weighting function with finite support,...
Definition: FunctionRealWeight.cs:65
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
int NumAllTrainingPoints
Gets number of all training points, including verification points.
Definition: NeuralApproximatorBase.cs:400
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealBasic.cs:440
static string _defaultMsgResponseEnd
Definition: IpcStreamClientServerBase.cs:481
DateTime CalculateCreationTime(Type type)
Calculates creation time of the assembly containing the specified class and returns it.
Definition: App.cs:1096
XmlNode AppendChild()
Appends the newly created node after the last child of the current node. The new node is set to null ...
Definition: XmlUtilities.cs:2715
Matrix3d(double[,] A)
Initializes a 3D matrix with elements of a rectangular array.
Definition: Matrix3DClass.cs:120
SortedList< string, string > Script_CommandHelpStrings
Contains help strings associated with script commands installed on the SCRIPT's interpreter....
Definition: LoadableScriptBase.cs:51
void ReadStringData(ref string[] dataArray)
Reads string values from the CSV-like string table, from the current position on (inclusively),...
Definition: SampledDataCsv.cs:2443
static bool factorialsArrayChecked
Whether or not factorials array has been tested.
Definition: UtilMath.cs:548
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealBasic.cs:114
virtual string CryptoFunctionEncryptBasic(string appName, string[] args)
Executes embedded application - symmetric encryption of files, strings, or byte fields by using the B...
Definition: ScriptAppBase.cs:1229
virtual void SetDimensions(int numParameters, int numConstraints)
Sets the dimension of the analysis results object according to the specified values.
Definition: AnalysisResults.cs:1108
virtual double TestComputationalTimesQR(int numEq, int outLevel)
Test of QR decomposition. Writes times necessary for all steps.
Definition: CommandlineApplicationInterpreter.cs:6709
static byte[] EncryptStringToBytesPlain(string stringToEncrypt, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified string to a byte array, using the specified symmetric algorithm,...
Definition: UtilCrypto.cs:2626
static bool IsAsciiString(string str)
Returns true if the string specified string is an ASCII string (i.e. it contains only ASCII character...
Definition: UtilString.cs:662
override int Next()
Returns a nonnegative random number.
Definition: Random.cs:393
bool _isServerRunning
Definition: ClientServerStreamBase2_Copy.cs:533
int[] Pivot
Returns the integer pivot permutation vector of LU decomposition.
Definition: MatrixDecompositions.cs:397
override void CopyFromPlain(INeuralApproximator obj)
Copies data from the specified neural approximator object to the current DTO (data transfer object).
Definition: SerializationDtoNeuralApproximator.cs:240
double Opacity
Opacity of the color (range from 0 - completely transparent - to 1 - completely opaque).
Definition: Color.cs:120
void ModelParameter_CreationWithNameAndType_DefaultValueObjectThrowsCorrectException()
Definition: ModelParameterTests.cs:114
ExampleMathClassExperimental()
Definition: UtilMath.cs:1511
static double sum(params double[] numbers)
Sum of the specified values.
Definition: UtilMath.cs:288
TIndexField GetIndexField(string name)
Returns index field with the specified name.
Definition: UnstructuredMesh1dGeneric.cs:119
MatrixDtoBase(int rowCnt, int columnCnt)
Constructor, prepares the current DTO for storing a matrix of the specified dimension.
Definition: MatrixDto.cs:43
object ClientData
Client's data for the job contained in the current job data container.
Definition: ParallelJobContainerBase.cs:158
delegate void ReserveReportErrorDelegate(ReporterBase reporter, ReportType messagetype, string location, string message, Exception ex, Exception ex1)
Reports errors occurred in error reporting methods when exceptions are thrown within them....
Provides information about speed test execution, including the eventual results.
Definition: SpeedTestInfo.cs:15
IOptimizationData _optimizationData
Definition: OptimizationResults.cs:70
bool WasCommandExecuted
Auxiliary flag that indicates whether the last command launched on the current thread has actually be...
Definition: CommandlineApplicationInterpreterBase.cs:1835
XmlElement ToXmlElement(object source, XmlDocument doc, ref XmlElement initial)
Creates and returns XML representation of an object.
const string FileSignatureEncrypted
Definition: UtilCryptoAux.cs:290
bool IsPenaltyValueDefined(int which)
Returns true if the penalty function value can be calculated for the specified constraint,...
virtual string CmdOutputLevelCalc(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints or sets the current output level of the calculator (i.e., the JavaScript expression e...
Definition: CommandlineApplicationInterpreter.cs:3980
const string AttributeId
The id attribute. Specifies a unique id for an element.
Definition: HtmlWriter.cs:24
override void InitWaitFileEventBase(string fileOrDirectoryPath)
Performs class specific initialization.
Definition: WaitConditionFile.cs:748
A RealFunction class representing identity (or linear) function.
Definition: FunctionRealBasic.cs:381
string ToStringMath()
Returns a string representation of this vector in a standard IGLib form (Mathematica-like format but ...
static RealFunction GetWeightPol4(double Kx, double Sx)
Creates and returns a new real polynomial weighting function object based on 4th order polynomial....
Definition: FunctionRealWeight.cs:637
bool MappedElementIndexSpecified
Definition: NeuralMapData.cs:39
SimKosecFileManagerBase(string dataDirectory)
Constructs a new file manager for interfacing simulator of Gregor Kosec.
Definition: SimKosecFileManagerBase.cs:26
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionReal.cs:1011
abstract bool DerivativeDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:236
An 1D bounding box.
Definition: BoundingBox.cs:1801
virtual string CommandFileString
Gets current state of commands as stirng.
Definition: InterfaceInterpreterBase.cs:129
VariableFlags _flags
Definition: CommandlineApplicationInterpreterBase.cs:469
int OutputLevel
Level of output for some of the interpreter's functionality (e.g. asynchronous command execution).
Definition: ExpressionEvaluatorCompiled.cs:62
double A
The relative amplituude (w.r. the radius, which is 1) of oscillations perpendicular to the rounded su...
Definition: CylindricalBilliardKnot.cs:32
virtual string HelpCommandLine
Returns textual help for JavaScript command-line interpreter.
Definition: ExpressionEvaluatorCompiled.cs:411
Dynamically compiles, loads and instantiates classes of type ILoadableScript from files or from strin...
Definition: Loader.cs:59
virtual bool TryConvertTyped< TSource >(TSource source, out TTarget target)
Definition: SingleTargetTypeConverterBaseGeneric.cs:30
override double EndParameter
Definition: CylindricalBilliardKnot.cs:71
int _inputLength
Definition: SampledDataDto.cs:110
static string ToString(IAnalysisResults anres)
Returns a string representation of the current analysis results object in a standard IGLib form....
Definition: AnalysisResults.cs:24
TTensorField ActiveTensorField
Gets active tensor field. Has protected setter.
Definition: StructuredMesh3dGeneric.cs:562
string _errorString
Definition: FunctonVectorResults.cs:116
double OutputSafetyFactorMax
Maximum limit for output safety factor value.
Definition: NeuralTrainingParameters.cs:1433
LogRecord(ReportType messagetype, Exception ex)
Launches a report. Predominantly for error and warning reports.
Definition: LoggerMsg.cs:69
double a
Definition: Function3d2d.cs:841
static void Example()
Definition: FieldGeneric.cs:1301
static ExpressionEvaluatorJs Global
Global JavaScript expression evaluator. Initialized on first use.
Definition: ExpressionEvaluatorJs.cs:494
CommandLineJobContainer(ICommandLineApplicationInterpreter interpreter, string[] commandAndArguments)
Constructs a new interpreter command data.
Definition: CommandlineApplicationInterpreterBase.cs:85
static xdouble Acos(xdouble a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:1602
string _lastCommandLine
Definition: CommandlineApplicationInterpreterBase.cs:1286
virtual void WriteAnalysisInputXml(string filePath, AnalysisResults anpt)
Stores analysis input data to the specified file in the XML format Does not perform any locking.
Definition: OptFileManager.cs:1020
SnailShell1Streched()
Definition: Function3d2d.cs:1722
IPenaltyEvaluator _penaltyEvaluator
Definition: AnalysisComparer.cs:81
bool IsValid
Indicates whether the variable is valid and can be used (i.e., is defined).
Definition: CommandlineApplicationInterpreterBase.cs:480
static Complex ParseRobust(string s)
Parses complex number from its string representation.
Definition: Complex.cs:1038
static GridGenerator1d CreateGeometricCenteredScaled(double from, double to, int numNodes, double growthFactor, double scalingFactor)
Creates and returns a 1D grid generator. Grid intervals can grow or fall in geometric series from the...
Definition: GridGenerator1dBase.cs:227
static void GenerateCoordinates(StructuredField2d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid embeddes in 3D, lying on the XY plane, with grid direction...
Definition: StructuredField2dGeneric.cs:420
string FunctionArgumentName
Name of function arguments (in functions in the loadable scripts) that holds the independent variable...
Definition: RealFunctionScriptLoader.cs:236
string DefaultActiveDir
Default active directory. The current directory will be set to this directory.
Definition: ApplicationCommandLineBase.cs:114
static readonly ColorRGBA Black
Definition: ColorRGBA.cs:20
static double CelsiusFromKelvins(double Kelvin)
Converts temperature in Kelvins to temperature in Celsius.
Definition: Constants.cs:871
virtual string DocumentTitle
Definition: HtmlWriter.cs:179
XmlNode GetNextOrCurrentNode(XmlNodeType NodeType, string NodeName, string NodeValue)
Moves the current node to the current or the first sibling node after the current node that satisfies...
Definition: XmlUtilities.cs:1544
void GenerateCoordinates(double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy)
Generates coordinates of the structured 2D mesh by mapping a reference mesh with equidistant nodes an...
Definition: test_to_delete.cs:144
ComparerValueBase(bool twoStage, bool strict)
Definition: Utils.cs:3291
int NumHiddenNeuronsSecondMax
Maximum number of hidden neurons in second hidden layer.
Definition: SerializationDtoNeural.cs:841
bool Calculated
Definition: OptimizationResults.cs:110
ScalarFunctionConstant()
Definition: FunctionScalarExamples.cs:25
virtual string RunAppProcess(string[] args)
Runs a process - related utility (embedded application) according to arguments.
Definition: ScriptAppBase.cs:5024
static string RandomUnicodeString(int stringLength, IRandomGenerator rndgen=null)
Creates and returns a valid random unicode string. All possible uncode characters may be contained in...
Definition: UtilString.cs:316
void SetConstraintGradients(List< IVector > values)
Sets constraint function gradients. If CopyReferences=true (false by default) then only the list refe...
void PrepareNumHiddenNeuronsValuesArray(int numLayers, params int[] numHiddenNeuronsValues)
Prepares values of numbers of neurons in individual layers according to parameters.
Definition: NeuralTrainingParameters.cs:1986
void BeginDocument()
Begins the HTML document.
Definition: HtmlWriter.cs:416
List< CommandMethod > AppCustomMethods
List of methods used to perform file commmands.
Definition: ScriptAppBase.cs:130
mat3(double component)
Initializes 3D with the specified component.
Definition: Matrix3D.cs:403
ReciprocalPower(int power, double Kx, double Sx)
Definition: FunctionRealBasic.cs:223
static void GetRandomBytes(byte[] byteArray)
Fills the specified byte array with a cryptographically strong sequence of random bytes.
Definition: UtilCrypto.cs:302
override string Name
Server name. The same as pipe name.
Definition: IpcPipes.cs:92
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealPenalty.cs:294
void GetIntervalLengths(ref IVector intervals)
Gets the interval lengths for co-ordinates of the current bounding box (i.e. differences) and stores ...
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: WaitCondition.cs:53
static void GenerateCoordinates(StructuredField2d< vec2 > field, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates coordinates of a 2D regular grid, with grid directions parallel to coordinate axes and equi...
Definition: StructuredField2dGeneric.cs:645
const string ProcessListApplicationsByWindow
Definition: ScriptAppBase.cs:4715
bool AddTextLogger(Stream stream)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5052
static string DecryptStringFromBytesPlain(byte[] cipherText, byte[] key, byte[] initializationVector, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, bool useLargestKey=false, bool useLargestBlock=false)
Derypts the specified string from encryted byte array, using the specified symmetric algorithm,...
Definition: UtilCrypto.cs:2656
bool IsCertificatePasswordThroughUi
Indicates that pasword for private key should obtained from the user through GUI (usually through con...
Definition: UilCryptoAux1.cs:256
Complex Add(Complex c)
Ads c to the current complex number and returns the result.
Definition: Complex.cs:475
static string[] AssemblyResolutionPaths
Definition: UtilSystem.cs:2761
int getNext()
Definition: PortScannerSimple.cs:156
override void InitializeThis(string[] arguments)
Inializes the current script object.
Definition: LoadableScriptOpt.cs:285
readonly Thread _thread
Definition: TracedThread.cs:85
int m
The number of oscillations in z direction per full revolution.
Definition: LissajousCurve3D.cs:46
Definition: StructuredMesh3D_02.cs:13
bool WasBranchAlreadyExecuted
Whether a branch has already been executed.
Definition: CommandlineApplicationInterpreterBase.cs:1216
XmlNode GoToMark(string name)
Restores the parser state to the state contained in the last mark with the specified name....
Definition: XmlUtilities.cs:1782
double Norm2
Gets a 2 norm of the current 3D vector.
Definition: Matrix3D.cs:143
bool _hessianDefined
Definition: Function2d.cs:149
static readonly PhysicalConstant BohrMagneton
Bohr Magenton.
Definition: Constants.cs:447
virtual string GetErrorMessage(Exception ex)
Returns error message corresponding to the specified exception.
Definition: IpcStreamClientBase.cs:70
FileSystemWatcher _watcher
Definition: WaitConditionFile.cs:184
double EndParameter
Definition: GrannyKnot3D.cs:52
bool _useCharacterReferences
Definition: StringParser.cs:160
bool IsServer
Indicating whether the current job runner work as server. <par>If true then a server is started in a ...
Definition: ParallelJobServerBase.cs:385
List< IVector > _errorsTrainingMaxList
Definition: NeuralTrainingParameters.cs:476
bool _valueDefined
Definition: FunctionReal.cs:963
static double ctg(double x)
Returns cotangent of the specified angle.
Definition: UtilMath.cs:462
vec2(double x, double y)
Initializes components of a 2D vector with the specified values.
Definition: Matrix2D.cs:36
AlignmentVertical
Defines vertical Alignment of some object.
Definition: Alignment.cs:20
IDataMapper MapperDefinition
Initialize DataMapperIdentity object for identity copying if mapper is null. Setter takes DataMapperS...
Definition: NeuralFileManager.cs:898
Input data element definition for vector functions, approximations, etc.
Definition: SampledDataDefinition.cs:529
virtual void WaitAnResultsReady()
Waits until analysis data is ready. REMARK: Currently this file just checks existence of the file in ...
Definition: OptFileManager.cs:802
Tests of the basic type converter (BasicTypeConverter, implementation of the ITypeConverter interface...
Definition: ReflectionTypeConverterTests.cs:23
static int numErrIndentSpacing
Definition: ReporterMsg.cs:2536
int _numHiddenNeuronsThirdNum
Definition: NeuralTrainingParameters.cs:1875
CharType Next
Definition: IParser.cs:28
int _d2
Definition: StructuredField2dGeneric.cs:152
double _funcArgFirst
Definition: GridGenerator1dFunc.cs:91
int LoopCount
Whether commands are executed in the current code block.
Definition: CommandlineApplicationInterpreterBase.cs:1225
ApplicationBase(string programName, int version, int subVersion, int subSubVersion, string release)
Initializes the global data for the current program.
Definition: App.cs:185
virtual int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: Analysis.cs:100
UnstructuredMeshGeometry1d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured grid with the specified number of elements, name and description....
Definition: UnstructuredMeshGeometry1dGeneric.cs:43
override IndexList CreateObject()
Creates and returns a new index list.
Definition: IndexListDto.cs:50
Quadratic2d(IAffineTransformation transf)
Creates a new transformed example quadratic polynomial in 2D. Actual function is identical to the ref...
Definition: FunctionScalarExamples.cs:1139
bool _test
Definition: IpcNamedPipes.cs:520
virtual string IGHomeIdFileString
Name of the software root identification file This file must be contained immediately in the software...
Definition: App.cs:677
virtual void Report_Console(ReportType messagetype, string location, string message, Exception ex)
Launches a report via console. Report is launched by using special delegates for this kind of reporti...
Definition: ReporterMsg_Derived.cs:172
virtual bool IsAt(int position, CharType ch)
Returns true if the specified character is at the specified position of the parsable.
Definition: ParsableBase.cs:70
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1111
int _numExitLevels
Definition: CommandlineApplicationInterpreterBase.cs:1218
static int SizeOf(double val)
Returns size of a value of type double, in bytes.
Definition: Utils.cs:1207
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: Matrix3D.cs:601
Parametric definition of an origin-centered hyperboloid surface (x^2/a^2+y^2/b^2-z^2/c^2=1) in form o...
Definition: Function3d2d.cs:1098
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: OptFileManager.cs:48
static RealFunction GetWeightPol3(double Kx, double Sx)
Creates and returns a new real polynomial weighting function object. Reference function: bell like fu...
Definition: FunctionRealWeight.cs:448
bool _centered
Definition: GridGenerator1d.cs:95
static int DefaultInputLength
Default number of input neurons.
Definition: NeuralTrainingParameters.cs:67
Implements blocking until the specified directory is deleted (becomes nonexistent)....
Definition: WaitConditionFile.cs:961
override void ClearExternalAlgorithm()
Clears eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:926
static bool operator<(Scalar a, Scalar b)
Definition: Scalar.cs:163
void AddScalarFunctionController(ScalarFunctionControllerType functionController)
Adds a new scalar function controller to the list of controllers.
Definition: VectorFunctionScriptController.cs:116
static string _defaultKeyNumSamplingPoints
Definition: SampledDataCsv.cs:289
static VectorRetType Parse(string s)
Parses a vector from its string representation. Exception is thrown if vector value cnnot be parsed f...
Definition: VectorBase.cs:920
override MatrixBase_MathNetNumerics SolveMathNetNumerics(IMatrix righthandSides)
Solves systems of linear equations with the specified right-hand sides and the current matrix decompo...
Definition: MatrixDecompositions.cs:995
VectorDtoBase ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: SerializationDtoNeuralApproximator.cs:112
int Next()
Returns a nonnegative random number.
UnstructuredMeshGeometry3d()
Constructs a new empty unstructured grid (no elements contained) with no name and no description.
Definition: UnstructuredMeshGeometry3dGeneric.cs:19
char _variableStart
Definition: CommandlineApplicationInterpreter.cs:294
virtual void InitCommands()
Installs basic commands on the interpreter.
Definition: CommandlineApplicationInterpreter.cs:69
virtual void InitWaitCondition(int minSleepMs, int maxSleepMs, double maxRelativeLatency, bool sleepFirst)
Initializes blocking parameters.
Definition: WaitCondition.cs:183
Alternative parameterization of the trefoil knot - third parameterization from MathCurve (see the lin...
Definition: TrefoilKnot3D_MathCurve3.cs:18
virtual Exception Exception
Eventual exception thrown during the test.
Definition: SpeedTestInfo.cs:152
const string AssemblyHelpResourcesEmbedded
Definition: ScriptAppBase.cs:4000
Complex Root(Complex a, int n)
Definition: NumberOperationsComplex.cs:83
void SyncReportLevelWithTraceSwitch(TraceSwitch tswitch, ref ReportLevel level)
Synchronizes the value of ReportLevel enumeration variable with the state of a TraceSwitch variable....
Definition: ReporterMsg.cs:2942
virtual bool IsAt(int position, CharType ch)
Returns true if the specified character is at the specified position of the parsable.
object _mainLock
Definition: OptFileAnalaysisServer.cs:38
TIndexField ActiveIndexField
Gets active index field. Has protected setter.
Definition: UnstructuredMesh2dGeneric.cs:85
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray3DToStringIEnumerableObjectToIntArray()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:376
Defines classes whose instances can be created from Xml elements. Conversion is different from that u...
Definition: Vartypes.cs:173
NestedLevel Inner
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:60
IGraphicSet _parent
Definition: GraphicalObjectsBase.cs:25
static string GetNamespaceAttributeName(string prefix)
Definition: XmlUtilities.cs:942
OutputElementDefinition(int elementIndex, string name=null, string title=null, string description=null)
Constructor.
Definition: SampledDataDefinition.cs:541
static string DefaultReportMessage_Console(ReporterBase reporter, ReportType messagetype, string basicmessage, Exception ex)
Delegate for assembling a report message for this kind of report.
Definition: ReporterMsg_Derived.cs:156
static void Negate(IMatrix a, IMatrix result)
Stores a negative matrix of the operand in another matrix. Can be done in-place. WARNING: dimensions ...
Definition: MatrixBase.cs:1733
override double Value(IVector parameters)
Returns the value of the current function at the specified parameters.
Definition: Function3d.cs:246
virtual void RecalculateBounds()
Definition: GraphicalObjectsBase.cs:97
bool _suppressInteractive
Definition: CommandlineApplicationInterpreterBase.cs:1227
LoadableScriptOptBase _script
Definition: LoadableScriptOpt.cs:246
abstract VectorType CreateVector(int dimension)
Tvalue _value
Definition: Utils.cs:3144
override int Length
Gets dimension of the vector.
Definition: Vector3Dclass.cs:37
static double min(params double[] numbers)
Minimal of the specified values.
Definition: UtilMath.cs:243
List< KeyValueSortable< string, char > > _inverseCharacterReferences
Definition: StringParser.cs:206
Helper class for JSON serialization and deserialization. This class enables formatting of the generat...
Definition: SerializerJson.cs:28
Type TargetType
Definition: ISingleTargetTypeConverter.cs:17
static void AddDefaultAssembliesExtShellApp()
Appends list of assemblies for dynamic testing of software in the ExtShellApp project.
Definition: App.cs:2300
void AddElements(params string[] values)
Adds (appends ) the specified elements at the end of the table, i.e. at the end of the last row.
Definition: StringTable.cs:561
bool LiesOutside(IVector coordinates)
Returns true if the speciifed co-ordinates lie outside of the bounding box, and false otherwise.
Definition: BoundingBox.cs:637
Interface with simulator of G. Kosec for convection problems in a cave with 2 obstacles.
Definition: SimKosecFileManager.cs:173
bool CalculatedObjective
Indicates whether calculation of objective function is/was requested.
Definition: AnalysisResutlsInt.cs:389
virtual string AppAssembly(string[] arguments)
Runs one of the file assembly - related embedded applications.
Definition: ScriptAppBase.cs:4484
string _messagePrefixWithSeparator
Definition: ClientServerStreamBase_Copy.cs:259
TraceSwitch TracingSwitch
Gets or sets the TraceSwitch that is synchronized with TracingLevel. IMPORTANT: State of the object o...
Definition: ReporterMsg.cs:1006
void Setup()
Definition: UnitTest1.cs:8
static readonly PhysicalConstant atm
Atmosphere, non-SI unit of pressure, atm = 1.01325*10^5 Pa = 1.01325*10^5 kg/numrows result^2....
Definition: Constants.cs:1278
LightingDefinition_05(LightType_05 type)
Creates a new light with default values (white light at intensity 1.0).
Definition: LightingDefinition_05.cs:47
int _numParameters
Definition: FunctionScalarResults.cs:61
virtual GrPrimitiveSettings EffectiveSettings
Definition: GrObjects.cs:271
const string SystemHelpComputerName
Definition: ScriptAppBase.cs:3624
virtual void ReportError(string errorString)
Definition: ScriptAppBase.cs:510
readonly object _lockId
Definition: IdGenerator.cs:52
double Distance(PointContainerType boxedPt1, PointContainerType boxedPt2)
Returns distance between the specified two points enclosed in PointContainer{} objects,...
Definition: DistanceComparer.cs:619
static int SizeOf(short val)
Returns size of a value of type short, in bytes.
Definition: Utils.cs:1186
const string SystemHelpIpAddress
Definition: ScriptAppBase.cs:3674
bool GetIsLoaderConsistent()
Returns a flag telling whether the loader is currently consistent with function definition contained ...
Definition: ScalarFunctionScriptController.cs:660
virtual IModelParameter< ValueType > UpdateDefaultValue(ValueType newDefaultValue)
Definition: ModelParameterTyped.cs:228
double Derivative(double x)
Returns the first derivative of this function at the specified parameter.
const string ArrayBracketClosed
Closed bracket used in the string representation of array-like objects.
Definition: CollectionExtensions.cs:42
override double f1(double u, double v)
Definition: Function3d2d.cs:1127
int NumHiddenLayersNum
Number of hidden layers in neural network.
Definition: NeuralTrainingParameters.cs:1643
static void MultiplyMatMatTransp(IMatrix a, IMatrix b, IMatrix c, ref IMatrix result)
R=A*B*C^T. Multiplies three matrices (first argumet, second argumet, and transposed third argument) a...
Definition: MatrixBase.cs:3651
string PrintVariable(CommandThread commandThread, string varName)
Prints the specified variable.
static MatrixStore _matrixStore
Definition: MatrixBase.cs:801
int NumHiddenNeuronsSecondMin
Minimum number of hidden neurons in second hidden layer.
Definition: SerializationDtoNeural.cs:839
static void EncryptPlain(Stream inputStream, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the data from the specified input stream by a symmetric encryption algorithm and writes encr...
Definition: UtilCrypto.cs:2707
NamedPipeServerStream _serverPipe
Definition: NamedPipes_Copy.cs:113
static readonly PhysicalConstant knot
Knot, non-SI unit of speed, knot = mile/h = 1852 numrows/3600 result = 0.514444444....
Definition: Constants.cs:1232
IBoundingBox OutputNeuronRange
Bounding box from actual outputs.
Definition: NeuralTrainingParameters.cs:205
IVector _parameters
Definition: AnalysisResults.cs:194
readonly string Command_EndBlock
Definition: CommandlineApplicationInterpreter.cs:626
static string GetHashSha256Hex(Stream stream, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA256 hash string of the specified stream.
Definition: UtilCrypto.cs:1307
const string AssemblyReferenced1
Definition: ScriptAppBase.cs:4155
override void CloseConnection()
Closes the server pipe.
Definition: IpcPipes.cs:187
virtual void AllocateParameters()
Allocates space for parameters.
Definition: FunctionScalarResults.cs:384
XmlNode SetValue(string value)
Sets value of the currently treated XML node. If the currently treated node is a text node then value...
Definition: XmlUtilities.cs:2456
IVector ToleranceRms
Tolerance over RMS error of output over training points. Training will continue until error becomes b...
Definition: NeuralTrainingParameters.cs:267
string PipeName
Definition: NamedPipes_Copy.cs:444
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: ApproxBasis.cs:177
abstract double StartParameter
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:37
string _description
Definition: FieldGeneric.cs:57
static double FifthDerivative9Point(DlgFunctionValue f, double x, double h)
Calculates the fifth order derivative of a function with a 9 point formula.
Definition: FunctionNumeric.cs:338
string _multilineCommand1
Definition: ExpressionEvaluatorCompiled.cs:344
static void FromByteArray(byte[] bytes, out bool val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:1797
void InvalidateNetworkDependencies()
Invalidates all data that must be re-calculated after the neural network itself changes....
ParallelJobServerBase< JobContainerType > GetFirstIdleServer()
Returns the first idle server (last on the list of idle servers) and removes it from the idle servers...
Definition: ParallerJobDispatcherBase.cs:285
int _numHiddenNeuronsFirstNum
Definition: NeuralTrainingParameters.cs:1682
bool _copyReferences
Definition: OptimizationInputData.cs:152
bool _doRunJobByServer
Definition: ParallelJobServerBase.cs:476
Class thatt contain a private field and readonly public property based on hat field.
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:114
void RestoreDefinitionAndData()
Restores data definition AND sampled data definition from the data table. Position is reset before th...
Definition: SampledDataCsv.cs:3348
string ServerAddress
Server address.
Definition: NamedPipes_Copy.cs:487
static string CreateTestdirectoryStructure(string baseDirPath, string rootDirName)
Creates a test directory structure for testing operatios such as recursive copying....
Definition: UtilSystem.cs:5408
void TestMapping()
Test back and forth mapping (scaling and shifting) from actual data to data prepared for training,...
Definition: NeuralApproximatorBase.cs:3019
override int GetHashCode()
Override of object.GetHashCode() suitable for complex numbers;
Definition: Complex.cs:841
override vec3 Gradient(vec3 parameters)
Calculates and returns gradient of the current 3D quadratic function.
Definition: Function3d.cs:628
PipeServerBase(string pipeName, bool startImmediately=true)
Constructs a new pip server.
Definition: IpcPipes.cs:48
override double Norm1
Gets an 1 norm of the current 3D vector - sum of absolute values of components.
Definition: Vector3Dclass.cs:413
override double Value(double x, double y, double z)
Calculates and returns value of the current 3D scalar function.
Definition: Function3d.cs:657
virtual int NumObjectives
Number of objective functions (normally 1 for this type, but can be 0).
Definition: AnalysisResults.cs:275
void Zero()
Sets components of the vector to 0.0.
Definition: Matrix2D.cs:388
const string AutoGlobalDescription
Definition: CommandlineApplicationInterpreter.cs:285
void AddHeading4(string headingText)
Adds a new level 4 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:738
static void EncryptPlain(byte[] data, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified byte array by a symmetric encryption algorithm and writes encrypted data to th...
Definition: UtilCrypto.cs:2354
override MatrixBase GetCopyBase()
Returns a deep copy of the current 3D matrix.
Definition: Matrix3DClass.cs:507
virtual string ExitJsBlock(CommandThread cmdThread)
Exits the current JavaScript code block, and sends the JavaScrit code contained within the block (con...
Definition: CommandlineApplicationInterpreter.cs:964
object _valueObject
Definition: ModelParameter.cs:161
static readonly PhysicalConstant MoonRadius
Moon mean radius, 1,737.10 km
Definition: Constants.cs:1561
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:918
Thread _workingThread
Definition: ParallerJobDispatcherBase.cs:687
string MsgOptResultsReadyPath
File path of the optimization resutlts ready flag file. Setter takes only pure file name,...
Definition: OptFileManager.cs:539
override void RunOnFinished()
Called when 'finished' notification is triggered (within the method NotifyJobFinished()).
Definition: ParallelJobContainerGen.cs:161
static void SymmetricPart(IMatrix a, IMatrix result)
Stores symmetric part of a square matrix operand in another matrix. Symmetrization is performed by av...
Definition: MatrixBase.cs:2096
string RunWithoutModifications(CommandThread commandThread, string commandName, params string[] commandArguments)
Runs the specified command with specified name, installed on the current application object,...
string _serverAddress
Definition: IpcNamedPipes.cs:484
ReportLevel Level
Gets the level with the lowesst priority (out of reporting, logging and tracing level),...
Definition: ReporterMsg.cs:2768
double NormInf
Gets an infinity norm of the current 2D vector - maximal absolute component value.
Definition: Matrix2D.cs:137
static void LuDecompose(IMatrix A, out int toggle, ref int[] perm, ref IMatrix result)
Calculates thr Doolittle LU decomposition with partial pivoting (LUP) of a square real matrix.
Definition: MatrixBase.cs:5303
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealInterpolation.cs:709
VectorDtoBase ToleranceMax
Tolerance on maximal error of outputs over training points. Training will continue until error become...
Definition: SerializationDtoNeural.cs:102
bool _isInitialized
Definition: LoadableScriptBase.cs:246
static string GetFileHashSha1Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the SHA1 hash string of the specified stream.
Definition: UtilCrypto.cs:1185
double TotalTime
Gets the total time in seconds, measured by the timer up to the current moment. If the timer is runni...
Definition: UtilTime.cs:317
virtual double GetMaximalResidual(double equalityTolerance)
Returns the largest constraint function value corresponding to any violated constraint in the current...
Definition: AnalysisResults.cs:1494
int Compare(PointContainerType pt1, PointContainerType pt2)
Definition: DistanceComparer.cs:685
static readonly PhysicalConstant EarthPerihelion
Earth perihelion - least distance to the center of attraction, 147,098,074 km.
Definition: Constants.cs:1516
virtual void SetFillColor(Color color)
Sets all fill colors of the graphic primitive to the specified value.
Definition: GraphicalObjectsBase.cs:315
Fahrenheit(double degrees)
bool IsResponseReceived
Auxiliary flag telling whether response to a request has already been received from the server....
Definition: IpcStreamClientBase.cs:51
XmlElement[] GetElements(string xpath)
Returns an array of all element _gridCoordinates in the current XML document that satisfiy the specif...
Definition: XmlUtilities.cs:370
QRDecomposition(Matrix A)
Constructor.
Definition: MatrixDecompositions.cs:629
List< string > RecursivePathListByLevels
Definition: UilCryptoAux1.cs:394
FieldCollection3d< TTensorField, TTensor > _tensorFields
Definition: StructuredMesh3dGeneric.cs:542
const string MsgFunctionInputReadyFilename
Default file name for function input parameters data ready flag.
Definition: NeuralFileConst.cs:100
string _commandLineStopNote
Definition: ExpressionEvaluatorCompiled.cs:370
string ToStringShort()
Retrurns a short string containing very basic information about the application or module.
Definition: App.cs:1794
virtual void SetRandom()
Sets the current matrix such that it contains random elements on the interval (0,1].
Definition: MatrixBase.cs:602
SI[] UnitsDenumerator
Gets the array of SI physical units in the denominator of the physical constant.
Definition: Constants.cs:131
int OutputSafetyFactorNum
Number of output safety factor values.
Definition: NeuralTrainingParameters.cs:1442
const string ArgPathsAbsolute1
Paths will be output as absolute paths.
Definition: UtilCryptoAux.cs:589
abstract void WaitForConnection()
Waits until a client connects to the specified server pipe.
static double ToDouble(string strsetting, long defaultvalue)
Converts a string representation of a double value to a number of type double.
Definition: UtilString.cs:782
double _defaultNeuronMinOutput
Definition: NeuralApproximatorBase.cs:1434
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: InterpreterCommandLine.cs:184
bool IsAssemblyNameSimple
Definition: SerializationBinderElementary.cs:88
int[] GetArrayCopy(int[] original)
Creates and returns a copy of the specified array of integers.
Definition: NeuralTrainingParameters.cs:1936
int NumHiddenNeuronsSecondNum
Number of hidden neurons in second hidden layer.
Definition: NeuralTrainingParameters.cs:1783
Holds execution data (command arguments ns result) for interpreter commands of the CommandLine type.
Definition: InterpreterCommandLine.cs:22
override double NextDoubleInclusive(double minValue, double maxValue)
A double-precision floating point number greater than or equal to the specified minimum,...
Definition: Random.cs:247
override void ReadAppSettingsBasic(string groupname)
Reads settings for a specified named group of reporters from the application configuration file.
Definition: ReporterMsg_Derived.cs:441
override bool DerivativeDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:990
VectorDtoBase Parameters
Definition: VectorFunctionResultsDto.cs:52
static void FromByteArray(byte[] bytes, out byte val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:1900
static void Divide(IMatrix a, double b, IMatrix result)
Divides matrix by scalar and stores the result in the specified result matrix. This operation can be ...
Definition: MatrixBase.cs:4392
void GenerateCoordinates(int dimx, double minxRef, double maxxRef)
Generates an (unconnected) unstructured grid of nodes based on a 1D regular grid with grid directions...
Definition: UnstructuredMesh1d2d.cs:123
CommandLineJobContainer(ICommandLineApplicationInterpreter interpreter)
Argument-less constructor that is called by all other constructors in order to properly initialize th...
Definition: CommandlineApplicationInterpreterBase.cs:52
bool TryConvertTyped< SourceType >(SourceType source, out string target)
Definition: ToStringTypeConverterViaParseReflection.cs:27
List< DataColumnDefinition > DataColumnDefinitions
Contains definitions of data columns within the data table.
Definition: SampledDataCsv.cs:1220
static string GetWorkspacePath(string relativePath)
Returns a complete path of a file or directory specified by a relative path to the workspace director...
Definition: UtilSystem.cs:4453
static void MultiplyTranspMat(IMatrix a, IMatrix b, ref IMatrix result)
R=A^T*B Multiplies two matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:2815
IVector _tolMaxRelative
Definition: NeuralTrainingParameters.cs:341
A generic vector factory that creates vectors of type VectorType , based on a delegate that is inject...
Definition: VectorFactory.cs:85
string BaseDefinitionsJsAdditional
Definition: ExpressionEvaluatorJs.cs:181
bool _stopServe
Definition: ClientServerStreamBase2_Copy.cs:526
static void Copy(double a, ref Scalar res)
Copies a number to an (existing) scalar in place.
Definition: Scalar.cs:62
const string FileTestArguments
Definition: ScriptAppBase.cs:82
override void Wait()
Waits for condition to be fulfilled.
Definition: WaitConditionFile.cs:724
Defines classes that can represent variables of different types. Used e.g. in interpreters and variab...
Definition: Vartypes.cs:199
static readonly PhysicalConstant StandardAtmosphere
Standard atmosphere, nominal air pressure at Earth surface, by definition.
Definition: Constants.cs:603
NumberType SubtractNumbers(NumberType a, NumberType b)
Calculates and returns difference of parameters a and b .
static void ArrayMultiply(IMatrix a, IMatrix b, ref IMatrix result)
Element-by-element multiplication. WARNING: dimensions of operands must match, otherwise an exception...
Definition: MatrixBase.cs:2446
override int GetHashCode()
bool IsAt(int position, CharType ch)
Returns true if the specified character is at the specified position of the parsable.
StructuredMeshGeometry3d(int dim1, int dim2, int dim3, string fieldName)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:39
int[] NumHiddenNeurons
Sets the numbers of neurons in each hidden layer. Numbers are set by an array of integers in which ea...
Definition: NeuralApproximatorBase.cs:46
override string ToString()
Definition: WaitConditionFile.cs:893
override string ToString()
Definition: Complex.cs:918
static void GetApplications(string processName, ref List< Process > processList)
Gets all applications with the specified process name, and puts them to the specified list.
Definition: UtilSystem.cs:1054
delegate ResultType SimpleFunctionDelegate< InputType, ResultType >(InputType input)
A generic delegate that can contain simple functions that take one input argument of the specified ty...
virtual double Value
Value of the function.
Definition: FunctionScalarResults.cs:246
StructuredMeshGeometry2d(int dim1, int dim2)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField2dGeneric.cs:28
virtual IRealFunctionParametric FunctionParametric
Gets or sets the parametrivc real-valued function of one variable that defines the current radial fun...
Definition: FunctionScalarRadial.cs:446
static readonly PhysicalConstant MoonAxialTilt
Moon axial tilt (relative to orbital plane), 6.687° = 0.11671 rd.
Definition: Constants.cs:1636
const string DataStructuresTestCsvReadDefinitionAndData
Definition: ScriptAppBase1.cs:262
Complex Conjugate
Gets the complex conjugate of the current complex number.
Definition: Complex.cs:231
FrameworkDependencyException(string message)
Initializes a new instance of the FrameworkDependencyException class with the speecified error messag...
Definition: FrameworkDependencyException.cs:23
string GenericResponse
Generic response that is sent back to the client in abscence of any method generating responses to sp...
Definition: IpcStreamClientServerBase.cs:650
object _triggerLock
Definition: WaitConditionFile.cs:70
IVectorFunction _vecfunc
Definition: FunctionVectorBaseGeneral.cs:548
static xdouble arccos(xdouble a)
Returns the angle whose cosine is the specified number.
Definition: UtilMath.cs:1610
VectorFunctionScriptController()
Default constructor, sets IsNull to true.
Definition: VectorFunctionScriptController.cs:937
const string TestId
String ID of the corresponding test.
Definition: UtilSpeedTesting.cs:214
bool IsRelativePaths
Definition: UilCryptoAux1.cs:397
object _internalLock
Definition: NeuralFileManager.cs:50
override void CopyFromPlain(NeuralTrainingTable trainingResults)
Copies the specified training results to the current DTO.
Definition: SerializationDtoNeural.cs:1097
bool GradientDefined
Whether calculation of function gradient is defined.
Definition: ScalarFunctionScriptLoader.cs:134
virtual bool IsCopyMathNetNumericsConsistent
Tells whether the internal MathNet Numerics representation of the current vector is consistent with t...
Definition: Vector.cs:374
void EnqueueJob(JobContainerType jobData)
Adds the specified job container to the execution queue.
Definition: ParallerJobDispatcherBase.cs:358
static bool LdltDecompose(IMatrix A, ref IMatrix result, double tol=1e-12)
Calculates LDLT decomposition of a real symmetric square matrix.
Definition: MatrixBase.cs:6049
string NeuralOutputeXmlPath
File path of the file for storing approximated output values in XML format. Setter takes only pure fi...
Definition: NeuralFileManager.cs:392
string ExportPathIGLibTemporary
Definition: TestBase.cs:46
IVector ErrorsVerificationMax
Maximal errors calculated on verification data.
Definition: NeuralTrainingParameters.cs:516
bool _isAddRunFileByScriptCommand
Definition: ScriptAppBase.cs:413
override bool GradientDefined
Whether calculation of functio ngradient is defined. Default is false.
Definition: Function3d.cs:155
void ClearFlags(CryptoFlags firstFlags, params CryptoFlags[] whichFlags)
Clears the specified flags.
Definition: UtilCryptoAux.cs:220
LogRecord CreateError(string location, string message)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:230
override VectorType CreateObject()
Creates and returns a new vector of the specified type and dimension.
Definition: VectorDto.cs:140
static void CopyDirectorySafe(string sourceDirectoryPath, string targetDirectoryPath, out int numErrors, out string errorsString)
Recursively copies contents of the source directory to the target directory.
Definition: UtilSystem.cs:5214
virtual void WarnExportPrivateKey()
Writes a notification informing that a private key may be exported.
Definition: UilCryptoAux1.cs:87
static string DefaultResponseMethod(string request)
The deefault method that returns response to the specified request.
Definition: ClientServerStreamBase2_Copy.cs:564
ToStringTypeConverterViaIConvertibleTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ToStringTypeConverterViaIConvertibleTests.cs:19
int NumConstraints
Number of constraints.
Definition: Optimizer.cs:223
abstract IComparable GetFirstStageCompared(KeyValueSortable< Tkey, Tvalue > keyValue)
Extracts the object used in the first level of comparison from the argument.
Definition: ExampesGraphics3D.cs:11
static void KillAllApplicationsByWindowTitle(string mainWindowTitle, bool caseSensitive, bool isFullString)
Kills all running applications that have the specified main window title.
Definition: UtilSystem.cs:1885
virtual string GetExampleCode(string pureScript)
Returns a complete example code that can be loaded and run.
Definition: Loader.cs:487
virtual bool IsWaiting
True if waiting for unblocking condition is currently performed, and false otherwise....
Definition: WaitCondition.cs:77
static bool IsTextFile(string filePath, int numChecked)
Detects if the specified file is a text file and detects the encoding.
Definition: UtilSystem.cs:4315
bool PerformNamesCorrection
Specifies whether automatic checking and correction of the class and namespace name in the loaded cod...
Definition: Loader.cs:651
void ReadElementOptimizationIndices()
Reads optimization indices of input and output data elements from the CSV, from the current position ...
Definition: SampledDataCsv.cs:2952
Utilities for reading from a console. Just an alias for UtilConsole.
Definition: UtilConsole.cs:19
readonly string Command_EndIf
Definition: CommandlineApplicationInterpreter.cs:650
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: NeuralTrainingParameters.cs:1596
int NumValues
Gets number of components of the current vector function.
Definition: Function3d2d.cs:445
abstract bool IntegralDefined
Tells whether analytical itegral of the function is defined or not.
Definition: FunctionReal.cs:259
string _optOutputCsvFilename
Definition: SimKosecFileManagerBase.cs:276
UnstructuredMesh1d(int numElements, string fieldName)
Constructs a new unstructured mesh with the specified number of nodes and name.
Definition: UnstructuredMesh1dGeneric.cs:48
void AddTensorField(TTensorField field)
Adds the specified tensor field to the collection of tensor fields.
Definition: StructuredMesh2dGeneric.cs:659
WaitFileRemovalLatence(string filePath)
Definition: WaitConditionFile.cs:1463
static Scalar NaN()
Creates a scalar that is not a number.
Definition: Scalar.cs:73
static double MultiplyPlain(IVector left, IMatrix a, IVector right)
R=a^T*M*b. Left-multiplies a matrix with a vector (transposed), right multiplies the result vith anot...
Definition: MatrixBase.cs:4220
double _trainingCpuTime
Definition: NeuralTrainingParameters.cs:577
Generates regular (one set of parameter values for each independent variable) structured (nodes can b...
Definition: ParametricSurfaceMeshGenerator.cs:147
void Clear()
Clears the data table.
Definition: StringTable.cs:418
static double Sin(double a)
Returns the sine of the specified angle.
Definition: UtilMath.cs:1173
string _executableFilename
Definition: SimKosecFileManagerBase.cs:269
const int MinimalMessagePreffixLength
Definition: IpcStreamClientServerBase.cs:105
void SaveDefinition(string filePath)
Saves data definitions to the specified file.
Definition: SampledDataCsv.cs:1958
bool AnFormatXml
Gets or sets the flag indicating whether analysis input and output is written XML format.
Definition: OptFileManager.cs:653
abstract void ClosePipe()
Closes the pipe and streams that depend on it.
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:702
virtual string OriginalDescription
Describes the meaning of a data element used as part of neural network input or output data.
Definition: NeuralMapData.cs:427
string Script_Run(string commandName, params string[] otherArguments)
Runs internal script command.
Definition: LoadableScriptBase.cs:738
virtual IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: AnalysisResults.cs:395
bool IsAbsoluteDifferentiable
True if absolute value is differentiable, false otherwise. Differentiability of absolute value at 0 i...
Definition: FunctionRealPenalty.cs:189
virtual void ModuleInitializationAfter()
A method called after other initializaton parts of the module.
Definition: App.cs:758
const string ArgPasswordAlgorithmType
Specification of password or key generaton algorithm type follows.
Definition: UtilCryptoAux.cs:334
Provides static methods used in 3D
Definition: Geometry3D.cs:20
string _keyNames
Definition: SampledDataCsv.cs:576
void RemoveIndexField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh3dGeneric.cs:218
override double f1(double u, double v)
Definition: Function3d2d.cs:1499
static string CollectionToStringLong(System.Collections.ICollection collection)
Returns a string representing the specified list in long form. Count property (i.e....
Definition: Utils.cs:2618
override bool HessianDefined
Whether calculation of function Hessian is defined. Default is false.
Definition: Function3d.cs:165
string _code
Definition: Loader.cs:518
void SingleTypeCnverter_WhenTypesMatch_ThenConvertWorksCorrectly()
Definition: SpecificTypeConvrterTests.cs:41
string Description
Definition: ModelParameter.cs:126
override void Gradient2(double x, double y, out double gradx, out double grady)
Function for calculating gradient of the second component of vector function, just throws the NotImpl...
Definition: Function3d2d.cs:204
UnstructuredMesh2d(int numElements, string fieldName)
Constructs a new unstructured mesh with the specified number of nodes and name.
Definition: UnstructuredMesh2dGeneric.cs:48
string KeyDescriptions
A keyword string that introduces variable descriptions in the CSV file containing sampled data and / ...
Definition: SampledDataCsv.cs:631
const string VarNameNumParameters
Name of variable (internal in class defined in loadable script) that holds the number of parameters.
Definition: ScalarFunctionScriptLoader.cs:53
List< string > _blockEnterCommands
Definition: CommandlineApplicationInterpreterBase.cs:940
Definition: TubularSurface_01.cs:12
static string GetSimpleName(X509Certificate2 cert)
Returns simple name of the specified cerrtificate.
Definition: UtilCrypto.cs:4125
string TextLoggerProgramName
String denoting the name of the program or other entity that uses the Reporter for logging....
Definition: ReporterMsg.cs:484
Definition: SettingsRreader.cs:16
virtual IVector GetConstraintGradient(int which)
Returns the gradient of the specified constraint function.
Definition: AnalysisResults.cs:613
bool IsApproximatelyReal(double tolerance=0.0)
Returns true if the current complex number is approximately a real number (i.e., its imaginary part i...
Definition: Complex.cs:273
override void WaitForConnection()
Waits until a client connects to the specified server pipe.
Definition: IpcPipes.cs:209
StructuredMesh2d3d(int dim1, int dim2)
Constructs a new 2D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredMesh2d3d.cs:34
bool _isAutoExtend
Definition: StringTable.cs:100
XmlNode SetInnerText(string value)
Sets inner text of the currently treated XML node.
Definition: XmlUtilities.cs:2504
TScalarField GetScalarField(string name)
Returns scalar field with the specified name.
Definition: UnstructuredMesh3dGeneric.cs:272
HyperboloidTwosheetedUpperParametric()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1000
bool CompareNumViolated
Whether number of violated constraints is compared.
Definition: AnalysisComparer.cs:120
CreateOutputValuesDelegate _createOutputValues
Definition: PointCloudSampledDataElement.cs:56
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1090
abstract void PrepareInternalTrainingData()
Prepares internal training data that is needed by the native training algorithm. When overridden,...
int _numHiddenLayers
Definition: NeuralTrainingParameters.cs:382
static IReporter Rep
Application's reporter.
Definition: App.cs:409
static bool ArraysEqual< ElementType >(ElementType[] originals, ElementType[] compared)
Returns true if the specified arrays are equal (i.e. all corresponding values are equal or both array...
Definition: UtilString.cs:44
T TryGet()
Returns an object from this object store, or null if it is not possible to provide an eligible object...
const string ArgCertificateName1
Specification that certificate name follows.
Definition: UtilCryptoAux.cs:398
virtual string AppEncryptSymmetricAll(string appName, string[] args, bool isDecrypt=false, bool isPlain=false, bool isBasic=false)
Executes command-line action - symmetric encryption of files or text.
Definition: UilCryptoAux1.cs:1312
static char _defaultMessageSeparator
Definition: IpcStreamClientServerBase.cs:133
const string KeyUseTextWriter
Definition: ReporterMsg.cs:2310
static xdouble cos(xdouble a)
Returns the cosine of the specified angle.
Definition: UtilMath.cs:1674
static readonly string[] _searcPatternsNone
Provides a convenient array of strings containing only null.
Definition: UtilSystem.cs:4829
static void FromByteArray(byte[] bytes, out UInt64 val, bool preciseLength, int startIndex=0)
Extracts the value stored in a byte array in big-endian order.
Definition: Utils.cs:2262
static void CopyPlain(IVector a, Vector_MathNetNumerics result)
Copies components of a vector to another vector. This is a plain version that does not perform any di...
Definition: VectorBase.cs:1253
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:883
double MaxY
Domain upper bound in X direction.
Definition: SimKosecFileManager.cs:85
static void LoadJson(string filePath, ref NeuralTrainingParameters[] trainingParametersRestored)
Restores (deserializes) an array of training parameters objects from the specified file in JSON forma...
Definition: NeuralTrainingParameters.cs:951
Generates structured and regular tubular surface meshes around space curves using,...
Definition: TubularMeshGenerator.cs:13
string GetSaltString()
If the generator has public parameters (flag IsParametersPublic) then the salt string is returned....
Definition: UtilCryptoAux.cs:797
virtual string CmdNameTab2d
Command name - taban2d.
Definition: InterfaceInv.cs:174
static int Read(ref Counter result, string str, int startpos)
Reads a counter from a string, starting at a specified position and skipping any leading spaces....
Definition: Scalar.cs:614
bool _calculatedConstraints
Definition: AnalysisResultsDto.cs:210
void LogError(string location, string message)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:702
static string _defaultKeyMaximalValues
Definition: SampledDataCsv.cs:232
Definition: SampleClasses.cs:261
int _keyLength
Definition: UilCryptoAux1.cs:329
bool ReqHessians
Indicates whether calculation of functions' Hessians is/was requested.
Definition: VectorFunctionResultsDto.cs:50
int IndentLevel
Current level of indentation.
Definition: HtmlWriter.cs:131
double GetMin(int componentIndex)
Returns the lower bound on the specified co-ordinate component of the bounding box.
Definition: BoundingBox.cs:1001
int NumParameters
Number of parameters.
Definition: AnalysisResutlsInt.cs:33
int MaxAnalyses
Gets or sets maximal number of analyses.
Definition: Optimizer.cs:301
virtual void PrepareResultStorage(int numParameters, int numObjectives, int numConstraints)
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
Definition: AnalysisResults.cs:1246
virtual IRealFunctionOneParametric FunctionOneParametric
Gets or sets the parametrivc real-valued function of one variable that defines the current radial fun...
Definition: FunctionScalarRadial.cs:272
string ParameterNamesSeparator
Separator string that is used to separate parameter names or function names when stated in a single s...
Definition: VectorFunctionScriptController.cs:273
override void CopyToPlain(ref INeuralApproximator obj)
Copies contents of the current DTO (data transfer object) to the specified neural approximator object...
Definition: SerializationDtoNeuralApproximator.cs:357
XmlNodeList GetNodes(string xpath)
Returns a list of all _gridCoordinates of XML data that satisfy the specified XPath expression.
Definition: XmlUtilities.cs:197
string ExportPathIGLib
Export path for tests that generate output files. This is set to IGLibDefaultExportPath by default (g...
Definition: TestBase.cs:44
void RunJobInThread()
Methods that runs the job on the serving thread, for the case when server thread executes multiple jo...
Definition: ParallelJobServerBase.cs:707
Performs high level cryptographic opereratins, such ass reading command-line parameters and performin...
Definition: UilCryptoAux1.cs:23
int Remove(Type item)
Removes the specified item from the list if it exists. NOT thread safe. The object is locked when ope...
Definition: SortedUniqueItemList.cs:272
bool PerformActualCalculationInSpeedTestInfo
Definition: UtilSpeedTestingTests.cs:44
string Run(CommandThread cmdThread, string[] args)
Runs command where the first argument is command name. Extracts command name and runs the correspondi...
Definition: CommandlineApplicationInterpreter.cs:1944
vec3 NumericalDerivative(Func< double, double, vec3 > f, double u, double v, double h, bool respectFirst, double uMin, double uMax, double vMin, double vMax, bool restrictToInterval)
Numerically computes the partial derivative of a 3D function with respect to a parameter.
Definition: ParametricSurfaceMeshGenerator.cs:28
virtual void Run(string[] initializationArguments, string[] runArguments)
Runs the object of the compiled loadable class (calls its Run() method) that is currently loaded by t...
Definition: Loader.cs:1501
static void MultiplyTranspMatMatPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B*C. Multiplies three matrices (transposed first argument, second argument, and third argument)...
Definition: MatrixBase.cs:3408
StructuredSurfaceMesh3D GenerateMesh(Func< double, vec3 > curve, Func< double, vec3 > tangent, double tStart, double tEnd, double radius, int numCurvePoints, int numCirclePoints, double eps=0.1, bool normalizeFromPrevious=false)
Generates a tubular mesh using the Parallel Transport Frame (PTF) and analytical tangent vectors.
Definition: TubularMeshGenerator.cs:88
Objects of this type have a unique ID (unique for all objects of a given type) and can be registered ...
Definition: IRegisterable.cs:16
virtual void SetHessianReference(IMatrix reference)
Sets the functions' Hessian. Only the reference is copied.
Definition: FunctionScalarResults.cs:339
override string ToString()
Returns a string representation of this 2D matrix.
Definition: Matrix2D.cs:892
virtual InputOutputDataDefiniton GetDataDefinitionObject(bool setBoundsAndDefaults=false, IBoundingBox inputBounds=null, IBoundingBox outputBounds=null)
Creates and returns a data definition object for input parametera and output values of the current fu...
Definition: VectorFunctionScriptController.cs:517
LogRecord Create(ReportType messagetype, string location, string message)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:175
static double Sign(double a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:846
void AllocateRequested()
Allocates space for all requested result objects.
string NetworkStateRelativePath
Relative path where the curren network state has been saved. Auxiliary property used in deserializati...
Definition: NeuralApproximatorBase.cs:1370
double Brightness
Gets the hue-saturation-brightnes (HSB) value for brightness of the current color (in the range 0 to ...
Definition: Color.cs:244
static HashType[] GetHashTypes()
Returns all hashing algorithm types contained in the enumeration HashType
Definition: UtilCrypto.cs:380
bool GetRestoringInternalState()
Returns a flag indicating whether internal state of the (trained) neural network should be restored,...
Definition: SerializationDtoNeuralApproximator.cs:231
virtual bool Script_ContainsCommand(string commandName)
Returns true if the internal script's interpreter contains a command with specified name,...
Definition: LoadableScriptBase.cs:628
abstract VectorType CreateVector(int length)
Creates and returns a new vector of the specified dimension.
bool CanAddParameters
Whether or not parameters can be added after the parameter set has ben created.
Definition: IModelParameterSetBase.cs:114
static string GetIglibDescription()
Returns description of the IGLib assembly (from assembly info).
Definition: UtilSystem.cs:3292
virtual void WaitAnReady()
Waits until analysis is ready. REMARK: Currently this file just checks existence of the file in a loo...
Definition: OptFileManager.cs:898
MathNet.Numerics.LinearAlgebra.Double.DenseMatrix Matrix_MathNetNumerics
Definition: MatrixDecompositions.cs:17
static double DefaultOutputSafetyFactorMax
Default value for maximum output bound safety factor value in neural networks.
Definition: NeuralTrainingParameters.cs:1253
bool _throwExceptions
Definition: CommandlineApplicationInterpreter.cs:1280
TScalarField ActiveScalarField
Gets active scalar field. Has protected setter.
Definition: UnstructuredMesh3dGeneric.cs:238
static string DecorationFrame(List< string > lines, int indent, int padLeft, int padRight, int padTop, int padBottom, char frameChar, int thickness)
Returns a string containing the specified text lines in a frame made of one or more layers of equal c...
Definition: App.cs:2007
string ToString()
Returns a string representation of this vector in a standard IGLib form (Mathematica-like format but ...
RealFunction(DlgFunctionValue valueDelegate, DlgFunctionValue derivativeDelegate, DlgFunctionValue secondDerivativeDelegate)
Definition: FunctionReal.cs:597
IMatrix GetNewMatrix(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
virtual IParserState State
Definition: ParserBase.cs:22
Definition: TubularSurfaceExamples.cs:12
Client to the pipe server (classes derived from IpcStreamClientServerBase2).
Definition: IpcNamedPipes.cs:380
static double GeometricSeriesAnalytical(int n, double a0, double k)
Analytically calculates and returns the specified finite geometric series (from the geometric sequenc...
Definition: UtilSpeedTesting.cs:92
virtual ResultType Tolerance
Tolerance for the result of the calculation performed by the test to be considered correct.
Definition: SpeedTestInfo.cs:101
virtual String NotEligibleMessage(object obj)
Returns a message indicating why the specified object is not eligible for storage in the current stor...
Definition: UtilObjectStore.cs:139
TargetType ConvertTyped< TargetType >(SourceType source)
static void Subtract(IMatrix a, IMatrix b, ref IMatrix result)
Subtracts two matrices and stores the result in the specified result matrix. Operation can be perform...
Definition: MatrixBase.cs:2378
double Minimum
Gets strict minimum of this cubic function. If the function does not have one then exeption is thrown...
Definition: FunctionRealInterpolation.cs:1406
override double NextDouble(double maxValue)
A double-precision floating point number greater than or equal to 0.0, and LESS than the specified ma...
Definition: Random.cs:220
static int _defatultOutputLevel
Definition: IpcStreamClientServerBase.cs:79
delegate IVector CreateOutputValuesDelegate(IVector inputParameters)
This delegate is used to create output values for a newly created training elements from the specifie...
LocalizationExample()
Definition: StringParser.cs:23
static string GetStringSaltedHashMd5Hex(string stringToHash, string salt, int numIterations=0)
Computes and returns the MD5 salted hash of the specified string, with the specified number of repeti...
Definition: UtilCrypto.cs:949
const int MinimalMessagePreffixLength
Definition: ClientServerStreamBase_Copy.cs:75
override int GetReferenceCellIndex(double referenceValue)
Retuns index of the cell of the discrete color scale that corresponds to the specified value in the r...
Definition: ColorScale.cs:396
virtual bool HasValidResult
Whether the current object contains a valid result.
Definition: SpeedTestInfo.cs:82
void SetNumNeuronsInHiddenLayer(int whichLayer, int numNeurons)
Sets the number of neurons in the specified hidden layer. Hidden layers are those not containing inpu...
Definition: CommandLineParserWindows.cs:17
bool _appProcessCommandsInitialized
Definition: ScriptAppBase.cs:4999
bool _reqConstraints
Definition: AnalysisResultsDto.cs:53
virtual void ParseHelperTest()
Definition: SandboxTypeConversionTest.cs:38
Definition: MeshExportExtensions_04.cs:15
static void OrthogonalProjectionPlain(IVector original, IVector onWhich, IVector result, double tolerance=0.0)
Calculates orthogonal projection of the original vector on the specified vector, and stores the proje...
Definition: VectorBase.cs:1514
static VectorBase operator+(VectorBase v)
Unary plus, returns the operand.
Definition: VectorBase.cs:2831
mat3(mat3 m)
Copy constructor. Initializes components of a 3D matrix with components of the specified matrix.
Definition: Matrix3D.cs:384
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:1074
static readonly PhysicalConstant Torr
Torr, a deprecated non-SI unit of pressure (mm Hg), torr = 133.322 Pa (Pa = kg/(numrows result^2)).
Definition: Constants.cs:1318
Identity(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealBasic.cs:392
IVector _errorsTrainingMeanAbs
Definition: NeuralTrainingParameters.cs:485
virtual char EscapeCharacter
Returns the escape character of the current string parser.
Definition: StringParser.cs:164
ResponseDelegate _responseMethod
Definition: ClientServerStreamBase2_Copy.cs:569
static void CrossProduct(IVector a, IVector b, ref IVector result)
Calculates a vector product (cross product) of two vectors and stores the result in the specified res...
Definition: VectorBase.cs:2014
object Clone()
Definition: FunctionReal.cs:718
int _interpreterId
Definition: Interpreter.cs:75
override void Hessian(double x, double y, double z, out double dxx, out double dyy, out double dzz, out double dxy, out double dxz, out double dyz)
Function for calculating function Hessian, just throws the NotImplementedException exception.
Definition: Function3d.cs:117
IBoundingBox InputDataBounds
Bounds on input data, used for scaling from actual input to input used by neural network....
Definition: NeuralApproximatorBase.cs:325
vec3 Subtract(vec3 a)
Returns difference between the current vector and the specified vector.
Definition: Matrix3D.cs:236
bool _hessianDefined
Definition: Function3d2d.cs:266
string ConstAttributeTitle
The style attribute. Specifies extra information about an element.
Definition: HtmlWriter.cs:92
void GetErrorsTrainingMeanAbs(ref IVector errors)
Calculates the mean absolute errors of output values for the training elements of the training set (t...
Definition: NeuralApproximatorBase.cs:2378
static string DefaultGenericResponse
Default generic response (sent in absence of any other method to generate the response).
Definition: IpcStreamClientServerBase.cs:623
virtual bool CancelFlag
If this flag is set then the current waiting (if one is going on) will be cancelled.
Definition: WaitCondition.cs:92
IFunc3d2d _vectorFunction
Definition: Function3d2d.cs:489
object Lock
This object's central lock object to be used by other object. Do not use this object for locking in c...
Definition: LoadableScriptInterpreter.cs:46
string CertificatePassword
Password for accessing private keys (e.g. for private keys associated with certificate).
Definition: UilCryptoAux1.cs:265
PortList(int start, int stop)
Definition: PortScannerSimple.cs:142
abstract void PrepareNetwork()
Prepares neural network for use. If networks have not yet been created accordinfg to internal data,...
Function f(x, y) = x * y.
Definition: Function2d.cs:609
static RealFunction GetReciprocal(double Kx, double Sx, double Ky, double Sy)
Creates and returns a new real reciprocal power function object.
Definition: FunctionRealBasic.cs:176
SortedDictionary< string, ApplicationCommandDelegateMt > _commandsMt
Definition: CommandlineApplicationInterpreter.cs:218
const string ExecutableFilenameDefault
Default name of executable.
Definition: SimKosecConst.cs:44
MatrixBase_MathNetNumerics _inverse
Definition: MatrixDecompositions.cs:1240
string _baseDefinitionsJs
Definition: ExpressionEvaluatorJs.cs:87
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
static xdouble log2(xdouble a)
Returns the base 2 logarithm of a specified number.
Definition: UtilMath.cs:1734
static bool IsProcessRunning(string processName, bool caseSensitive)
Returns true if at least one process with the specified name is running, false otherwise.
Definition: UtilSystem.cs:712
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:1166
virtual ICommandLineApplicationInterpreter Script_CreateInterpreterWithoutCommands()
Creates and returns an interpreter that can be used as script's internal interpreter for running scri...
Definition: LoadableScriptBase.cs:374
void Load(TextReader txtReader)
Loads data store'result XML Doc from atext reader. An exception is thrown if the there is modified an...
Definition: XmlUtilities.cs:170
virtual bool IsGradientDefined
Specifies whether gradient is defined for the funciton represented by the current DTO.
Definition: ScalarFunctionScriptController.cs:96
int NumGenerations
Number of generated keys (byte sequences) up to now.
Definition: UtilCryptoAux.cs:774
ParallelJobCallbackGen< InputType, ResultType > _onFinishedGeneric
Definition: ParallelJobContainerGen.cs:150
static string ToStringMath(this IMatrix mat)
Returns string representation of the current matrix in the standard IGLib form. Rows and elements are...
Definition: MatrixBase.cs:257
static bool operator==(Scalar a, Scalar b)
Definition: Scalar.cs:161
override MatrixBase GetNewBase()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix2DClass.cs:466
void Deserialize_MismatchedType_ShouldFail()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:203
Parametric equation of an origin-centered ellipsoid surface in form of 3D vector function of 2 variab...
Definition: Function3d2d.cs:939
const double Sqr2
Square root of 2.
Definition: Constants.cs:324
Complex GetNegative()
Returns negative value of the current complex number.
Definition: Complex.cs:507
virtual string AppCheckSum(string appName, string[] args)
Executes command-line action - calculation of various hash values of files or text.
Definition: UilCryptoAux1.cs:2266
void SetNumColumns(int rowNum, int numColumns)
Changes the number of columns of the specified row to the specified number.
Definition: StringTable.cs:605
static string DefaultMsgTestSquare
Default message that requests a test computation of square to be performed on the other side (a sort ...
Definition: IpcStreamClientServerBase.cs:495
static Dictionary< string, Assembly > GetReferencedAssemblies(Assembly assembly, bool ignoreGac=true, bool recursive=true)
Creates and returns a dictionary containing all assemblies referenced (directly or indirectly) by the...
Definition: UtilSystem.cs:2567
Blocking execution of the current thread until the specified file ceases to exist.
Definition: WaitConditionFile.cs:695
void SetObjectiveGradient(IVector value)
Sets the objective function gradient. If CopyReferences=true (false by default) then only the referen...
override double f2(double u, double v)
Definition: Function3d2d.cs:1671
static IMatrix LuExtractUpper(IMatrix matLu, ref IMatrix result)
Extracts the upper part of the specified Doolittle LU decomposition 0s below diagonal) and stores it ...
Definition: MatrixBase.cs:5608
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntJaggedArrayNonrectangular2DToIntArrayObjectToIntList()
Definition: CollectionTypeConverterTests .cs:504
static double sgn(double a)
Returns a value indicating the sign of a number.
Definition: UtilMath.cs:850
static bool TestMultiplyTranspTransp(double tolerance, bool printReports)
Tests product A^T*B^T.
Definition: MatrixBase.cs:3069
const string CryptoHelpDecryptPlain
Definition: ScriptAppBase.cs:1205
virtual void SetOptimizationData(IOptimizationData data)
Sets the optimization data where information about optimization problem and algorithm parameters can ...
Definition: Optimizer.cs:135
string ConvertToString(object source, string format)
const System.IO.NotifyFilters NotifyFiltersAll
NotifyFilter enumeration that allows all kinds of events to be fired.
Definition: WaitConditionFile.cs:179
bool IsAssemblyNameIgnored
Definition: SerializationBinderElementary.cs:90
override void Hessian(double x, double y, double z, out double dxx, out double dyy, out double dzz, out double dxy, out double dxz, out double dyz)
Function for calculating function Hessian, just throws the NotImplementedException exception.
Definition: Function3d.cs:90
static void TestSerializationAll(string outputDirectory)
Tests different serialization methods with different data.
Definition: SerializerBase.cs:209
int _maxCount
Definition: UtilObjectStore.cs:88
string _passwordString
Definition: UtilCryptoAux.cs:737
string _fileOrDirectoryPath
File or directory name.
Definition: WaitConditionFile.cs:991
bool ValueDefined
Whether calculation of function value is defined.
Definition: ScalarFunctionScriptLoader.cs:130
bool Equals(xdouble a)
Returns true if the specified number equals the current number, and false otherwise.
Definition: UtilMath.cs:1359
const string FunctiOutputFilename
Default file name of function output parameters file in standard IGLib format.
Definition: NeuralFileConst.cs:87
Base class for CSV (comma separated files) representation, importer and exporter of sampled data and ...
Definition: SampledDataCsv.cs:18
void ReportInfo(string location, string message)
Launches an info.
Definition: ReporterMsg.cs:3393
virtual void AddInputFieldDefinition(InputFieldDefinition def)
Adds a new input field definition. Name of the definition must be unique (not already added).
Definition: SimKosecFileManagerBase.cs:1011
abstract LoadableRealFunctionBase CreateRealFunction()
Creates and returns a new real function object where object is of real function class that has been d...
bool TextLoggerFlushing
Gets or sets the flag that tells whether or not the text writers are flushed after every message that...
Definition: ReporterMsg.cs:4796
JobContainerType _jobData
Definition: ParallelJobServerBase.cs:174
vec2 Multiply(double k)
Returns the current vector multiplied by the specified scalar.
Definition: Matrix2D.cs:200
bool IsRegistered()
Returns true if the current object is registered, false if not.
override string ToString()
Returns a string representation of the current job dispatcher, which contains relevent data about the...
Definition: ParallelJobContainerGen.cs:578
override double Norm2
Gets a 2 norm of the current 2D vector.
Definition: Vector2Dclass.cs:399
virtual string ToString(string elementFormat)
Returns a string representation of the current matrix in a standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:5143
void UtilSpeedTesting_ArithmeticSeriesAnalyticalMethodIsCorrect(int n, double a0, double d, double tolerance)
Verifies that finite arithmetic series calculaed analytically is correct.
Definition: UtilSpeedTestingTests.cs:341
virtual string CmdBeginRepeat(CommandThread cmdThread, string cmdName, string[] args)
Command. Enters a new repeat block, which repeats execution of its body for the specified number of t...
Definition: CommandlineApplicationInterpreter.cs:3539
abstract color GetContinuousReferenceColor(double referenceValue)
Returns the CONTINUOUS color from the current color scale that corresponds to the specified value in ...
static string EncryptStringAsymShort(string stringToEncrypt, AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType=AsymmetricAlgorithmType.None)
Definition: UtilCrypto.cs:5027
FieldCollection2d< TIndexField, TIndex > _indexFields
Definition: StructuredMesh2dGeneric.cs:70
override void NextBytes(byte[] buffer)
Fills the elements of a specified array of bytes with random numbers.
Definition: Random.cs:293
int GetLinearTermIndex(int varIndex)
Returns index of the specified linear function in this quadratic basis.
Definition: ApproxBasis.cs:397
const string ConstHelpCrypto
Definition: ScriptAppBase.cs:345
Alignment(AlignmentHorizontal horizontal, AlignmentVertical vertical)
Construct the alignment structure with the specified horizontal and vertical alignment.
Definition: Alignment.cs:38
static void SetRandomPositiveDiagonallyDominantSymmetric(IMatrix mat, IRandomGenerator rnd=null, double dominancyFactor=100.0)
Sets the specified matrix such that it is has random elements and is symmetric diagonally dominant wi...
Definition: MatrixBase.cs:1200
static double operator*(Vector3d a, Vector3d b)
Scalar product of two 3D vectors.
Definition: Vector3Dclass.cs:526
void ExtractOutputs(IndexList filterIndices, ref IVector[] extracted)
Extracts the specified vectors of output values from the current sampled data set,...
Definition: SampledData.cs:465
virtual void SetOptimizationResults(IOptimizationResults results)
Sets the optimization data where information about optimization problem and algorithm parameters can ...
Definition: Optimizer.cs:155
override void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
Definition: Function3d2d.cs:540
double GetValue()
Returns the value of the function.
static void ToByteArray(float val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1707
bool _isTestMode
Definition: ParallelJobContainerBase.cs:216
static void Permute(IMatrix A, int[] permutations, ref IMatrix result)
Permutes rows of the specified aquare matrix according to the specified permutations array.
Definition: MatrixBase.cs:5662
override double f1(double u, double v)
Definition: Function3d2d.cs:1362
static RealFunction GetConstant(double constantValue, double Kx, double Sx)
Creates and returns a new constant function object.
Definition: FunctionRealBasic.cs:501
void GetVerificationData(ref SampledDataSet veerificationData)
Auxliliary function, returns network's verification data.
Definition: NeuralApproximatorBase.cs:1516
void GetVerificationData(ref SampledDataSet veerificationData)
Auxliliary function, returns network's verification data.
DistanceComparer(PointContainerType referencePoint, DistanceDelegate< PointType > distanceFunction)
Constructs a new comparer according to input distance to a reference poiont (type IVector).
Definition: DistanceComparer.cs:244
string Description
Gets the description of the physical constant.
Definition: Constants.cs:142
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
Definition: KleinBottle.cs:66
abstract int Length
Gets dimension of the vector.
Definition: VectorBase.cs:274
Example class that derives from the M class. Implements a method that uses basic mathematical functio...
Definition: UtilMath.cs:1508
Module(string moduleName, int version, int subVersion, int subSubVersion, string release)
Initializes the global data for the current module.
Definition: App.cs:585
int Add(Type item)
Adds the specified item to the list if it does not yet exist. NOT thread safe.
Definition: SortedUniqueItemList.cs:241
override VectorBase_MathNetNumerics SolveMathNetNumerics(IVector rightHandSides)
Solves the system of linear equations with the specified right-hand sides and the current matrix deco...
Definition: MatrixDecompositions.cs:1311
int _numBundles
Definition: NeuralTrainingParameters.cs:2919
int Position
Current position.
Definition: StringParser.cs:102
static void SaveJson(AnalysisResults anResults, string filePath, bool append)
Saves (serializes) the specified analysis results to the specified JSON file. If the file already exi...
Definition: AnalysisResults.cs:1952
virtual List< IVector > GetGradients()
Returns a list of function gradients.
Definition: FunctonVectorResults.cs:354
XmlNode Treated
Returns the Xml node that is currently treaded. All modifications apply to this node....
Definition: XmlUtilities.cs:2328
DateTime _startTime
Definition: UtilTime.cs:112
ElementType GetElement< ElementType >(int rowNumber, int columnNumber)
Returns the element of the specified type at the specified position.
Definition: StringTable.cs:238
IVector _parameters
Definition: FunctionScalarParametric.cs:115
void Update(int componentIndex, params double[] coordinates)
Updates the bounding box in such a way that all specified values of the specified co-ordinate compone...
Definition: BoundingBox.cs:799
virtual string Compile(string inputDefinitions)
Recompiles the basic script where evaluation is plugged in, with added definitions....
Definition: ExpressionEvaluatorCompiled.cs:307
const string _TypeName
Definition: Vartypes.cs:100
ReportLevel _TracingLevel
Definition: ReporterMsg.cs:2618
UnstructuredMesh1d(int numElements, string fieldName, string fieldDescription)
Constructs a new unstructured mesh with the specified number of nodes, name and description....
Definition: UnstructuredMesh1dGeneric.cs:58
MathNet.Numerics.LinearAlgebra.Double.DenseVector Vector_MathNetNumerics
Definition: VectorBase.cs:13
void CopyOutputs(ref IVector[] extracted)
Copies vectors of output values from the current sampled data set, and stores them to the specified t...
Definition: SampledData.cs:523
int NextInclusive(int maxValue)
Returns a nonnegative random number LESS OR EQUAL THAN the specified maximum.
static void LoadJson(string filePath, ref VectorFunctionScriptController controllerRestored)
Restores (deserializes) a script-based scalar function controller from the specified file in JSON for...
Definition: VectorFunctionScriptController.cs:690
static bool AsymEncryptionDecryptionTest(int length, out string errorString, AsymmetricAlgorithm algEnc, AsymmetricAlgorithm algDec=null)
Tests whether the specified asymmetric algorithm(s) correctly encrypts/decrypts a random byte array o...
Definition: UtilCrypto.cs:4788
virtual void SetDefaultReportDlg()
Sets the error reporting delegate to the default value.
Definition: ReporterMsg.cs:1295
const string Description
Definition: UtilSpeedTesting.cs:153
Defines some mathematical functions to be used in derived and other classes.
Definition: UtilMath.cs:74
LUDecomposition(Matrix A)
Constructor.
Definition: MatrixDecompositions.cs:351
void Read(string name)
Reads this 2D matrix components from a console.
Definition: Matrix2D.cs:911
double Integral(double x)
Returns integral from 0 to x of the function. Throws an exception if the integral is not defined.
static void TestSerialization< SerializationTestClass >(ISerializer serializer, SerializationTestClass serObject, string filePath)
Test serialization performed by the specified serialization helper class. This function creates a tes...
Definition: SerializerBase.cs:406
IVector ToleranceMax
Tolerances on maximal errors of outputs over training points. Training will continue until error beco...
Definition: NeuralApproximatorBase.cs:938
Type Type
Parameter type.
Definition: IModelParameter.cs:52
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian).
Definition: ApproxBasis.cs:640
XmlNode StepOut()
Steps out of the current childnodes context and selects the next node of the parent as the current no...
Definition: XmlUtilities.cs:2035
Type BindToType(string assemblyName, string typeName)
int EpochsInBundle
Number of epochs in bundle (i.e. number of epochs performed at once, without any checks or output ope...
Definition: SerializationDtoNeural.cs:56
const string ProcessHelpListProcesses
Definition: ScriptAppBase.cs:4545
virtual string CompileUser(string inputDefinitions)
Compiles the specified new definitions. If compilation is successful, the definitions are added to ex...
Definition: ExpressionEvaluatorCompiled.cs:548
static ColorScale CreateRainbowFull(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that runs from violet till red color and passes rainbow co...
Definition: ColorScale.cs:687
LogRecord CreateWarning(Exception ex)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:275
QR decomposition of a matrix.
Definition: MatrixDecompositions.cs:607
static xdouble Cosh(xdouble a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:1678
virtual bool IsCopyMathNetNumericsConsistent
Tells whether the internal MathNet.Numerics matrix representation of the current matrix is consistent...
Definition: Matrix.cs:706
LoadableRealFunctionBase(double Kx, double Sx)
Function constructor.
Definition: RealFunctionScriptBase.cs:72
void SetConstraint(int which, double value)
Sets the specified constraint function value.
void RecalculateDataBounds()
Recalculates input and output data bounds by taking into account the training data set of the current...
static int _nextId
Definition: ParallerJobDispatcherBase.cs:1057
static IG.Crypto.PasswordAlgorithmBase GetPasswordAlgorithm(PasswordAlgorithmType algorithmType)
Returns the appropriate password generation algorithm according to the specified algorithm type,...
Definition: UtilCrypto.cs:218
SortedDictionary< string, ModuleDelegate > _modules
Definition: CommandlineApplicationInterpreter.cs:276
ReportLevel LoggingLevel
Gets or sets level of output for logging (writing to log files).
Definition: ReporterMsg.cs:900
IVectorFunction GetFunction()
Returns a vector function that is created from the funciton definition on the current vector function...
Definition: VectorFunctionScriptController.cs:895
Matrix(double[] _matrixElements, int numRows, int numColumns=0)
Construct a matrix from a one-dimensional packed array.
Definition: Matrix.cs:276
static void GenerateCoordinatesPlain(StructuredField2d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping nodes of a regular 2D structu...
Definition: StructuredField2dGeneric.cs:455
StreamReader _inputStream
Definition: NamedPipes_Copy.cs:246
Application class for the IGLib's shell application.
Definition: ApplicationIgShellBase.cs:10
static void CalculateErrorsMax(int dimOutput, IVector[] prescribed, IVector[] calculated, ref IVector errors)
Calculates error measures - maximum absolute value of the differences - for the specified arrays of p...
Definition: NeuralApproximatorBase.cs:2217
static List< string > DefaultAssemblies
Gets the list of assemblies that are added to all newly created script loaders by default.
Definition: Loader.cs:301
int InputLength
Definition: SerializationDtoNeuralApproximator.cs:34
int _numHiddenLayersNum
Definition: NeuralTrainingParameters.cs:1639
volatile bool _isTestMode
Definition: ParallelJobServerBase.cs:87
int NumParameters
Number of parameters of the scalar function that will be defined by a generated script
Definition: ScalarFunctionScriptLoader.cs:358
Settings for graphic primitive.
Definition: GrProperties.cs:106
static string GenerateFuctonParameterName(int whichParameter, string baseName="x", int startIndex=0, int numPlaces=2)
Generates and returns a pre-defined name of the specified variable or function parameter ,...
Definition: ScalarFunctionScriptController.cs:624
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntJaggedArray2DToIntJaggedArray2DObjectToIntJaggedArray2D__ComparativeToDelete_()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:671
Utility class for generaton of unique IDs for objects of specific type. IDs generated by calls of Get...
Definition: IdGenerator.cs:21
SampledDataSet _trainingData
Definition: NeuralApproximatorBase.cs:1416
void AddNumericsCommand(string appName, CommandMethod appMethod, string appHelp)
Adds a new numerics - related embedded application's command (added as sub-command of the base comman...
Definition: ScriptAppBase.cs:567
virtual string ConvertParameterNamesToString(params string[] parameterNames)
Converts an array of parameter names to a delimited single string that contains these names,...
Definition: ScalarFunctionScriptController.cs:120
static double ArcCot(double x)
Arc cotangent, inverse of 1/tan(x).
Definition: UtilMath.cs:1231
IVector Gradient0
Vector of linear coefficients (equal to gradient of the function).
Definition: FunctionScalarExamples.cs:208
bool DoTracing(ReportType reptype)
Returns true if the report of a given type should traced (according to ReportingLevel),...
static Matrix3d Random()
Creates and returns a 3D matrix with uniformly distributed random elements in the [0,...
Definition: Matrix3DClass.cs:254
double ReferenceIntegral(double x)
Definition: FunctionReal.cs:1338
Func3dBase()
Definition: Function3d.cs:133
static xdouble operator^(xdouble a, xdouble b)
First operand raised to the power of the second operand.
Definition: UtilMath.cs:1402
bool RunThroughInterpreter
Whether script is loaded and run through interpreter (alternative is direct construction of script cl...
Definition: ApplicationCommandLineBase.cs:142
string ValueTypeString
Definition: CapturedVar.cs:138
AnalysisComparer(double barrierLength, double barrierHeight)
Creates analysis results comparer with initialized penalty evaluator containing one penalty function ...
Definition: AnalysisComparer.cs:37
override void WaitForConnection()
Waits until a client connects to the specified server pipe.
Definition: NamedPipes_Copy.cs:194
Base class for one parametric families of scalar functions with affine transformation of co-ordinates...
Definition: FunctionScalarParametric.cs:139
override CommandLineApplicationInterpreter CreateInterpreter()
Creates and returns application's command-line interpreter.
Definition: ApplicationCommandLineBase.cs:373
void ReportWarning(Exception ex)
Launches a warning report. Predominantly for error and warning reports.
Definition: ReporterMsg.cs:3354
PenaltyPower(double length, double height, double zeroEnd, int power)
Creates a new penalty function consisting of sticked together constant zero-valued function and a pow...
Definition: FunctionRealPenalty.cs:154
char MessageSeparator
Definition: IpcStreamClientServerBase.cs:219
int _dispatcherJobId
Definition: ParallelJobContainerBase.cs:132
static int GetNextId()
Returns another ID that is unique for objects of the containing class its and derived classes.
Definition: ParallelJobContainerBase.cs:117
static color Mixture(double[] weights, color[] colors)
Returns additive mixture (linear combination) of the specified colors.
Definition: Color.cs:422
DerivedWrapper(int value)
Definition: ReflectionTypeConverterTests.cs:191
NeuralApproximatorBase()
Definition: NeuralApproximatorBase.cs:536
virtual string CmdRunParallelRepeat(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Runs the specified command-line several times in the specified number of paralle...
Definition: CommandlineApplicationInterpreter.cs:4802
static PasswordAlgorithmType GetPasswordAlgorithmType(PasswordAlgorithmBase algorithmObject)
Returns the password generation algorithm type, i.e. an enumeration of type PasswordAlgorithmType,...
Definition: UtilCrypto.cs:167
void Unregister()
Unregisters the current object if it is currently registered. Can be performed several times,...
Definition: UtilIdRegistration.cs:346
int _length
Definition: Vector.cs:252
void RemoveIndexField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh3dGeneric.cs:206
virtual string CmdExpressionEvaluatorJavascript(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs the built in expression evaluator.
Definition: CommandlineApplicationInterpreter.cs:4647
string ImageCaption
Definition: HtmlWriter.cs:840
FieldCollection< TScalarField, TScalar > _scalarFields
Definition: UnstructuredMesh2dGeneric.cs:218
LoadableRealFunctionBase CreateRealFunction(double Kx, double Sx, double Ky, double Sy)
Creates and returns an instance of dynamically compiled real function object.
Definition: RealFunctionScriptLoader.cs:630
Cubic function, f(x) = a3*x*x*x + a2*x*x + a1*x + a0. Specific properties: Zero - returns a zero....
Definition: FunctionRealInterpolation.cs:863
virtual string AssemblyFunctionLoadAssemblies(string appName, string[] args)
Executes embedded application - loading the specified assemblies to the application domain.
Definition: ScriptAppBase.cs:4318
string TypeName
Definition: CapturedVar.cs:120
Rosenbrock()
Creates a new untransformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:578
virtual string AppProcess(string[] arguments)
Runs one of the process - related embedded applications.
Definition: ScriptAppBase.cs:5084
static string DefaultKeyNames
Default key for introduction of names of input and output data elements.
Definition: SampledDataCsv.cs:145
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntArray2DToStringArrayObjectToIntList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:261
int RecursiveDirectoryLevels
Definition: UilCryptoAux1.cs:396
IMatrix Inverse()
Calculates and returns inverse of the decomposed matrix represented by the current object.
Definition: MatrixDecompositions.cs:727
static string GetFileHashMd5Hex(string filePath, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the MD5 hash string of the specified stream.
Definition: UtilCrypto.cs:1169
bool IsRegistered()
Returns true if the current object is registered, false if not.
Definition: UtilIdRegistration.cs:341
const string ConstHelpFile
Definition: ScriptAppBase.cs:341
static void ArrayDivide(IMatrix a, IMatrix b, IMatrix result)
Element-by-element division. WARNING: dimensions of matrices must match, otherwise an exception is th...
Definition: MatrixBase.cs:2484
static string GetHashHex(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash string of the specified kind of the specified byte array.
Definition: UtilCrypto.cs:673
static void SetRandomSymmetric(IMatrix mat, IRandomGenerator rnd)
Sets the specified matrix such that it is symmetric and contains random elements on the interval (0,...
Definition: MatrixBase.cs:953
override void SendDummyRequest()
Sends a dummy request in order for the serving function to stop blocking
Definition: NamedPipes_Copy.cs:319
Test class for testing serialization.
Definition: SerializerBase.cs:720
virtual int NumIntervals
Gets the number of intervals between the nodes. Simply NumNodes-1.
Definition: GridGenerator1dBase.cs:287
DTO (data transfer object) for data output element definition.
Definition: SampledDataDto.cs:349
virtual bool IsClassLoaded
Whether the compiled class corresponding to the script is prepared.
Definition: Loader.cs:960
The same as QuadraticBasis, just that it has more meaningful exceptions.
Definition: ApproxBasis.cs:528
double OutputSafetyFactorMin
Minimum limit for output safety factor value.
Definition: SerializationDtoNeural.cs:758
int IntG
Gets or sets the green RGB component as integer in the range 0 to 255. Getter clips the returned valu...
Definition: Color.cs:147
virtual ILoadableScript CreatedObject
Object of the compiled class that has beeen created.
Definition: Loader.cs:1432
virtual double DNum
Definition: SerializerBase.cs:748
XmlElement[] GetElements(string xpath)
Returns an array of all element _gridCoordinates in the current XML document that satisfiy the specif...
Definition: XmlUtilities.cs:222
static double Pow(double a, double b)
Returns a specified number raised to the specified power.
Definition: UtilMath.cs:1065
static void InsertSortedList< T >(List< T > sortedList, T insertedElement, IComparer< T > comparer)
Inserts the specified element to the appropriate position in a sorted list, in such a way that the li...
Definition: Utils.cs:717
bool _isServer
Definition: ParallelJobServerBase.cs:379
virtual bool ConditionFunction()
Evaluates blocking condition in the case that the condition delegate is not specified.
Definition: WaitCondition.cs:231
TorusKnot3D(int p, int q)
Empty constructor.
Definition: TorusKnot3D.cs:34
static double Product(IEnumerable< double > sample)
Calculates and returns product of ellements of the specified sample.
Definition: UtilMath.cs:706
void Set(double comp)
Sets components of the vector to the specified value.
Definition: Matrix2D.cs:53
void Run(string[] args)
Runs the application.
GrFillSettings()
Definition: GrProperties.cs:46
Vector3d Cross(Vector3d v)
Returns vector product of the current and the specified vector.
Definition: Vector3Dclass.cs:449
static object _lockStatic
Definition: UtilNet.cs:35
TVectorField _activeVectorField
Definition: UnstructuredMesh2dGeneric.cs:386
TIndexField GetIndexField(string name)
Returns index field with the specified name.
Definition: StructuredMesh2dGeneric.cs:124
bool ValueDefined
Tells whether value of the function is defined by implementation.
Definition: FunctionVectorInt.cs:47
virtual string ValueDefinitonString
Definition of function value.
Definition: ScalarFunctionDto.cs:99
void AppendSetVariable(StringBuilder sb, string varName, string[] values, string coponentBaseName, int numIndents)
Appends to the apecified string builder the C# statements that sets the specified variable to the spe...
Definition: ScalarFunctionScriptLoader.cs:610
double ThreadCpuTime()
Returns the total CPU time sent up to this moment by the current process.
Definition: UtilTime.cs:134
void Append(string str)
Appends the specified string at the end of the buffer.
Definition: StringParserBuffer.cs:167
ApplicationIgShellBase()
Definition: ApplicationIgShellBase.cs:13
bool IsRegular
Definition: StructuredMesh3D_04.cs:23
bool _isMultilineResponse
Definition: IpcStreamClientServerBase.cs:753
static void Copy(Scalar a, ref Scalar res)
Copies a scalar to another (existing) scalar in place.
Definition: Scalar.cs:54
string PasswordString
Definition: UilCryptoAux1.cs:293
bool IsPenaltySecodDerivativeDefined(int which)
Returns true if the penalty function's second can be calculated for the specified constraint,...
Definition: AnalysisResults.cs:2646
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealWeight.cs:571
bool TryGetElement< ElementType >(int rowNumber, int columnNumber, ref ElementType elementValue)
Tries to obtain a value of the specified type at the specified position, and returns a flag indicatin...
Definition: StringTable.cs:251
virtual void SetConstraintHessian(int which, IMatrix value)
Sets the specified constraint function's Hessian. If CopyReferences=true (false by default) then only...
Definition: AnalysisResults.cs:767
bool IsWritable
Definition: ArrayAccessors.cs:55
PointContainerType CreateRandomPointContainer(int spaceDimension, double minCoordinateValues, double maxCoordinateValues)
Creates and returns a new point container with random co-ordinates that fall within the specified bou...
Definition: PointCloud.cs:378
bool _cmpSumResiduals
Definition: AnalysisComparer.cs:110
virtual void AddField(int numElements, string fieldName, string fieldDescription)
Creates a new field of the specified length and adds it to the current collection.
Definition: FieldCollectionGeneric.cs:254
ListDto()
Definition: ArrayDto.cs:180
void AddVectorField(TVectorField field)
Adds the specified vector field to the collection of vector fields.
Definition: UnstructuredMesh1dGeneric.cs:497
Tvalue Value
Returns the value.
Definition: Utils.cs:3151
void AbortWorkingThread(double timeoutSeconds=0)
Aborts the working thread.
Definition: ClientServerStreamBase2_Copy.cs:888
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: CloseBracketStrategy.cs:5
virtual string ToStringBase()
Returns a string representation of this vector in a readable form.
Definition: Matrix.cs:1249
override bool IsConnected()
Returns true if server pipe is connected, .
Definition: IpcNamedPipes.cs:656
virtual double Distance(IVector v1, IVector v2)
Returns distance in the output values space between two points, as defined by the distance calculatio...
Definition: SampledData.cs:980
int _epochBundle
Definition: NeuralTrainingParameters.cs:1457
XML-based data class. Doc container is accessed through the Doc property, which is of class XmlData,...
Definition: XmlUtilities.cs:29
Fill Settings.
Definition: GrProperties.cs:44
int MaxNumColumns
Returns the maximal number of columns in any row.
Definition: StringTable.cs:719
const string FuncNameInitDynamic
Name of the function that initializes variables realated to dynamically loaded real function class.
Definition: RealFunctionScriptLoader.cs:52
bool IsKeyNumOutputValues(string str)
Whether the specified string is a keyword introducing the number of output parameters.
Definition: SampledDataCsv.cs:571
StopWatch1()
Definition: UtilTime.cs:46
PointCloud()
Definition: PointCloud.cs:28
void Sort(List< PointContainerType > list)
Sorts a list of point containers with the current comparer.
Definition: DistanceComparer.cs:674
int NumAllTrainingPoints
Gets number of all training points, including verification points.
Definition: NeuralApproximatorBase.cs:1976
Definition: ApplicationIgShellBase.cs:5
void RoundTripConversion_ShouldWorkForMyClass()
Definition: ToStringTypeConverterViaJsonTests.cs:87
abstract CommandThreadBase GetThreadBase()
Returns the stack frame of the specified level for the current thread.
static bool ImplementsGenericInterface(Type candidateType, Type genericInterface)
Checks if a type is or implements a specific generic interface (e.g., IEnumerable<>).
Definition: CollectionTypeConverter.cs:91
object ConvertToType(object value, Type targetType)
Converts the specified value to the specified target type.
Definition: NeuralMapData.cs:152
NeuraApproximationFileManager()
Definition: NeuralFileManager.cs:27
virtual Boolean UseThousandSeparator
Definition: StringParser.cs:137
static Complex GetPositive(Complex c)
Returns positive value of c .
Definition: Complex.cs:440
Field(int numElements, string fieldName, string fieldDescription)
Constructs a new field with the specified number of elements, name and description....
Definition: FieldGeneric.cs:41
override bool Equals(Object obj)
Returns a value indicating whether the specified object is equal to the current matrix.
Definition: Matrix3DClass.cs:596
static ResultType[] TestPerformance(InputType[] inputs, SimpleFunctionDelegate< InputType, ResultType > evaluationFunction, int numServers, int maxEnqueued, double delayTimeSeconds, double delayTimeRelativeError, int sleepTimeMs, int clientOutputLevel)
Test of parallel job execution.
Definition: ParallelJobContainerGen.cs:410
override double f2(double u, double v)
Definition: Function3d2d.cs:1082
virtual string AppCertInfo(string appName, string[] args)
Executes command-line action - prints information about the certificate specified by command-line par...
Definition: UilCryptoAux1.cs:3874
string _secondDerivativeDefinitionString
Definition: RealFunctionScriptLoader.cs:172
Dynamically generates IScalarFunction classes from user definitions. User can define in string form h...
Definition: ScalarFunctionScriptLoader.cs:23
static readonly PhysicalConstant z
zepto- (z), SI prefix for 10^-.
Definition: Constants.cs:785
virtual void SpecificTypeConverter_RoundTripConversion_DerivedClassToBaseClassObjectToBaseClass_IsCorrect()
Definition: BasicTypeConverterTests.cs:184
static IntPtr GetConsoleWindow()
virtual int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: FunctionScalarResults.cs:466
Definition: TestBase.cs:116
int AddPenaltyFunction(IRealFunctionPenalty func)
Adds a new penalty function for evaluation of penalty terms to the list.
void LogError(string message, Exception ex)
Adds a new error log record initialized according to parameters.
Definition: LoggerMsg.cs:679
virtual void Copy(IScalarFunctionResults results)
Copies data from another analysis results.
Definition: FunctionScalarResults.cs:527
override double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:340
virtual void OnCreated(object source, FileSystemEventArgs e)
Handles events triggered when a file or directory is created.
Definition: WaitConditionFile.cs:232
Definition: JsonPrettyPrinter.cs:9
double[] Params1
Definition: StructuredMesh3D_03.cs:20
IVector InitialStep
Gets or sets initial step used in optimization.
Definition: OptimizationInputData.cs:216
virtual void ClientReadAnOutput(ref AnalysisResults anres)
Client reads analysis results. Messages are set and cleared appropriately.
Definition: OptFileManager.cs:1143
double GetValue(int which)
Returns the specified function value.
Vector GetNewThis()
Creates and returns a new vector with the same dimension and of the same type as the current vector.
Definition: Vector.cs:482
static double ErrorAverageCalc(List< IVector > ErrorConvergence, int NumLastErrors, int NumBundles, IVector scalingLength)
Calculate average number of the desired number of first elements in the convergence list.
Definition: NeuralTrainingParameters.cs:1144
void RemoveVectorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh1dGeneric.cs:516
void SetConstant(double elementValue)
Sets all components of the current vector to the specified value.
string SetVariableValue(CommandThread commandThread, string varName, string value)
Sets the specified variable to the specified value.
const string KeyPrefix
Definition: ReporterMsg.cs:2021
bool IsEventualBlockEnterCommand(string commandLine, bool isOnlyCommandName=false)
Returns true if the specified commandline can eventually represent one of the commands contained in t...
Definition: CommandlineApplicationInterpreterBase.cs:1093
vec3 columnz
Gets or sets the z-column of the 3D matrix.
Definition: Matrix3D.cs:564
string GenericResponse
Generic response that is sent back to the client in abscence of any method generating responses to sp...
Definition: ClientServerStreamBase2_Copy.cs:279
FieldCollection3d< TVectorField, TVector > _vectorFields
Definition: StructuredMesh3dGeneric.cs:386
PointCloudSampledDataElement(params IPointContainer< SampledDataElement >[] points)
Constructs a cloud of vector points containing the points embedded in the specified point containers.
Definition: PointCloudSampledDataElement.cs:32
Matrix2d GetNewThis(int rowCount, int ColumnCount)
Returns a copy of the current 2D matrix.
Definition: Matrix2DClass.cs:435
static operator(double, double)(Complex c)
Explicit conversion from complex to (double, double). Will need a cast operator.
Definition: Complex.cs:133
static object _lockStatic
Definition: RandomGaussian.cs:31
void AllocateConstraintHessiansList()
Allocates space for the list of constraint functions' Hessians.
IRealFunctionOneParametric _functionOneParametric
Definition: FunctionScalarRadial.cs:268
virtual string FileFunctionWaitCreation(string appName, string[] args)
Executes embedded application - waiting for creation of the specified file.
Definition: ScriptAppBase.cs:806
VectorStore(int length)
Constructs a new Vector store for vectors with the specified dimensions.
Definition: VectorBase.cs:3208
static int BinarySearchSortedListFromTo< T >(List< T > sortedList, T searchedElement, int from, int to, Comparison< T > comparison)
Searches a sorted list in the specified range for the specified element, and returns its index if the...
Definition: Utils.cs:805
void Example_SaveMaterialProperrties()
Definition: MaterialProperties.cs:123
static double DerivativeFD(DlgFunctionValue f, double x, double step)
Calculates numerical derivative of a function according to the forward difference formula....
Definition: FunctionNumeric.cs:221
static void Resize(ref IVector vec, IVector template, int dimension)
Resizes, if necessary, the specified vector according to the required dimension. If the vector is ini...
Definition: VectorBase.cs:1068
void CalculateVectorResponse(IVector inputParameters, ref IVector outputValues)
Calculates simulator's response at the specified input parameters.
TElement[] _values
Definition: FieldGeneric.cs:66
DistanceDelegate DistanceFunction
Delegate that calculates distance between two vectors.
Definition: SampledData.cs:950
static string GetResxResourceFilePath(string resourcePath)
Returns path of the resource file, given the specified path of a resource (or its resource file) that...
Definition: UtilSystem.cs:3724
string MappingDefinitionPath
File path of the input and output mapping definition file. Setter takes only pure file name,...
Definition: NeuralFileManager.cs:921
string InnerText
Returns the inner text of the current node.
Definition: XmlUtilities.cs:1381
VectorFactoryRegistry()
Definition: VectorFactoryRegistry.cs:37
static void MapCoordinatesPlain(Field< vec2 > referenceField, Field< vec2 > targetField, IFunc2d fx, IFunc2d fy)
Generates coordinates of a set of unstructured 3D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:671
override double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionRealBasic.cs:606
AppDomain _applicationDomain
Definition: Loader.cs:1379
virtual void WriteAppendToCommandFile()
Appends the current contents of the interpreter command file to the physical file....
Definition: InterfaceInterpreterBase.cs:686
static void SetIdentity(IMatrix mat)
Sets the specified matrix to identity matrix. WARNING: Works only for square matrices (exception is t...
Definition: MatrixBase.cs:852
override void CopyToPlain(ref ScalarFunctionScriptController functionContrller)
Copies data from the current DTO to a scalar function object.
Definition: ScalarFunctionDto.cs:148
static bool operator==(DerivedClass lhs, DerivedClass rhs)
Definition: SampleClasses.cs:130
bool DoReporting(ReportType reptype)
Returns true if the report of a given type should be shown by user interface (according to ReportingL...
Definition: ReporterMsg.cs:2740
void BuildContextIndents()
Definition: JsonPPStrategyContext.cs:110
An ICapturedVar<DeclaredType> where declared type of the captured entity (variable,...
Definition: CapturedVar.cs:71
Complex Cos()
Definition: Complex.cs:770
override void CopyToPlain(ref MappingDefinitionElement obj)
Definition: NeuralMapData.cs:114
static Matrix2d CreateFromRows(IList< Vector > rowVectors)
Construct a complex matrix from a set of real row vectors.
Definition: Matrix2DClass.cs:186
virtual string CustomFunctionPrintArguments(string appName, string[] args)
Executes embedded application - writing to the console information about file events for the specifie...
Definition: ScriptAppBase.cs:156
virtual string AssemblyFunctionReferenced(string appName, string[] args)
Executes embedded application - writing to the console list of referenced assemblies.
Definition: ScriptAppBase.cs:4167
Provides read only access to elements of an underlying onedimensional array-like structure.
Definition: IReadonlyArrayAccessor.cs:14
static double tanh(double a)
Returns the hyperbolic tangent of the specified angle.
Definition: UtilMath.cs:1274
override IModelParameter ClearDefaultValue()
Clears the default value of the current parameter, making it undefined (IsDefaultValueDefined becomes...
Definition: ModelParameterTyped.cs:220
virtual void GetNodeList(ref List< double > result)
Stores the node positions of the generated 1D grid into the specified list. If necessary,...
Definition: GridGenerator1dBase.cs:945
virtual int MaxSleepMs
Maximal sleeping time, in milliseconds, between successive condition checks. If less than 0 then maxi...
Definition: WaitCondition.cs:264
static void ArrayMap(IMatrix a, Converter< double, double > mapping, IMatrix result)
Element-by-element mapping of an arbitrary function. WARNING: dimensions of matrices must match,...
Definition: MatrixBase.cs:2608
static string GetFileHashHex(string filePath, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash string of specified type of the specified stream.
Definition: UtilCrypto.cs:1153
ExpressionEvaluatorJs EvaluatorJs
Expression evaluator used by the current
Definition: CommandlineApplicationInterpreter.cs:1494
static color Scale(color col1, color col2, double value)
Returns a color corresponding to the specified value (ranging from 0 to 1) where color scale begins w...
Definition: Color.cs:498
virtual void CalculateGrid()
Performs grid generation according to current settings. The generated grid is stored in internal stru...
Definition: GridGenerator1dBase.cs:886
static double DerivativeBD(DlgFunctionValue f, double x, double step)
Calculates numerical derivative of f according to the backward difference formula....
Definition: FunctionNumeric.cs:232
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:600
const string DefaultFieldNameConst
Definition: FieldCollectionGeneric.cs:144
bool _valueDefined
Definition: Function3d.cs:140
const string CryptoDecryptPlain
Definition: ScriptAppBase.cs:1197
double Zero1
Returns the first zero of the current quadratic function. Throws InvalidOperationException if the fun...
Definition: FunctionRealInterpolation.cs:548
StringBuilder _commandBuilder
Definition: InterfaceInterpreterBase.cs:84
const double RDefault
Definition: Sphere.cs:24
void ResetMin(int componentIndex)
Resets the specified minimal coordinate value to BoundingBoxBase.UndefinedMin.
static ThreadPulser Pulser
Object that is used for pulsing.
Definition: WaitConditionFile.cs:292
void TriggerConditionCheck()
Triggers condition check by pulsing the object on which Wait() successively waits.
Definition: WaitConditionFile.cs:299
ReportLevel Level
Gets the level with the lowesst priority (out of reporting, logging and tracing level),...
Definition: ReporterMsg.cs:943
ParallelJobDispatcherGen()
Definition: ParallelJobContainerGen.cs:658
virtual RealFunctionBase DerivativeFunction
Returns a function object that represents a derivative of this function. Returns null if this is not ...
Definition: FunctionReal.cs:208
byte[] _ivBytes
Definition: UilCryptoAux1.cs:324
static void UnregisterAssemblyResolveHandler()
Unregisters tis class' event handler for resolving assembly load failures.
Definition: UtilSystem.cs:2681
string Path
Path of the file or directory on which the particular event is waited for. Can be specified as relati...
Definition: WaitConditionFile.cs:23
void Tabulate(double from, double to, int numPoints, bool printDerivatives)
Tabulates the current function and its first and eventually second derivatives (when available) on th...
Definition: FunctionReal.cs:289
int EpochBundle
Number of epochs in boundle.
Definition: SerializationDtoNeural.cs:768
VectorDtoBase ObjectiveGradient
Gradient of the objective function.
Definition: AnalysisResultsDto.cs:277
XmlNode GetNextElement()
Moves the current node to the first sibling element after the current node.
Definition: XmlUtilities.cs:1604
bool IsParametersPublic
Flag that specifies whether initialization parameters of the algorithm can be queried or not.
Definition: UtilCryptoAux.cs:728
double b
Definition: Function3d2d.cs:1125
bool IsRegistered()
Returns true if the current object is registered, false if not.
Definition: InterpreterCommandLine.cs:226
static Matrix CreateFromColumns(IList< Vector > columnVectors)
Construct a complex matrix from a set of real column vectors.
Definition: Matrix.cs:333
bool IsKeyDiscretizationSteps(string str)
Whether the specified string is a keyword introducing variable discretization steps.
Definition: SampledDataCsv.cs:847
virtual double GetConstraint(int which)
Returns the specified constraint function value.
Definition: AnalysisResults.cs:556
static double DefaultInputSafetyFactorMax
Default value for maximum input bound safety factor value in neural networks.
Definition: NeuralTrainingParameters.cs:1246
List< object > ParameterStore
Stored objects.
Definition: CommandlineApplicationInterpreterBase.cs:1919
bool AddTextWriter(string filename)
Creates a TextWriter from the file name and adds it to the list of TextWriters on which reporting is ...
Definition: ReporterMsg.cs:4276
override void CopyToPlain(ref NeuralTrainingTable trainingResults)
Copies contents of the current DTO to the specified training results object.
Definition: SerializationDtoNeural.cs:1134
string NeuralNetworkPath
File path of the file where complete (usually trained) neural network is stored. Setter takes only pu...
Definition: NeuralFileManager.cs:167
void ResetLevels()
Resets the various kinds of reporting levels to default values.
ScalarFunctionParametric()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionScalarParametric.cs:91
HashType
Enumeration for selecting the hashing algorithm.
Definition: UtilCryptoAux.cs:28
IVector Normalized()
Returns a vector that equals a normalized current vector.
Definition: VectorBase.cs:833
virtual void ConjugateVector(IVector< ElementType > result)
Definition: VectorBase.cs:410
void AddVectorField(string fieldName, string fieldDescription)
Creates a new vector field of dimensions that match dimensions of the current 2D structuredmesh,...
Definition: UnstructuredMesh2dGeneric.cs:472
static ColorScale CreateDefault(double minValue, double maxValue)
Creates and returns a continuous color scale that runs from blue through red till yellow color.
Definition: ColorScale.cs:634
StreamReader _inputStream
Definition: IpcPipes.cs:647
static bool IsPathResxResourceFile(string resourcePath)
Returns a flag indicating whether the specified resource path represents a compiled resource file tha...
Definition: UtilSystem.cs:3662
FieldCollection< TTensorField, TTensor > _tensorFields
Definition: UnstructuredMesh2dGeneric.cs:524
Vector2d Add(Vector2d a)
Returns sum of the current vector and the specified vector.
Definition: Vector2Dclass.cs:452
void Solve(IMatrix B, ref IMatrix X)
Solves A*X = B (a set of linear systems of equations), where B is the matrix whose colums are right-h...
readonly string Command_While
Definition: CommandlineApplicationInterpreter.cs:652
void Example11_3_ExportConicalSpiralFermats3DTube(int numLongitudinal, int numTransverse, double radius, double alpha=1.5, double a=1.0)
Creeates a tubular surface mesh from a helix parameterization, HelixCurve3D.
Definition: TubularSurfaceExportExamplesTests.cs:864
static IReporter DefaultReporter
Returns the curent global Application reporter.
Definition: App.cs:2224
FieldCollection< TTensorField, TTensor > TensorFields
Gets the collection of tensor fields of the current mesh.
Definition: UnstructuredMesh2dGeneric.cs:530
ScriptLoaderBase Loader
Script loader used to load and instantiate real function class generated from script.
Definition: ScalarFunctionScriptLoader.cs:949
Implements blocking until the specified directory is created (becomes existent). Directory is specifi...
Definition: WaitConditionFile.cs:946
override string ToString()
Converts the current string table to a string in CSV form and returns the string.
Definition: StringTable.cs:1133
MapOutputElementDefinitionDto[] Output
Definition: NeuralMapData.cs:163
ModelParameterSetBase(string title, string description, params(string Name, ModelParameterType Parameter)[] keysAndParameters)
Constructor, initializes the current model parameter set, optionally using tuples of names and parame...
Definition: ModelParameterSetBase.cs:38
static void ReadAnalysisResult(string filePath, ref IVector parameters, ref bool calcobj, ref bool calcconstr, ref bool calcgradobj, ref bool calcgradconstr, ref double obj, ref IVector constr, ref IVector dobjdp, ref IVector[] dconstr, ref int errorcode, ref bool reqcalcobj, ref bool reqcalcconstr, ref bool reqcalcgradobj, ref bool reqcalcgradconstr)
Read the analysis result data from data file Format:
Definition: AnalysisResults.cs:2081
override bool SecondDerivativeDefined
Definition: FunctionRealInterpolation.cs:187
int InputSafetyFactorNum
Number of input safety factor values.
Definition: NeuralTrainingParameters.cs:1414
abstract void TestMain(string[] args)
Runs tests from scripts according to hard-coded settings.
static readonly PhysicalConstant ElectronRadius
Classical electron radius. Unit: numrows.
Definition: Constants.cs:564
const string ArgPasswordHexBytes
Specification that password as hexadecimal byte sequence follows.
Definition: UtilCryptoAux.cs:449
virtual Matrix GetNewMatrixThis(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensona, and of a type that is consistent with ...
Definition: Vector.cs:500
virtual void CopyToBase(ref BaseType obj)
Copies data from the current DTO to an object of the base type. Object is created anew if necessary b...
Definition: SerializationDtoBase.cs:549
static readonly PhysicalConstant sr
Steradian, the SI derived unit of solid angle. Solid angle at which the portion of the sphere surface...
Definition: Constants.cs:905
int n
The number of leaves of the rose curve, must be greater than zero.
Definition: ParabolicBasinCurve3D.cs:28
abstract void Serialize< T >(T serializedObject, Stream serializationStream)
Serializes the specified object and outputs it to a stream.
virtual string CmdEndWhile(CommandThread cmdThread, string cmdName, string[] args)
Command. Ends (closes) the while loop. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3882
override string ToString()
Definition: SerializerBase.cs:613
bool IsInArrayScope
Definition: JsonPPStrategyContext.cs:38
bool HasExpired
Gets the indicatin whether the program has expired.
Definition: App.cs:1183
double[] Params1
Definition: StructuredMesh3D_02.cs:16
Exp(double Kx, double Sx)
Definition: FunctionRealBasic.cs:69
virtual string SystemFunctionIpAddress(string appName, string[] args)
Executes embedded application - writing to the console and returning the current IP address.
Definition: ScriptAppBase.cs:3680
override void SaveNetworkSpecific(string filePath)
Saves the state of the neural network to the specified file. If the file already exists,...
Definition: NeuralApproximatorAforgeFake.cs:35
string AnInMathPath
File path of the analysis input file in standard IGLib format. Setter takes only pure file name,...
Definition: OptFileManager.cs:246
string _returnedValue
Definition: CommandlineApplicationInterpreterBase.cs:1293
virtual void CalculateGrid(ref List< double > nodeList, ref List< double > intervalLengthsList)
Performs grid generation and stores the generated nodes and intervals between them directly on the pr...
Definition: GridGenerator1dBase.cs:870
HyperboloidTwosheetedUpperParametric(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1007
static string ToStringNewlines(IMatrix mat, string elementFormat)
Returns a string representation of the current matrix with newlines inserted after each row,...
Definition: MatrixBase.cs:300
override double f3(double u, double v)
Definition: Function3d2d.cs:970
void Reset()
Resets all components of vector of minimal coordinates to BoundingBoxBase.UndefinedMin,...
Definition: BoundingBox.cs:588
static string GetDefaultNameSpaceUri(XmlElement element)
Gets the default namespace URI if defined, for the specified Xml element.
Definition: XmlUtilities.cs:882
string TextLoggerIntroText
Gets or sets the introduction string that is written before logging to a TextLogger begins....
Definition: ReporterMsg.cs:480
virtual GraphicObject GetDirectChildObject(int i)
Returns tha direct child object No. i.
Definition: GrObjects.cs:209
double LinearCombinationDerivative(IVectorFunctionResults evaluationData, IVector coefficients, int component)
Returns the specified component of gradient of combination of functions contained in this vector func...
Definition: FunctionVectorBaseGeneral.cs:380
List< CommandMethod > AppProcessMethods
List of methods used to perform process-related commmands.
Definition: ScriptAppBase.cs:4524
void CapturedVarCreation_WorksCorrectlyWithCastValueNull()
Definition: CapturedVarTests.cs:352
double EndParameter1
Definition: Sphere.cs:64
Rfc2898DeriveBytes ExternalAlgorithm
Definition: UtilCryptoAux.cs:900
virtual void SetGradient(IVector value)
Sets the function gradient. If CopyReferences=true (false by default) then only the reference is copi...
Definition: FunctionScalarResults.cs:281
static void Copy(Matrix a, ref Matrix result)
Copies components of a matrix to another matrix. Resulting matrix is allocated or reallocated if nece...
Definition: Matrix.cs:922
Base class for defining Vector functions whose component-wise evaluation is defined directly.
Definition: FunctionVectorBase.cs:266
virtual string IGHomeIdFile
Name of the software root identification file This file must be contained immediately in the software...
Definition: App.cs:667
double MaxX
Gets the upper bound in the first coordinate.
Definition: BoundingBox.cs:1875
float FloatOpacity
Gets the opacity of the current color as float number in the range 0 to 1. No clipping is performed.
Definition: Color.cs:218
override mat2 Hessian(vec2 parameters)
Calculates and returns Hessian of the current 2D linear function (identical to zero matrix) and retur...
Definition: Function2d.cs:497
virtual object ValueObject
Definition: ModelParameter.cs:60
int NumIndexFields
Gets the number of index fields.
Definition: UnstructuredMesh1dGeneric.cs:136
bool IsDefaultWhenValueNotDefined
If true then the current parameter is assumed to have the default value when the value itself (proper...
Definition: IModelParameter.cs:91
bool KeepBestGuess
Whether best results are kept or not.
Definition: Optimizer.cs:94
void NullifyResults()
Sets all result objects to null. If the references are not assigned elsewhere, these objects become e...
void Value(IVector parameters, ref List< double > values)
Returns the value of vector function at the specified parameter.
Definition: FunctionVectorBaseGeneral.cs:272
static string GetIglibInfo(int infoLevel=3, int versionLevel=0)
Returns a (possibly multiline) string containing basic information about the IGLib base library,...
Definition: UtilSystem.cs:3316
char ForWhichCharacter
Definition: CloseSquareBracketStrategy.cs:19
Definition: ISingleTargetTypeConverter.cs:6
ParallelJobState _state
Definition: ParallelJobContainerBase.cs:65
mat3 HessianMatrix
Twice the matrix of quadratic coefficients (Hessian matrix of second derivatives).
Definition: Function3d.cs:587
bool _networkPrepared
Definition: NeuralApproximatorBase.cs:601
object Lock
Definition: UtilObjectStore.cs:74
XmlNode Previous
The node that was previously set to the current node.
Definition: XmlUtilities.cs:1269
StructuredSurfaceMesh3D GenerateMesh(Func< double, double, vec3 > surface, Func< double, double, vec3 > tangent1, Func< double, double, vec3 > tangent2, double tStart1, double tEnd1, double tStart2, double tEnd2, int numPoints1, int numPoints2)
Definition: ParametricSurfaceMeshGenerator.cs:95
string GetIndent()
Returns indentation string for the current indentation level.
Definition: HtmlWriter.cs:150
virtual void Report_TextLogger(ReportType messagetype, string location, string message, Exception ex)
Launches a report via text logger. Report is launched by using special delegates for this kind of rep...
Definition: ReporterMsg.cs:5617
double _inputBoundSafetyFactor
Gets or sets input safety factor.
Definition: NeuralTrainingParameters.cs:129
virtual OutputMappingDefinitionElement GetMapOutputElement(int which)
Definition: NeuralMapData.cs:662
void Update(Vector2d coordinates)
Updates the bounding box in such a way that the specified co-ordinates fit in it.
Definition: BoundingBox.cs:1762
void TrainNetworkMultiple(int numEpochs, int numIterations)
Performs a specified number of training iterations where the specified number of epochs are run in ea...
Definition: NeuralApproximatorBase.cs:2545
mat2 T
Gets transpose of the current matrix.
Definition: Matrix2D.cs:638
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealWeight.cs:148
void SaveToMaterialFile(string filePath, string materialName=null)
Saves the material properties to a .mtl file.
Definition: MaterialProperties.cs:108
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: NeuralTrainingParameters.cs:336
void AbortWorkingThread(double timeoutSeconds=0)
Aborts the working thread.
Definition: IpcStreamServerBase.cs:434
string GetInfosReport(bool printDecorations, bool newLinesAfter)
Returns a string that contains reports for all infos contained in the logger. If there are no logs to...
Definition: LoggerMsg.cs:580
double GetParameter(int which)
Returns value of the specified parameter of the parameterized function.
A SerializationBinder, defines a single mapping from the original assembly and type name to a target ...
Definition: SerializationBinderElementary.cs:25
override mat3 Hessian(vec3 parameters)
Calculates and returns Hessian of the current 3D linear function (identical to zero matrix) and retur...
Definition: Function3d.cs:539
static void MapCoordinatesToScalars(StructuredField2d< vec3 > referenceField, StructuredField2d< double > targetScalarField, IFunc3d scalarMap)
Generates scalar values for a 2D structured grid embedded in 3D space from the specified field of gri...
Definition: StructuredField2dGeneric.cs:364
GraphicObject _parent
Definition: GrObjects.cs:156
Compares two sets of analysis results in various different ways.
Definition: AnalysisComparer.cs:16
bool IsTestMode
Whether the current job data conntainer is in test mode. In this mode, delays specified by internal v...
Definition: ParallerJobDispatcherBase.cs:1039
static ScalarFunctionConstant ExampleFunction2d()
Creates and returns quadratic scalar function in 2D.
Definition: FunctionScalarExamples.cs:131
TTarget ConvertTyped(TSource source)
Converts the parameter source to the target type (TTarget , or equivalently, TargetType),...
IVector GetObjectiveGradient()
Returns the objective function gradient.
static object _lockGlobal
Definition: ClientServerStreamBase_Copy.cs:50
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
Definition: MoebiusStrip.cs:59
virtual string CmdNameInterpret
Command name - interpret.
Definition: InterfaceInv.cs:82
static color Average(bool clipComponents, params color[] colors)
Returns average of the specified colors.
Definition: Color.cs:334
A base class for a vector factory without having the precise type of the created vectors specified.
Definition: VectorFactory.cs:46
void ExtractOutputs(ref IVector[] extracted)
Extracts vectors of output values from the current sampled data set, and stores them to the specified...
Definition: SampledData.cs:454
static void SaveJson(ScalarFunctionScriptController functionController, string filePath, bool append=false, InputOutputDataDefiniton dataDefinition=null)
Saves (serializes) the specified script-based scalar function controller to the specified JSON file....
Definition: ScalarFunctionScriptController.cs:940
string[] OneCommandArgument
Used to run the simulatior in the default case where there is only one command-line argument.
Definition: SimKosecFileManagerBase.cs:1460
static xdouble ceil(xdouble a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:1666
const string ArgCertificateStoreName1
Specification that certificate store name follows.
Definition: UtilCryptoAux.cs:403
virtual void SetCalculateConstraints(bool flagValue)
Sets the flag for calculation of constraint functions.
Definition: InterfaceInv.cs:382
XmlNode GetTextNode(string xpath)
Returns the (first) text node of the first element node in the current document that satisfies the sp...
Definition: XmlUtilities.cs:388
double StoredDistance
Stored distance to a reference point, which is used to increase performance of operations that perfor...
Definition: PointContainer.cs:51
void ClearNeuralBusy()
Clears the falg that indicates that the approximation server is busy.
Definition: NeuralFileManager.cs:528
string EmbeddedCommandName
Command that was used to launch the current embedded application script.
Definition: LoadableScriptBase.cs:169
override bool HessianDefined
Tells whether the second derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1217
TScalarField GetScalarField(int index)
Returns the scalar field with the specified index.
Definition: UnstructuredMesh1dGeneric.cs:282
virtual double GetMaxPenaltyTerm(IPenaltyEvaluator evaluator)
Returns sum of the penalty terms corresponding to all constraint, calculated by the specified penalty...
Definition: AnalysisResults.cs:1568
int MyId3
Definition: SampleClasses.cs:340
bool RemoveTW(List< TWClass > lwriters, Stream stream)
Removes the first object from a list whose TextWriter has been created form the specified stream.
Definition: ReporterMsg.cs:3915
PointContainerType CreateRandomPointContainer(IBoundingBox bounds)
Creates and returns a new point container with random co-ordinates that fall within the specified bou...
Definition: PointCloud.cs:366
const string ArgRecursiveDirectoryLevel
Specification of a level of recursive directory search of input files follows.
Definition: UtilCryptoAux.cs:612
static readonly PhysicalConstant a
Are, non-SI unit of area, a = 100 numrows^2. Use is not encouraged.
Definition: Constants.cs:1241
abstract Type CreateObject()
Creates and returns a new object of the type whose data is represented by the current DTO (Data Trans...
bool _doesNotContainJobDefinition
Definition: ParallelJobContainerGen.cs:235
Base class for 3D vector functions of 2 variables (implementations of the IFunc3d2d interface) that d...
Definition: Function3d2d.cs:159
void Initialize(string[] arguments)
Initializes the object. If not called explicitly, this method is automatically called at the first ca...
Definition: LoadableScriptBase.cs:259
InterpreterVariable()
Definition: CommandlineApplicationInterpreterBase.cs:390
string[] GetBlockEnterCommands()
Returns the array of commands that can enter the current kind of code block.
Definition: CommandlineApplicationInterpreterBase.cs:1031
static string GetHashFunctionString(IVector vec)
Returns a string valued hash function of the specified vector object.
Definition: VectorBase.cs:2255
bool _calcConstraintHessians
Definition: FunctionScalarResults.cs:111
static bool SetValue(XmlNode basenode, string xpath, string value, bool createnodes, string ContainerAttribute, string ContainerValue, string NodeAttribute, string NodeValue)
Definition: XmlUtilities.cs:719
const string FunctionInputFilename
Default file name of function input parameters file in standard IGLib format.
Definition: NeuralFileConst.cs:84
const string NeuralOutputFilename
Default file name of neural networks approximation output file in standard IGLib format.
Definition: NeuralFileConst.cs:79
virtual string CmdSetVariableToCommandResult(CommandThread cmdThread, string cmdName, string[] args)
Command. Sets the specified interpreter variable to the result of the command (with arguments) that f...
Definition: CommandlineApplicationInterpreter.cs:3078
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealBasic.cs:563
virtual IMatrix GetNewMatrix()
Creates and returns a new matrix of a type that is consistent with the type of the current vector,...
Definition: VectorBase.cs:350
virtual int NumDirectPrimitives
Gets the number of graphic primitives directly contained in this object. This does NOT include the pr...
Definition: GrObjects.cs:227
override double Value(IVector parameters)
Returns the value of this function at the specified parameter.
Definition: FunctionScalarExamples.cs:79
virtual double RefIntegral(double x)
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Definition: FunctionReal.cs:933
bool IsDataColumnDefinitionsUpdated
Whether complete information about data column definitions is up to date, including auciliary lists w...
Definition: SampledDataCsv.cs:1292
static string ToStringMath(IAnalysisResults anres)
Returns a string representation of the current analysis results object in a standard IGLib form (Math...
Definition: AnalysisResults.cs:34
string StopRequest
Request that causes the server stop listening and closing the pipe.
Definition: ClientServerStreamBase2_Copy.cs:242
static void KillFirstApplication(string processName, bool caseSensitive, bool isFullString)
Kills the first running application found that has the specified process name.
Definition: UtilSystem.cs:1313
override void CopyToPlain(ref MappingDefinition obj)
Definition: NeuralMapData.cs:219
double Y
2nd component.
Definition: Vector2Dclass.cs:354
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: NeuralTrainingParameters.cs:1562
double GetMaxPenaltyTerm(IPenaltyEvaluator evaluator)
Returns sum of the penalty terms corresponding to all constraint, calculated by the specified penalty...
List< FrameType > StackFrames
A list of stack frames existent in the current thread.
Definition: CommandlineApplicationInterpreterBase.cs:1662
Maps scalar values [0, 1] to RGBA colors using predefined color maps.
Definition: ColorMap.cs:18
override string ToString()
Just calls ToStringMtl.
Definition: MaterialProperties.cs:69
Definition: FunctionScalarParametric.cs:62
int bracketIndex(char c)
Index of the specified character among open or closed brackets, or 0 if the character does not repres...
Definition: StringParser.cs:477
Represents a real number.
Definition: Scalar.cs:400
Base class for loadable scripts that define scalar functions of several variables.
Definition: ScalarFunctionScriptBase.cs:21
virtual void Interactive(string message)
Starts interactive interpreter.
Definition: InterfaceInv.cs:273
static bool IsProcessRunning(string processName, bool isFullString, bool caseSensitive)
Returns true if at least one process with the specified name is running, false otherwise.
Definition: UtilSystem.cs:740
bool CalculatedValue
Indicates whether calculation of function value is/was requested.
Definition: FunctionScalarResultsInt.cs:216
static object _lockIdThread
Definition: CommandlineApplicationInterpreterBase.cs:1784
Parameterized real-valued functions of single variable.
Definition: FunctionRealParametric.cs:63
Cartesion parameterization of a curve in 3D. Beside the Curve and (optional) CurveDerivative,...
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:21
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:770
override bool InverseDefined
Whether calculation of inverse function is implemented.
Definition: RealFunctionScriptBase.cs:248
Complex Multiply(Complex c)
Multiplies the current complex number by c and returns the result.
Definition: Complex.cs:489
const int MinPasswordSaltLength
Minimal salt length for key derivation.
Definition: UtilCryptoAux.cs:261
static void SetRandomPositiveDiagonallyDominantSymmetric(IMatrix mat, double dominancyFactor)
Sets the specified matrix such that it is has random elements and is symmetric diagonally dominant wi...
Definition: MatrixBase.cs:1212
static double truncate(double a)
Calculates the integral part of a specified number.
Definition: UtilMath.cs:875
static string _defaultMessagePrefix
Definition: ClientServerStreamBase_Copy.cs:77
bool _determinantCalculated
Definition: MatrixDecompositions.cs:1216
override int Length
Gets dimension of the vector.
Definition: Vector.cs:256
virtual IAffineTransformation Transformation
Transformation of parameters. Actual function is evaluated as some reference function evaluated at in...
Definition: FunctionScalarBase.cs:50
int _outputLevel
Default level of output for some of the interpreters' functionality (e.g. asynchronous command execut...
Definition: ExpressionEvaluatorCompiled.cs:58
Definition: ReflectionTypeConverterTests.cs:189
string[] GradientDefinitionStrings
Expressions that defines function gradient components.
Definition: ScalarFunctionScriptLoader.cs:484
ScalarFunctionRadial(IRealFunction function)
Constructor. Creates a new radial function without specifying coordinate transformation.
Definition: FunctionScalarRadial.cs:37
string _documentDescription
Definition: HtmlWriter.cs:192
static string GetWorkspaceProjectsDirectoryPath()
Returns the workspace projects directory, which is primarily located through the workspace directory ...
Definition: UtilSystem.cs:4474
double EndParameter
Typical end value of the parameter φ of the parametric curve that represents the curve....
Definition: ICurve2DPolarParameterization3D.cs:31
override bool InverseDefined
Definition: FunctionRealBasic.cs:628
virtual List< IMatrix > Hessians
Functions' Hessians (matrices of second derivatives). If CopyReferences=true (false by default) then ...
Definition: FunctonVectorResults.cs:423
virtual bool GetNull()
Returns a flag indicating whether the object represented by the current DTO is null.
Definition: SerializationDtoBase.cs:479
Matrix3d GetNewThis()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix3DClass.cs:536
CommandLineJobContainer(ICommandLineApplicationInterpreter interpreter, string commandName, string[] commandArguments)
Constructs a new interpreter command data.
Definition: CommandlineApplicationInterpreterBase.cs:69
int Length
Definition: IParsable.cs:16
IBoundingBox _outputNeuronRange
Definition: NeuralTrainingParameters.cs:200
AnalysisResults _analysisPoint
Definition: OptFileAnalysisClient.cs:79
int Dimension
Dimension of the bounding box.
Definition: BoundingBoxDto.cs:52
DataMapperSimple(MappingDefinition definition, InputOutputDataDefiniton dataDefinition)
Definition: NeuralMapData.cs:1005
override string ToString()
Returns a string representation of the current job dispatcher, which contains relevent data about the...
Definition: ParallerJobDispatcherBase.cs:909
void SetNeuralOutputReady()
Sets the falg that indicates that the approximation output data is ready.
Definition: NeuralFileManager.cs:592
int TestDelaySingleMs
Single test delay interval in milliseconds.
Definition: ParallelJobContainerBase.cs:303
void SetMin(int componentIndex, double min)
Sets minimal value for the specified coponent of the bounding box.
List< SampledDataElement > GetInputDistanceSortedElemetnList(IVector referencePoint, DistanceDelegate distanceFunction)
Creates and returns a list of all sampled data elemets of the current object that are sorted accordin...
Definition: SampledData.cs:154
string[] GetLoadableScriptReferencedAssemblies()
Returns an array of assemblies that are currently referenced by the script loader that takes care of ...
Definition: CommandlineApplicationInterpreter.cs:2945
static string _defaultKeyElementTypeOutput
Definition: SampledDataCsv.cs:85
static double log10(double a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:416
Interface for optimization algorithms. $A Igor Feb10;
Definition: Optimizer.cs:15
override double Norm
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2DClass.cs:543
static bool IsClassFullNameUsed(string classFillName)
Returns a flag indicating whether the specified class full name has already been used or not.
Definition: Loader.cs:412
Interface for helper classes that perform serialization/deserialization of objects.
Definition: SerializerBase.cs:31
static AsymmetricAlgorithm GetAsymmetricEncryptionAlgorithm(AsymmetricAlgorithmType algorithmType)
Returns the appropriate asymmetric algorithm according to the specified hash type,...
Definition: UtilCrypto.cs:3836
virtual void UpdateThreadPriorityFromSystem()
Updates thread priority (property ThreadPriority) to the current global thread priority (the UtilSyst...
Definition: ParallerJobDispatcherBase.cs:603
ColorScale(double minValue, double maxValue, int numCells, params color[] definitionColors)
Constructor. Creates a discrete scale with the specified number of cells.
Definition: ColorScale.cs:218
void SetBounds(int componentIndex, double min, double max)
Sets minimal and maximal value for the specified coponent of the bounding box.
void Set(StringBuilder sb)
Definition: StringParser.cs:514
void ModelParameter_CreationWithTitleSpecified_TitleIsCorrect()
Definition: ModelParameterTests.cs:155
void Log(ReportType messagetype, string location, string message)
Adds a new log record initialized according to parameters.
Definition: LoggerMsg.cs:648
string KeyElementTypeOutput
A keyword string for output element type in the CSV file containing sampled data and / or data defini...
Definition: SampledDataCsv.cs:480
static string[][][] StringJaggedArray3x2x4
Sample 2D jagged array of strings (type string[][][]), for use in tests. Array's shape corresponds to...
Definition: SampleCollections.cs:152
static volatile int _outputLevel
Definition: Utils.cs:156
static void MultiplyTranspMatTransp(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B*C^T. Multiplies three matrices (transposed first argument, second argument,...
Definition: MatrixBase.cs:3286
const string CryptoGetInitializationVector
Definition: ScriptAppBase.cs:1279
int _currentIndex
Definition: VectorBase.cs:158
virtual double MapOutput(int componentIndex, double value)
Maps (scales and shifts) and returns specific output value to the output value of the corresponding o...
Definition: NeuralApproximatorBase.cs:1900
double ToleranceRmsRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on RMS errors of outputs can be set to...
Definition: NeuralApproximatorBase.cs:1016
bool _TextLoggerFlushing
Definition: ReporterMsg.cs:4792
virtual Color GetFillColor(int which)
Returns the specified fill color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:256
Definition: NeuralFileConst.cs:16
const int DefaultSaltLength
Default salt length.
Definition: UtilCryptoAux.cs:276
void CopyFromBase(BaseType obj)
Copies data to the current DTO from an object of type BaseType.
static mat2 operator-(mat2 a)
Unary negation for 2D matrices, returns the negative operand.
Definition: Matrix2D.cs:812
void SetValuesReference(List< double > reference)
Sets the list of function values. Only the list reference is copied.
abstract bool HasDerivativeCylindrical
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:34
int OutputLength
Gets or sets the number of output neurons.
Definition: SerializationDtoNeural.cs:41
void GetInputRange(ref IBoundingBox bounds)
Calculates range of input parameters of the current sampled data set, and stores it to the specified ...
Definition: SampledData.cs:374
LoadableScalarFunctionBase CreateScalarFunction(IAffineTransformation transf)
Creates and returns an instance of dynamically compiled scalar function object, where the scalar func...
Definition: ScalarFunctionScriptLoader.cs:1076
void WriteToConsole()
Writes data about the current object to console. Normally, ToString() will be used for that,...
Definition: SimKosecFileManagerBase.cs:1596
const string ArgCertificatePassword1
Specification that certificate password (for access to private key) follows.
Definition: UtilCryptoAux.cs:386
void Gradient1(double x, double y, out double gradx, out double grady)
Calculates gradient of the first component of the current function and returns its components through...
bool _anFormatJson
Definition: OptFileManager.cs:628
Paraboloid(double a)
Constructs a rotationally symmetric paraboloid.
Definition: Function3d2d.cs:860
JsonSerializerOptions Create(bool writeIndented=LibDefaultWriteIndented)
Creeates and returns a JsonSerializerOptions object with this library's standard connfiguration for N...
Definition: JsonSerializationOptionsFactory.cs:98
vec3
Definition: StructuredMesh3D_04.cs:41
static double min(double a, double b)
Smallest of two numbers.
Definition: UtilMath.cs:169
static char RandomChar(IRandomGenerator rndgen=null)
Returns a random character that is either a capital letter (A-Y) or a small letter (a-z)....
Definition: UtilString.cs:457
const string ArgDecrypt1
Specifies that decryption is performed, rather than encryption.
Definition: UtilCryptoAux.cs:310
List< TWClass > Writers
Definition: ReporterMsg.cs:3982
Type SourceType
Definition: SingleTypeConverterBaseGeneric.cs:21
static void DecryptFilePlain(string inputFilePath, string outputFilePath, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the data from the specified input file by a symmetric encryption algorithm and writes decryp...
Definition: UtilCrypto.cs:2953
virtual void ReportError(string errorString)
Used in the current class to report an error.
Definition: UilCryptoAux1.cs:38
ReportDelegate ReportDlgTextWriter
Delegate that performs reporting (actually logging) via text writer.
Definition: ReporterMsg.cs:4668
static vec3 operator/(vec3 a, double b)
Vector subtraction.
Definition: Matrix3D.cs:313
UnstructuredMesh3d(int length)
Constructs a new 3D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh3d.cs:34
double _outputBoundsSafetyFactor
Definition: NeuralApproximatorBase.cs:1430
override void Gradient(double x, double y, out double gradx, out double grady)
Function for calculating function gradient, just throws the NotImplementedException exception.
Definition: Function2d.cs:100
static char _defaultMessageSeparator
Definition: ClientServerStreamBase_Copy.cs:103
virtual IVector GetNewVector(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: MatrixBase.cs:404
static double DefaultOutputSafetyFactorMin
Default value for minimum output bound safety factor value in neural networks.
Definition: NeuralTrainingParameters.cs:1251
virtual int CommandArgumentCount
The number of current argument.
Definition: InterfaceInterpreterBase.cs:261
static double Artanh(double x)
Inverse hyperbolic tangent.
Definition: UtilMath.cs:1295
virtual string ZType
Definition: ScalarFunctionDto.cs:107
static void TestCholeskyDecompositionDemo()
Demonstration of usae of Cholesky decomposition.
Definition: MatrixBase.cs:7070
Represents a structured quadrilateral mesh in 3D space.
Definition: StructuredMesh3D_03.cs:14
void CalculateVerificationOutputs()
Calculates outputs in verification points of the training data set.
Definition: NeuralApproximatorBase.cs:2091
int NumEqualityConstraints
Number of equality constraints.
Definition: OptimizationInputData.cs:133
byte[] PasswordBytes
Password, in form of byte array, to be used in generation of keys, initialization vectors,...
Definition: UtilCryptoAux.cs:745
virtual bool CalculatedGradients
Indicates whether calculation of functions' gradients is/was requested.
Definition: FunctonVectorResults.cs:727
void RoundTripConversion_ShouldWorkForGuid()
Definition: ToStringTypeConverterViaJsonTests.cs:48
Base class for interface with simulator of G. Kosec for convection problems in a cave with obstacles.
Definition: SimKosecFileManager.cs:15
override double f2(double u, double v)
Definition: Function3d2d.cs:1031
Type _evaluatorType
Definition: ExpressionEvaluatorCompiled.cs:185
PointType CreateRandomPoint(IBoundingBox bounds)
Creates and returns a new point with random co-ordinates that fall within the specified bounds (inclu...
Definition: PointCloud.cs:300
static readonly PhysicalConstant RydbergConstant
Rydberg constant, wavenumber of the lowest-energy photon capable of ionizing the hydrogen atom from i...
Definition: Constants.cs:556
bool CheckInputNameConsistency
Definition: NeuralMapData.cs:173
bool CalculatedObjective
Flag indicating whether calculation of objective function is required or not.
Definition: AnalysisResultsDto.cs:245
TIndexField AddIndexField(string fieldName, string fieldDescription)
Creates a new index field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: StructuredMesh3dGeneric.cs:176
static SerializerJsonBase Global
Gets a global helper object for JSON serialization.
Definition: SerializerJson.cs:126
Definition: SpeedTests.cs:26
Definition: TestBase.cs:8
bool _hessianDefined
Definition: ScalarFunctionScriptBase.cs:100
static void FromByteArray(byte[] bytes, out float val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2351
bool ContainsCommand(string commandName)
Returns true if the specified command is installed on the interpreter, false if not.
NamedPipeServerBase()
Prevent default constructor.
Definition: NamedPipes_Copy.cs:32
Vector3d(IVector vec)
Constructs a 3D vector from another vector.
Definition: Vector3Dclass.cs:249
RosenbrockGeneralizedExhaustive(IAffineTransformation transf)
Creates a new transformed Rosenbrock's function.
Definition: FunctionScalarExamples.cs:866
string Name
Definition: ModelParameter.cs:17
IAnalysis _analysis
Definition: Optimizer.cs:241
static readonly PhysicalConstant kg
Kilogram, the basic SI unit of mass.
Definition: Constants.cs:818
string NetworkStateFilePath
Path where the curren network state has been saved, or null if the current state has not been saved y...
Definition: NeuralApproximatorBase.cs:1353
abstract void Gradient2(double x, double y, out double gradx, out double grady)
Calculates gradient of the second component of the current function and returns its components throug...
IG.Num.M F
Definition: Geometry3d.cs:23
string _evaluationCommand1
Definition: ExpressionEvaluatorCompiled.cs:340
override MatrixBase GetNewBase()
Creates and returns a new matrix with the same dimensions and of the same type as the current matrix.
Definition: Matrix.cs:841
void AddCommand(string appName, ApplicationCommandDelegate appMain)
Adds command with the specified name.
static void SetRandomSymmetric(IMatrix mat)
Sets the specified matrix such that it is symmetric and contains random elements on the interval (0,...
Definition: MatrixBase.cs:944
Thread _workingThread
Definition: ClientServerStreamBase2_Copy.cs:842
double NextGaussian(double mean=0, double sigma=1)
Obtains normally (Gaussian) distributed random numbers, using the Box-Muller transformation....
Definition: RandomGaussian.cs:65
void someMethod()
Definition: StringParser.cs:31
static void LuSolveNoPermutationsPlain(IMatrix luMatrix, IVector b, IVector x)
Solves a system of equations with the specified LU decomposition with already permuted b.
Definition: MatrixBase.cs:5372
static bool IsWindowsOs
Returns true if the operating system is a Windows variant, false otherwise.
Definition: UtilSystem.cs:302
Tkey _key
Definition: Utils.cs:3143
Example classes of type Func2dBase.
Definition: Function2d.cs:604
delegate string ApplicationCommandDelegate(ICommandLineApplicationInterpreter interpreter, string commandName, string[] args)
Delegate for commands that are installed on interpreter.
double _tolerance
Definition: OptimizationInputData.cs:237
double Value
Value of the function.
Definition: FunctionScalarResultsInt.cs:82
Constant(double constantValue, double Kx, double Sx, double Ky, double Sy)
Constructs a new constant function.
Definition: FunctionRealBasic.cs:534
virtual void AddEnterExitCommands_BeginCalc(CommandStackFrame frame)
Adds block enter/exit commands for the "BeginCalc" block to the specified stack frame.
Definition: CommandlineApplicationInterpreter.cs:681
string _executablePath
Definition: SimKosecFileManagerBase.cs:270
vec3 SurfaceDerivative1(double u, double v)
Defines the derivative of Surface with respect to the first parameter. In each point on the surface (...
Definition: Sphere.cs:40
virtual IMatrix GetConstraintHessian(int which)
Returns Hessian of the specified constraint function.
Definition: AnalysisResults.cs:753
WaitDirectoryRemovalByProxy(string directoryPath)
Definition: WaitConditionFile.cs:963
CommandStackFrame GlobalFrame
Global frame where global variables are stored.
Definition: CommandlineApplicationInterpreter.cs:229
static double deg(double x)
Converts angle in radians to angle in degrees and returns it.
Definition: UtilMath.cs:439
const string ArrayIndentation
Default indentation used in the string representation of array-like objects. Corresponds to DefaultIn...
Definition: CollectionExtensions.cs:49
ScalarFunctionScriptController(int length)
Creates a DTO for storing a scalar function object of any vector type, with specified dimension.
Definition: ScalarFunctionScriptController.cs:1175
static bool IsRegisteredAssemblyResolveHandler
Whether this class' event handler for resolving assembly loading is registered or not.
Definition: UtilSystem.cs:2664
bool CalculatedObjectiveHessian
Flag indicating whether calculation of objective function Hessian is required or not.
Definition: AnalysisResultsDto.cs:261
static void SaveCsv(string filePath, string[][] values, bool append)
Saves a 2D jagged array of string cell values into a CSV file. Constant UtilCsv.DefaultCsvSeparator i...
Definition: UtilCsv.cs:424
static double pow5(double x)
5th power.
Definition: UtilMath.cs:352
void AllocateGradientsList()
Allocates space for list of function gradients.
virtual TTensorField CreateTensorField(string fieldName, string fieldDescription)
Creates and returns a new tensor field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh2dGeneric.cs:609
static void TestFunction(IFunc2d f)
Demonstrates use of a 2D function by printing to the console 5 values and gradients of the function o...
Definition: Function2d.cs:271
object _obj
Definition: ReporterMsg.cs:3053
static void SaveRequestJson(AnalysisResults anResults, string filePath, bool append)
Saves (serializes) the specified analysis request to the specified JSON file. If the file already exi...
Definition: AnalysisResults.cs:1917
CommandThread _globalThread
Definition: CommandlineApplicationInterpreter.cs:223
bool ReqGradients
Indicates whether calculation of functions gradients is/was requested.
Definition: FunctionVectorResultsInt.cs:266
static void LoadJson(string filePath, ref IVector vecRestored)
Restores (deserializes) a vector from the specified file in JSON format.
Definition: VectorBase.cs:3001
bool IsApproximatelyInt(double tolerance=0.0)
Similar to IsApproximatelyInteger(double), except that the real part Re must also be within the range...
Definition: Complex.cs:311
ScalarFunctionOneParametric()
Default constructor is inaccessible because it has no meaning.
Definition: FunctionScalarParametric.cs:149
delegate string CommandMethod(string commandName, string[] args)
Delegate for internal command methods.
override NeuralTrainingLimits CreateObject()
Creates and returns a new object of the corresponding type.
Definition: SerializationDtoNeural.cs:864
string[] _parameterNames
Definition: ScalarFunctionScriptController.cs:181
override bool HasDerivativePolar
Definition: ConicalSpiralFermats3D.cs:67
virtual InputFieldDefinition GetInputFieldDefinition(int fieldId, string fieldName, string fieldDescription)
Returns an input field definition that corresponds to the specified field ID and field name....
Definition: SimKosecFileManagerBase.cs:957
void AddImage(string imageLink, string altText, string captionText, int width, int height, bool defineSize)
Adds a linked image to the HTML document.
Definition: HtmlWriter.cs:815
object ParseFromString(string source, string format, int position, out int next)
Definition: Vartypes.cs:76
virtual string CmdIf(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3696
abstract StreamWriter OutputStream
Output stream reader of the server's named pipe.
Definition: IpcStreamClientServerBase2.cs:108
int Dimension
Gets dimension of the bounding box space.
Definition: BoundingBox.cs:30
static void FromByteArray(byte[] bytes, out double val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:2402
double[][] _elements
Matrix elements.
Definition: Matrix.cs:544
bool IsInfinity
Indicates whether the current Counter represents infinity.
Definition: Scalar.cs:467
string _msgNeuralInputReadyFilename
Definition: NeuralFileManager.cs:154
virtual string CmdNameSetVarVector
Command name - setting a vector variable.
Definition: InterfaceInv.cs:114
Matrix2d(Matrix2d m)
Copy constructor. Initializes components of a 2D matrix with components of another 2D matrix.
Definition: Matrix2DClass.cs:36
const string CryptoEncryptBasic
Definition: ScriptAppBase.cs:1191
bool TryConvert(object source, out object target, Type targetType)
virtual double NextDouble(double minValue, double maxValue)
A double-precision floating point number greater than or equal to the specified minimum,...
Definition: Random.cs:348
SingularValueDecomposition(Matrix_MathNetNumerics A)
Constructor.
Definition: MatrixDecompositions.cs:1422
void SubtractVector(IVector< ElementType > b, IVector< ElementType > result)
Definition: VectorBase.cs:289
void ModelParameter_CreationWithNameAndType_ShouldNotBeConstant()
Definition: ModelParameterTests.cs:61
bool SecondDerivativeDefined
Whether calculation of function second derivative is implemented.
Definition: RealFunctionScriptLoader.cs:155
override void Init()
Initializes internal variables. Called at the beginning of all constructors.
Definition: SimKosecFileManager.cs:53
virtual void ThreadMethod()
Definition: WaitConditionFile.cs:93
double[] Params2
Definition: StructuredMesh3D_03.cs:21
override double f3(double u, double v)
Definition: Function3d2d.cs:1442
int NumHiddenLayers
Gets or sets the number of hidden layers of the neural network (these are layers that don't contain i...
Definition: NeuralApproximatorBase.cs:52
string _filename
Definition: ReporterMsg.cs:3575
StructuredMesh3d(int dimx, int dimy, int dimz, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy, double minz, double maxz)
Constructs a 3D (unconnected) unstructured grid based on regular grid with grid direction parallel to...
Definition: StructuredMesh3d.cs:77
static string[][] LoadCsv(string filePath)
Reads contents of a CSV file and returns a 2D jagged array of strigg values contained in the file....
Definition: UtilCsv.cs:383
static xdouble ln(xdouble a)
Returns the natural (base e) logarithm of a specified number.
Definition: UtilMath.cs:1714
static void Indices(IMatrix mat, int flatIndex, out int row, out int column)
Returns (through output arguments) row and column indices corresponding to the specified flat index i...
Definition: MatrixBase.cs:540
Base class for easy definition of parametric surfaces intended for plotting.
Definition: Function3d2d.cs:708
bool PerformDownSizing
Flag specifying whether capacity can be reduced on removal operations which would generate large exce...
Definition: SortedUniqueItemList.cs:144
virtual void RunCommand()
Executes the command that is represented by the current command data, and stores the results.
Definition: CommandlineApplicationInterpreterBase.cs:183
string _TextWriterProgramName
Definition: ReporterMsg.cs:3988
Jint.Engine _jsEngine
Definition: ExpressionEvaluatorJint.cs:103
string ObjectName
Definition: SerializerBase.cs:637
override bool AreEqual(char ch1, char ch2)
Definition: ParsableFromString.cs:12
UnStructuredMesh2d(int dimx, int dimy, string fieldName, string fieldDescription, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Constructs a 2D structured grid by transformation of co-ordinates of a regular equidistant grid in XY...
Definition: test_to_delete.cs:101
static void ClearDefaultAssemblies()
Clears the list of assemblies that are referenced by default by newly created script loaders.
Definition: Loader.cs:363
string _name
Definition: FieldGeneric.cs:48
static bool IsSquare(IMatrix mat)
Returns true if the specified matrix is a square matrix, and false if not. If the matrix is null then...
Definition: MatrixBase.cs:1325
readonly string Command_EndWhile
Definition: CommandlineApplicationInterpreter.cs:654
virtual int Index1
Definition: SerializerBase.cs:684
static List< CommandLineApplicationInterpreter > _interpreters
Definition: CommandlineApplicationInterpreter.cs:213
LogRecord CreateWarning(string message, Exception ex)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:260
void AddScalarField(TScalarField field)
Adds the specified scalar field to the collection of scalar fields.
Definition: StructuredMesh3dGeneric.cs:355
double[] _parameters
Definition: FunctionReal.cs:1391
void StoreDefinition(bool clearFirst)
Stores definition data to the data table.
Definition: SampledDataCsv.cs:1460
const string ArgDeleteAllVersions
Specifies that all versions of a single file are deleted in the cleaning operation.
Definition: UtilCryptoAux.cs:644
void AllocateGradients()
Allocates space for function gradients (including for the list, if necessarty).
static readonly PhysicalConstant HartreeEnergy
Hartree energy, the absolute value of the electric potential energy of the hydrogen atom in its groun...
Definition: Constants.cs:572
const string ArgBinaryInputFormatLongInt1
Binary input format used is long int.
Definition: UtilCryptoAux.cs:541
bool isSpace(char c)
Whether the specified character represents a space for the current parser.
Definition: StringParser.cs:442
string _styleString
Definition: HtmlWriter.cs:167
double R
Radius of the larger (in regular tori) generating circle, around which the coross-section circle is m...
Definition: Torus.cs:35
static void SaveCsv(IVector vec, string filePath, string separator)
Saves the specified vector to a CSV file. It the specified file already exists then it is overwritten...
Definition: VectorBase.cs:3024
int _numParameters
Definition: AnalysisResultsDto.cs:41
StringBuilder StringBuilderInternal
Definition: ClientServerStreamBase_Copy.cs:382
static double StandardDeviation(IVector sample)
Returns estimation of the standard deviation of a random value based on the specified sample.
Definition: UtilMath.cs:89
SortedList< string, ILoadableScript > Commands
Sorted list that contains commands as key-value pairs where the key is command name and the correspon...
Definition: LoadableScriptInterpreter.cs:86
ScalarFunctionScriptDto(int dimension)
Creates a DTO for storing a scalar function object of any vector type, with specified dimension.
Definition: ScalarFunctionDto.cs:185
int Value
Definition: ReflectionTypeConverterTests.cs:182
static bool _dynamicThreadPriority
Definition: UtilSystem.cs:1987
virtual void SetGradient(int which, int index, double value)
Sets the specified fuction gradient component.
Definition: FunctonVectorResults.cs:410
bool isOpenBracket(char c)
Whether the specified character represents an open bracket for the current parser.
Definition: StringParser.cs:453
virtual bool CanSetBarrierLength(int which)
Returns a flag that tells whether characteristic barrier length can be set for the penalty function o...
Definition: AnalysisResults.cs:2543
virtual object ValueObject
Definition: ModelParameter.cs:165
vec3 Position
Position of the light (for Point, Spot, and Area lights).
Definition: LightingDefinition_05.cs:35
override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
Definition: ApproxBasis.cs:424
static void MultiplyMatMatTranspPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A*B*C^T. Multiplies three matrices (first argumet, second argumet, and transposed third argument) a...
Definition: MatrixBase.cs:3567
static object LockIdCommandLine
Lock used for acquiring IDs.
Definition: CommandlineApplicationInterpreterBase.cs:115
override MatrixBase GetNewBase(int rowCount, int columnCount)
Creates and returns a new 3D matrix with the specified dimensions, and of the same type as the curren...
Definition: Matrix3DClass.cs:525
RealFunctionOneParametric(double parameter)
Cobnstructor. Creates a new one parametric function with the specified parameter.
Definition: FunctionRealParametric.cs:146
static byte[] GetHashBytes(byte[] bytesToHash, HashType hashType, HashAlgorithm cryptoAlgorithm=null)
Computes and returns the hash (in form of byte array) of the specified kind of the specified byte arr...
Definition: UtilCrypto.cs:648
const string VarNameDerivativeDefined
Name of the variable (internal in class defined in loadable script) that holds a flag telling whether...
Definition: RealFunctionScriptLoader.cs:125
const string KeyTextWriterProgramName
Definition: ReporterMsg.cs:2321
void AddHeading3(string headingText, params string[] attributeNameValuePairs)
Adds a new level 3 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:714
abstract void CloseOutput()
Closes the outut stream.
override string Description
Returns a short description of the function.
Definition: FunctionScalarExamples.cs:1045
virtual bool ReqConstraints
Indicates whether calculation of constraint functions is/was requested.
Definition: AnalysisResults.cs:990
Interface for classes that implement blocking until a specified condition is met.
Definition: WaitCondition.cs:18
void ModelParameter_CreationWithTitle_TitleIsDefinedAndContinsName()
Definition: ModelParameterTests.cs:128
int _numy
Definition: Mesh.cs:224
Contains input data and results of a parallel job to be executed, oropertied indicating the state of ...
Definition: ParallelJobContainerBase.cs:43
List< double > _EpochErrorsRms
Definition: NeuralTrainingParameters.cs:615
static xdouble operator++(xdouble a)
Definition: UtilMath.cs:1426
static void GenerateCoordinates(Field< vec3 > field, int dimx, int dimy, int dimz, double minxRef, double maxxRef, double minyRef, double maxyRef, double minzRef, double maxzRef, IFunc3d fx, IFunc3d fy, IFunc3d fz)
Generates coordinates of a 3D unstructured grid of a parametric volume according to functions specify...
Definition: FieldGeneric.cs:613
static void SaveBinary(object objectToSave, string fileName)
Save the specified serialized object in binary form to the specified file.
Definition: UtilSystem.cs:5614
abstract double EndParameter
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:55
Definition: IsExternalInit.cs:9
abstract string RunThis(string[] arguments)
Performs the action of this object. Override this in derived classes!
string AuthorAddress
Gets complete developer's address (combination of individual address lines).
Definition: App.cs:883
void Update(params Vector2d[] points)
Updates the bounding box in such a way that all specified points fit in it.
Definition: BoundingBox.cs:1772
static int SkipInteger(string str, int beginpos, bool skipspaces, bool failiffloatingpoint)
Returns index of the first character in str after the representation of an integer number.
Definition: StringParser0.cs:193
virtual string Name
Scalar function name.
Definition: VectorFunctionScriptController.cs:63
static object Parse(string strValue, Type propertyType)
Converts a string to the entity of the specified type and returns that entity, by using invariant cul...
Definition: Utils.cs:2814
static void LoadRequestJson(string filePath, ref AnalysisResults anResultsRestored)
Restores (deserializes) analysis request from the specified file in JSON format.
Definition: AnalysisResults.cs:1928
static mat3 operator/(mat3 a, double b)
Division of a 3D matrix by a scalar.
Definition: Matrix3D.cs:1027
const string ArgCertificateStoreLocation
Specification that certificate store location (current user or local machine) follows.
Definition: UtilCryptoAux.cs:406
bool IsRegistered(int id)
Returns true if object with the specified ID is already registered with the current object,...
Definition: ObjectRegister.cs:73
void AddModule(Module m)
Adds the specified module to the application's list of modules.
Definition: App.cs:323
void RemoveScalarField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh2dGeneric.cs:367
Base class for scalar functions with affine transformation of co-ordinates. The reference function is...
Definition: FunctionScalarBase.cs:17
string astr
Definition: App.cs:915
Vector GetCopyThis()
Creates and returns a copy of the current vector, which is of the same type as the current vector.
Definition: Vector.cs:447
mat3 Normalized1()
Returns this matrix normalized with 1 norm.
Definition: Matrix3D.cs:687
object _mainLock
Definition: ParallelJobServerBase.cs:47
virtual void AppendLine(string str)
Appends a literal string to the contents of the command file.
Definition: InterfaceInterpreterBase.cs:355
bool IndentedJson
If true, JSON output is formatted with indentation. Default is false.
Definition: ToStringTypeConverterViaJson.cs:18
double _c
Definition: Function2d.cs:464
static ColorRGBA Map(double u, ColorMapType type)
Gets a color for a normalized scalar input u ∈ [0, 1].
Definition: ColorMap.cs:24
static void ExampleUsage()
Demonstrates use of the method.
Definition: IParserHelper.cs:77
string ActiveIndexFieldName
Gets or sets name of the currently active index field. This determines the currently active index fie...
Definition: UnstructuredMesh1dGeneric.cs:108
char _separator
Definition: InterpreterCommandLine.cs:336
static double sh(double a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:501
bool DoSaveCommands
Whether commands are saved to the command store in the current code block.
Definition: CommandlineApplicationInterpreterBase.cs:1266
virtual int NumDirectChildObjects
Gets the number of child objects of the current element (descendants of higher leval are excluded).
Definition: GrObjects.cs:189
double LinearCombinationSecondDerivative(IVector parameters, IVector coefficients, int rowNum, int columnNum)
Returns the specified component of Hessian of combination of functions contained in this vector funct...
Definition: FunctionVectorBaseGeneral.cs:520
virtual void EndAnalysisBlock()
Appends end of analysis block to the interpreter file contents.
Definition: InterfaceInv.cs:263
string FunctionsSeparator
Separator string that is used to separate function definitions when stated in a single state.
Definition: ScalarFunctionScriptController.cs:576
void StoreDefinition()
Stores data definitions to the data table.
Definition: SampledDataCsv.cs:1935
static bool Read(ref string value)
Reads a string from a console and assigns it to a variable. User can input a ? to see current content...
Definition: UtilConsole.cs:359
virtual void SaveCompleteCode(string filePath, bool append)
Prints the complete code inserter up to this moment.
Definition: ExpressionEvaluatorCompiled.cs:436
bool Contains(T item)
Definition: SampleClasses.cs:471
static void SetRandomAntiSymmetric(IMatrix mat)
Sets the specified matrix such that it is antisymmetric and contains random elements on the interval ...
Definition: MatrixBase.cs:981
double LinearCombinationValue(IVector parameters, IVector coefficients)
Returns value of linear combination of functions contained in this vector function,...
Definition: FunctionVectorBaseGeneral.cs:438
static RealFunction GetWeightPol4()
Creates and returns a new real polynomial weighting function object based on 4th order polynomial....
Definition: FunctionRealWeight.cs:646
static double _defaultLowerBound
Definition: ScalarFunctionScriptController.cs:776
ResultType _result
Definition: ParallelJobContainerGen.cs:112
void RemoveIndexField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh2dGeneric.cs:206
override string RunThis(string[] arguments)
Script execution, defined just for formal reasons.
Definition: ScalarFunctionScriptBase.cs:40
static string EncryptStringBasic(string stringToEncrypt, byte[] passwordBytes, byte[] passwordSalt, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.Default, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, PasswordAlgorithmType pwdType=PasswordAlgorithmType.Default, int pwdNumIterations=1000, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the specified string, using the specified symmetric algorithm, key, and initialization vecto...
Definition: UtilCrypto.cs:2098
IVector GetParameters()
Returns vector of optimization parameters.
override void MapInput(IVector reducedInput, ref IVector originalInput)
Transfer elements from reducedInput vector to original output vector using mapping data for reference...
Definition: NeuralMapData.cs:1108
string InverseDefinitionString
Expression that defines function inverse.
Definition: RealFunctionScriptLoader.cs:329
Vector3d Normalized2()
Normalizes this 3D vector in 2 norm.
Definition: Vector3Dclass.cs:429
static void MultiplyInverseDiagonalPlain(IMatrix a, IVector diag, IMatrix result)
Right-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified r...
Definition: MatrixBase.cs:4679
virtual double RefDerivative(double x, int order)
Returns the derivative of the given order of reference (untransformed) function.
Definition: FunctionReal.cs:913
static bool DefaultEnableRangeTolerance
Flag for enabling toelrance that represent a percentage of the output range.
Definition: NeuralTrainingParameters.cs:1294
TScalarField ActiveScalarField
Gets active scalar field. Has protected setter.
Definition: StructuredMesh2dGeneric.cs:244
const string ConstDefaultTestScrip
Default command name for test method.
Definition: LoadableScriptBase.cs:434
HyperbolicParaboloid(double a, double b, double c)
Constructs a scaled hyperbollic paraboloid.
Definition: Function3d2d.cs:838
void AddEscapeSequence(char code, char character)
Adds a new escape sequence definition to the parser.
Definition: StringParser.cs:221
const string ArrayBracketOpen
Open bracket used in the string representation of array-like objects.
Definition: CollectionExtensions.cs:39
XmlNode GetNextElement(string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:1597
static void LoadCsv(string filePath, int rowNum, ref IVector vecRestored)
Reads a vector from the specified row of a CSV file. Constant UtilCsv.DefaultCsvSeparator is used as ...
Definition: VectorBase.cs:3111
int Compare(Scalar a, Scalar b)
Definition: Scalar.cs:112
abstract void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Cloud of points, contains a list of containers of objects that include point coordinates.
Definition: PointCloud.cs:22
object _defaultValueObject
Definition: ModelParameter.cs:22
This class just hosts static methods that work with CapturedVar<DeclaredType>:
Definition: CapturedVar.cs:13
void GenerateRandomCloud(int numPoints, IBoundingBox bounds)
Generates a specified number of random points with random co-ordinates that fall within the specified...
Definition: PointCloud.cs:400
double EndParameter2
Definition: Torus.cs:84
static int DefaultSleepTimeMs
Default sleeping time, in milliseconds, used by parallel job data objects when waiting for fulfillmen...
Definition: ParallelJobContainerBase.cs:169
virtual bool ReqConstraintHessians
Indicates whether calculation of constraint functions Hessian is/was requested.
Definition: AnalysisResults.cs:998
static double rad(double x)
Converts angle in degrees to angle in radians and returns it.
Definition: UtilMath.cs:442
void SetTimeStamp()
Sets the timestamp on the timer (marks the current time). This is done automatically by Reset(),...
Definition: UtilTime.cs:225
IVector _auxVector
Definition: PointCloud.cs:292
bool HessianDefined
Whether calculation of function Hessian is defined.
Definition: Function3d2d.cs:27
bool _derivativeDefined
Definition: FunctionVectorBaseGeneral.cs:45
Structured mesh in 3D.
Definition: StructuredMesh3d.cs:15
void SetInputFieldValue(int fieldId, string fieldValue)
Sets the sepcified input field to the specified value. This is done by appending a corresponding text...
Definition: SimKosecFileManagerBase.cs:1134
InitOnlyClass(string name, int id)
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:78
override void CloseConnection()
Closes the server pipe.
Definition: IpcPipes.cs:820
ParallelServerState _state
Definition: ParallelJobServerBase.cs:156
RealFunction[] Functions
Definition: FunctionReal.cs:1401
void PrivateFields_ShouldNotBeSerializedWhenPublicConstructor()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:152
override bool HasDerivativePolar
Definition: ConicalSpiralLogarithmic3D.cs:46
Parallel job dispatcher. Accepts job requests and dispatches jobs to parallel job servers when availa...
Definition: ParallerJobDispatcherBase.cs:39
bool AppSettingsRead(string groupname)
Returns a flag that tells whether configuration settings with a given group name have already been re...
Definition: ReporterMsg.cs:2212
override bool IsWaiting
Returns true if waiting for unblocking condition is currently performed, and false otherwise....
Definition: WaitConditionFile.cs:867
int _numObjectives
Definition: AnalysisResultsDto.cs:43
string EventToString(FileSystemEventArgs e)
Definition: WaitConditionFile.cs:206
virtual string TemplateInputPath
File path of the template analysis input file. This file is transcribed, with appropriate modificatio...
Definition: SimKosecFileManagerBase.cs:308
readonly List< ParallelJobServerBase< JobContainerType > > _idleJobServers
List of idle job servers dispatched by teh current dispatcher.
Definition: ParallerJobDispatcherBase.cs:66
virtual RealFunctionBase InverseFunction
Returns a function object that represents an inverse function of this function. Returns null if not i...
Definition: FunctionReal.cs:218
void AddIndexField(TIndexField field, string name)
Adds the specified index field to the collection of index fields under the specified name.
Definition: UnstructuredMesh3dGeneric.cs:176
double alpha
Slope of the cone around which the conical curve is wound (tangent of the angle between the slope of ...
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:33
static double GeometricSeriesNumerical_DirectElementCalculation(int n, double a0, double k)
Numerically calculates and returns the specified finite geometric series by calculating each term of ...
Definition: UtilSpeedTesting.cs:128
const string ArgBinaryInputFormatHex
Binary input format used is hexadecimal.
Definition: UtilCryptoAux.cs:529
void Zero()
Sets components of the vector to 0.0.
Definition: Matrix3D.cs:58
color GetColor(double value)
Returns the color from the current collor scale that corresponds to the specified value.
virtual XmlElement ToXmlElement(object source, XmlDocument doc, ref XmlElement initial)
Creates and returns XML representation of an object.
Definition: Vartypes.cs:61
T GetNew()
Returns a newly xreated object eligible for storage in this object store. Exception is thrown if such...
Definition: UtilObjectStore.cs:262
HyperboloidTwosheetedLowerParametric(double r, double c)
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1058
List< VectorDtoBase > ErrorsRmsList
Definition: SerializationDtoNeural.cs:264
abstract int GetReferenceCellIndex(double referenceValue)
Retuns index of the cell of the discrete color scale that corresponds to the specified value in the r...
bool SetTextWriter(string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:4165
void NotifyJobAborted(ParallelJobServerBase< JobContainerType > server, JobContainerType job)
Notifies the current dispatched that the specified job has started on the specified server.
Definition: ParallerJobDispatcherBase.cs:842
void FromStringIConvertible_ShouldConvertToInt(string input, int expected)
Definition: ToStringTypeConverterViaIConvertibleTests.cs:25
double SigmoidAlphaValue
Definition: SerializationDtoNeuralApproximator.cs:54
ReporterBase rep
Definition: ReporterMsg.cs:3583
WaitFileRemovalByProxy(string filePath)
Definition: WaitConditionFile.cs:934
static void ExportMeshWireframeToObj(StructuredSurfaceMesh3D mesh, string objFilePath, string mtlFileName, string wireframeMaterialName="WireframeMaterial")
Exports only the wireframe of the mesh to an OBJ file.
ReportDelegate ReportDlg
Delegate that performs error reporting. It calls delegates ReportDlg to assemble error location infor...
Definition: ReporterMsg.cs:1193
bool _derivativeDefined
Definition: FunctionReal.cs:984
List< IAsyncResult > AsyncCommandResults
List of IAsyncResult objects that were returned by asynchronous command invocations.
Definition: CommandlineApplicationInterpreter.cs:2402
ISerializer SerializerJson
Serializer for JSON format.
Definition: OptFileManager.cs:633
void PrintNeighborDistanceStatistics(int[] numSpecimens, IVector minDistances, IVector maxDistances, IVector averageDistances, IVector standardDeviations, IVector averageAbsoluteDeviations, bool calculateDeviations)
Definition: PointCloud.cs:645
double ExecutionTime
Total execution time of the command, without the overhead generated by scheduling the command for par...
Definition: CommandlineApplicationInterpreterBase.cs:175
virtual void RemoveInputFieldDefinitions()
Definition: SimKosecFileManagerBase.cs:1109
static void SaveCsv(string filePath, string[][] values, string separator)
Saves a 2D jagged array of string cell values into a CSV file. If the file already exists then its co...
Definition: UtilCsv.cs:413
void Add(params SampledDataElement[] addedSet)
Adds array of sampled data elements to teh current sampled data set. Only references are copied.
Definition: SampledData.cs:309
void SetDimensionAndReset(int newDimension)
Changes dimension of the current bounding box to the specified dimension and resets the bounding box....
Definition: BoundingBox.cs:490
IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: AnalysisResutlsInt.cs:64
List< Module > _modules
Definition: App.cs:310
abstract object Convert(object source, Type targetType)
StructuredSurfaceMesh3D(int numPoints1, int numPoints2, bool isRegular=true)
Definition: StructuredSurfaceMesh3D.cs:43
int _momentumNum
Definition: NeuralTrainingParameters.cs:1354
int Get_HashCode1()
A candidate for object.GetHashCode() override. See also:
Definition: Complex.cs:851
static Process OpenUrlInDefaultBrowser(string url)
Opens the specified URL (Unique Resource locator, e.g. a web address) in the default browser.
Definition: UtilSystem.cs:536
override void GradientPlain(IVector x, IVector gradient)
Returns the first derivative of this function at the specified parameter.
Definition: FunctionScalarBase.cs:101
override bool ValueDefined
Definition: FunctionRealBasic.cs:82
static CommandLineJobContainer Run(CommandLineJobContainer input)
Executes the command that is represented by the current command data, and stores the results.
Definition: CommandlineApplicationInterpreterBase.cs:198
void LoadFromString(string str, bool loadifnotnull)
Loads data store'result XML Doc from an XML string.
Definition: XmlUtilities.cs:93
static IVector DefaultToleranceMax
Default value for tollerance on max. abs. error in neural networks.
Definition: NeuralTrainingParameters.cs:57
bool DerivativeDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionReal.cs:69
Exception that should be thrown by IGLib libraries and applications when the reason for an error is d...
Definition: FrameworkDependencyException.cs:15
static string _defaultParameterNamesSeparator
Definition: ScalarFunctionScriptController.cs:363
virtual bool MappedElementIndexSpecified
Specifies whether mapped element index is specified for the data element described by the mapped defi...
Definition: NeuralMapData.cs:397
override void ModuleInitializationAfter()
A method called after other initializaton parts of the module.
Definition: App.cs:101
ScalarFunctionResults(int numParameters)
Specified number of parameters, 1 objective, no constraints. No gradients required.
Definition: FunctionScalarResults.cs:39
PointType CreateRandomPoint(int spaceDimension, double minCoordinateValues, double maxCoordinateValues)
Creates and returns a new point with random co-ordinates that fall within the specified bounds (inclu...
Definition: PointCloud.cs:333
static Matrix2d operator*(Matrix2d a, Matrix2d b)
Matrix multiplication in 2D.
Definition: Matrix2DClass.cs:724
double b
Reduced shift of the helix. 2 * Pi * b is the height that is gained by each full turn of the helix.
Definition: HelixCurve3D.cs:40
double YZ
YZ component.
Definition: Matrix3DClass.cs:337
string Name
Returns a short name of the function.
Definition: FunctionVectorInt.cs:22
void DecreaseDepth()
Decreases indentation level by 1.
bool _reqGradient
Definition: FunctionScalarResults.cs:71
const string AssemblyHelpReferenced
Definition: ScriptAppBase.cs:4157
static ColorScale CreateRainbow(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that runs from violet till red color and passes rainbow co...
Definition: ColorScale.cs:723
static void DefaultReport_Trace(ReporterBase reporter, ReportType messagetype, string location, string message)
Delegat for launching a report via Trace.
Definition: ReporterMsg.cs:5757
override bool IntegralDefined
Definition: FunctionReal.cs:1374
float B
Definition: ColorRGBA.cs:9
double StartParameter1
Definition: MoebiusStrip.cs:89
static string ToJsonString< T >(this T obj, bool indent=false)
Extension method to serialize an object to a JSON string with optional indentation
Definition: CollectionExtensions.cs:71
override double SecondDerivative(IVectorFunctionResults evaluationData, int which, int rowNum, int columnNum)
Calculates and returns the particular component of the vector function's second derivative (Hessian),...
Definition: ApproxBasis.cs:84
void GetProduct(ref IMatrix product)
Calculates the product (i.e. the original matrix of coefficients of a linear system of equations) of ...
Definition: MatrixDecompositions.cs:1198
static readonly PhysicalConstant PlanckConstant
Planck'result constant, ratio between energy of a photon and the frequency of its associated electrom...
Definition: Constants.cs:394
Definition: CommandLineParserSimple.cs:61
static Assembly[] GetReferencedAssemblies()
Returns an array containing the executable assembly and all its DIRECTLY referenced assemblies....
Definition: UtilSystem.cs:2438
Provides static methods of 3D analytic geometry.
Definition: Geometry3D.cs:26
static xdouble truncate(xdouble a)
Calculates the integral part of a specified number.
Definition: UtilMath.cs:1858
TIndexField GetIndexField(string name)
Returns index field with the specified name.
Definition: UnstructuredMesh2dGeneric.cs:119
IVector InitialGuess
Gets or sets initial guess used in optimization.
Definition: OptimizationInputData.cs:191
static bool operator>(Counter a, Counter b)
Definition: Scalar.cs:528
void AddVectorField(TVectorField field)
Adds the specified vector field to the collection of vector fields.
Definition: UnstructuredMesh3dGeneric.cs:493
virtual void SaveNumStoredParameters()
Saves the current number of stored parameters on the command thread.
Definition: CommandlineApplicationInterpreterBase.cs:1997
static readonly PhysicalConstant h
Hour, non-SI unit of time, 3600 result.
Definition: Constants.cs:1089
string GetHashFunctionString()
Returns a string valued hash function of the current matrix object.
vec3 Cross(vec2 v)
Returns vector product of the current and the specified vector.
Definition: Matrix2D.cs:185
int ReferencedVariableStackLevel
Gets the stack level of the referenced variable.
Definition: CommandlineApplicationInterpreterBase.cs:540
virtual int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: FunctonVectorResults.cs:677
static string[][] FromCsvString(string csvString)
Converts a CSV string to a 2D jagged array of string values and returns it. Constant UtilCsv....
Definition: UtilCsv.cs:146
static void LaunchBinaryFormattingConsoleWarining()
Definition: UtilSystem.cs:5532
const string CryptoAsymTest
Definition: ScriptAppBase.cs:1582
static bool TestMultiplyTranspMatTransp(double tolerance, bool printReports)
Tests product A^T*B*C^T.
Definition: MatrixBase.cs:3378
virtual string Run(string command)
Runs the specified (unsplit) command on the interpreter's main thread.
Definition: CommandlineApplicationInterpreter.cs:2011
double a
Definition: Function3d2d.cs:1175
override VectorBase GetNewBase(int length)
Creates and returns a new 3D vector of the specified dimension in such a way that the type of the ret...
Definition: Vector3Dclass.cs:99
string Description
Description of hte current interpreter.
Definition: CommandlineApplicationInterpreterInterface.cs:40
HyperboloidParametricPlus()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1203
bool _reqConstraints
Definition: FunctionScalarResults.cs:101
string CreateMessage(string messageName, string[] messageArguments)
Creates a built-in message (possibly with arguments) that is to be interpreted directly by the receiv...
Definition: ClientServerStreamBase_Copy.cs:295
object Convert(object source)
static double floor(double a)
Returns the largest integer less than or equal to the specified number.
Definition: UtilMath.cs:156
mat3 T
Gets transpose of the current matrix.
Definition: Matrix3D.cs:730
void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
Complex Atan()
Definition: Complex.cs:788
void SpeedTestInfo_BehaviorWhenExceptionThrownBeforeObtainingResultsIsCorrect()
Definition: UtilSpeedTestingTests.cs:258
vec2 Gradient0
Vector of linear coefficients (equal to gradient of the function at x=0).
Definition: Function2d.cs:556
static string GetCommandLine(string[] commandNameAndArguments)
Assembles and returns the commandline string that corresponds to the specified command name and argum...
Definition: UtilString.cs:202
string[] GetLoadableScriptReferencedAssemblies()
Returns an array of assemblies that are currently referenced by the script loader that takes care of ...
TScalarField _activeScalarField
Definition: UnstructuredMesh2dGeneric.cs:233
XmlNode GoToDocument()
Sets the current node to the root node of the current document and returns it.
Definition: XmlUtilities.cs:1998
TTensorField GetTensorField(string name)
Returns tensor field with the specified name.
Definition: UnstructuredMesh1dGeneric.cs:582
static Vector3d operator-(Vector3d v)
Unary negation, returns the negative operand.
Definition: Vector3Dclass.cs:506
virtual int ErrorCode
Error code. 0 - everything is OK. negative value - something went wrong.
Definition: AnalysisResultsDto.cs:237
const double E
Euler'result number (or Napier'result constant), base of Natural logarithm.
Definition: Constants.cs:315
int _numFunctions
Definition: FunctonVectorResults.cs:92
void SetTrainingAndVerificationData(SampledDataSet trainingData, SampledDataSet verificationData)
Auxiliary function, sets training and verification data for training the network.
Definition: NeuralApproximatorBase.cs:1480
override bool HessianDefined
Whether calculation of second derivative is implemented for the current function.
Definition: ScalarFunctionScriptBase.cs:187
string _outputDirname
Definition: SimKosecFileManagerBase.cs:273
InputElementDefinition GetInputElementDefinition(int whichElement)
Gets the specified input element definition from DataDefinition. If data definition is not defined th...
Definition: SampledDataCsv.cs:2004
Interface used for distance comparers in point clouds.
Definition: DistanceComparer.cs:25
static double DefaultMomentumMin
Default value for minimum momentum in neural networks.
Definition: NeuralTrainingParameters.cs:1230
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:75
const int NumExecutions
Standard speed tests with finite geometric series - number of iterations performed (i....
Definition: UtilSpeedTesting.cs:188
abstract void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
int MaxEpochs
Maximal number of epochs in training.
Definition: NeuralApproximatorBase.cs:101
static void Copy(MatrixBase_MathNetNumerics a, ref IMatrix result)
Copies components of a matrix to another matrix. Resulting matrix is allocated or reallocated if nece...
Definition: MatrixBase.cs:1630
Vector2d ColumnX
Gets or sets the x-column of the 2D matrix.
Definition: Matrix2DClass.cs:404
bool _reqGradients
Definition: FunctonVectorResults.cs:110
abstract override double Value(IVectorFunctionResults evaluationData, int which)
Calculates and returns the particular component of the vector function value.
TimeSpan ValidityPeriod
Gets or sets the validity period length for the program.
Definition: App.cs:1137
virtual string CmdElseIf(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints the specified variable. Variable name must be the only argument of the command.
Definition: CommandlineApplicationInterpreter.cs:3735
override int Next()
Returns a nonnegative random number.
Definition: Random.cs:252
LogRecord Create(ReportType messagetype, string message, Exception ex)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:149
override void AddField(int numElements, string fieldName, string fieldDescription)
>Call to this method is invalid for the current type. Call the method with three dimensions instead.
Definition: FieldCollectionGeneric.cs:53
Interface for classes that can be dynamically loadeded from scripts and run, which provides functiona...
Definition: LoadableScriptBase.cs:89
static MatrixBase operator+(MatrixBase m)
Unary plus, returns the operand.
Definition: MatrixBase.cs:5165
void GetRelativeCoordinates(IVector absoluteCoordinates, ref IVector relativeCoordinates)
Calculates relative coordinates, with respect to the current bounding box, that correspond to the spe...
Definition: BoundingBox.cs:1124
abstract double StartParameter
Definition: ConicalCurve3DParameterizationFromPolarWithBounds.cs:52
Vector GetNewThis(int length)
Creates and returns a new vector of the specified dimension in such a way that the type of the return...
Definition: Vector.cs:466
bool _isLoaderConsistent
Definition: ScalarFunctionScriptController.cs:648
const string DefaultIndependentVariableName
Default name of the independent variable in expression definitions used in scripts to define calculat...
Definition: RealFunctionScriptLoader.cs:77
ReportLocationDelegate ReportLocationDlg
Delegate that assembles the error location string.
Definition: ReporterMsg.cs:1196
readonly string Command_BeginCalc
Definition: CommandlineApplicationInterpreter.cs:632
void Example51_ExportLissajousKnot(int numLongitudinal, int numTransverse, double radius, int n1=3, int n2=4, int n3=7, double fi1=0, double fi2=0)
Creates the first test of tubular surface generation and export.
Definition: TubularSurfaceExportExamplesTests.cs:1062
virtual string ToStringMath(string elementFormat)
Returns a string representation of the current vector in a standard IGLib form (Mathematica-like form...
Definition: VectorBase.cs:3181
string RequestString
The last request string that was read from the pipe.
Definition: ClientServerStreamBase2_Copy.cs:204
void LogInfo(string message)
Adds a new info log record initialized according to parameters.
Definition: LoggerMsg.cs:782
Torus()
Constructs a parametric definition of a torus with radius of centerline 1 and radius of surface circl...
Definition: Function3d2d.cs:1302
double c
Definition: Function3d2d.cs:841
static void ArrayQuotientPlain(IVector a, IVector b, IVector result)
Calculates array quotient (element-by-element division) of two vectors and stores the result in the s...
Definition: VectorBase.cs:2130
static int SizeOf(int val)
Returns size of a value of type int, in bytes.
Definition: Utils.cs:1192
virtual string CmdCurrentDirectory(CommandThread cmdThread, string cmdName, string[] args)
Command. Rturns or sets the current directory.
Definition: CommandlineApplicationInterpreter.cs:4595
static object _lockStatic
Definition: UtilCrypto.cs:50
int TextLoggerFlush()
Flushes all text writers of the Writer's TextLogger subsystem.
virtual IVector Gradient
Function gradient. If CopyReferences=true (false by default) then only the reference is copied in ass...
Definition: FunctionScalarResults.cs:263
string DirectoryVersionString
Gets the string representation of program version to be used in directory and file names....
Definition: App.cs:1313
static int SizeOf(bool val)
Returns size of a value of type bool, in bytes.
Definition: Utils.cs:1174
SerializationBinderCascaded(IEnumerable< SerializationBinderBase > binders)
Calls base class SerializationBinderCascadedImmutable(IEnumerable<SerializationBinderBase>) to constr...
Definition: SerializationBinderCascaded.cs:30
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealBasic.cs:550
virtual void CopyFromBase(BaseType obj)
Copies data to the current DTO from an object of type BaseType.
Definition: SerializationDtoBase.cs:532
static bool TestLdltDecomposition(int dim, int numRepetitions=1, double tol=1e-6, int outputLevel=0, IRandomGenerator randomGenerator=null, IMatrix A=null, IVector b=null)
Performs a test of calculatons performed via LDLT decomposition of a matrix. Calculation times and er...
Definition: MatrixBase.cs:6371
virtual string TypeName
Definition: Vartypes.cs:35
void LinearCombinationDerivative(IVector parameters, IVector coefficients, ref IVector res)
Returns gradient of linear combination of functions contained in this vector function,...
Definition: FunctionVectorBaseGeneral.cs:451
CholeskyDecomposition(Matrix_MathNetNumerics A)
Constructor.
Definition: MatrixDecompositions.cs:870
double Zero2
Returns the second zero of the current quadratic function. Throws InvalidOperationException if the fu...
Definition: FunctionRealInterpolation.cs:563
void ExecutePrintyPrint(JsonPPStrategyContext context)
Definition: DefaultCharacterStrategy.cs:7
static string GetHashSha1Hex(byte[] bytesToHash)
Computes and returns the SHA1 hash string of the specified array of bytes.
Definition: UtilCrypto.cs:688
virtual TTensorField CreateTensorField(string fieldName, string fieldDescription)
Creates and returns a new tensor field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh3dGeneric.cs:609
vec3 VectorProduct(vec3 v)
Returns vector product of the current and the specified vector.
Definition: Matrix3D.cs:185
void CopyToBase(ref BaseType obj)
Copies data from the current DTO to an object of the base type. Object is created anew if necessary b...
virtual string GetErrorMessage(string responseString)
Returns error message that corresponds to the specified response string.
Definition: ClientServerStreamBase2_Copy.cs:156
override int NextInclusive(int maxValue)
Returns a nonnegative random number LESS OR EQUAL the specified maximum.
Definition: Random.cs:278
static string ToStringMath(IMatrix mat, string elementFormat)
Returns string representation of the current matrix in the standard IGLib form (Mathematica-like form...
Definition: MatrixBase.cs:5030
Exception LastException
Returns the last exception thrown when serving request.
Definition: ClientServerStreamBase2_Copy.cs:410
void MarkAppSettingsRead(string groupname)
Marks a specified group of settings as been read for the current reporter.
Definition: ReporterMsg.cs:2275
AsymmetricAlgorithmType AsymAlgorithmType
Definition: UilCryptoAux1.cs:183
List< int > _EpochNumbers
Definition: NeuralTrainingParameters.cs:586
double _outputSafetyFactorMin
Definition: NeuralTrainingParameters.cs:1420
static readonly PhysicalConstant MoonMass
Moon mass, 7.3477e22 kg.
Definition: Constants.cs:1594
bool _gradientDefined
Definition: Function2d.cs:667
static void SaveCsv(IVector vec, string filePath, string separator, bool append)
Saves the specified vector to a CSV file.
Definition: ScalarFunctionScriptController.cs:1041
ReporterConsole(object obj, ReportDelegate reportdelegate)
Constructor. Initializes the error reporter by the specified auxiliary object and the delegate to per...
Definition: ReporterMsg_Derived.cs:276
string _libraryPath
Definition: Loader.cs:838
StreamWriter _outputStream
Definition: IpcNamedPipes.cs:283
static readonly PhysicalConstant m
Metre, the basic SI unit of length.
Definition: Constants.cs:810
Identity(double Kx, double Sx)
Definition: FunctionRealBasic.cs:388
Base class for classes whose objects have a unique process-wide ID.
Definition: IGlooballyIdentifiable.cs:19
virtual string WriteLoadableScriptReferencedAssemblies(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Writes to the console the assemblies that are currently referenced by compiler u...
Definition: CommandlineApplicationInterpreter.cs:6137
static bool Read(ref bool value)
Reads a boolean from a console and assigns it to a variable. User can input a non-boolean to see curr...
Definition: UtilConsole.cs:281
LoadableScalarFunctionBase CreateScalarFunction()
Creates and returns an instance of dynamically compiled scalar function object.
Definition: ScalarFunctionScriptLoader.cs:1069
int _outputLevel
Definition: StringTable.cs:70
override bool ValueDefined
Definition: FunctionRealPenalty.cs:247
void RemoveAt(int index)
Definition: SampleClasses.cs:495
void RunJobSynchronous(JobContainerType jobData)
Definition: ParallelJobServerBase.cs:749
abstract FunctionControllerType CreateScalarFunctionController(int dimension)
Creates and returns a new scalar function in the space of specific dimension.
int NumIntervals
Gets the number of intervals between the nodes. Simply NumNodes-1.
Definition: GridGenerator1dBase.cs:34
vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
SpeedTestInfo()
Definition: SpeedTestInfo.cs:22
void GetTrainingAndVerificationData(ref SampledDataSet trainingData, ref SampledDataSet verificationData)
Auxiliary function, obtains network's training and verification data.
static object GlobalLock
Definition: ReporterMsg.cs:1550
BoundingBox2d(IVector min, IVector max)
Creates a bounding box of the specified dimension and initializes it in such a way that minimal and m...
Definition: BoundingBox.cs:1691
override List< ElementType > CreateObject()
Creates the array of objects and returns it.
Definition: ArrayDto.cs:212
static string RandomString(int length, CharType flags, bool firstletter, IRandomGenerator rndgen=null)
Returns a randomly generated string of a specified length whose characters are of specified type(resu...
Definition: UtilString.cs:472
static double DistanceWeightedPlain(IVector a, IVector b, IVector characteristicLengths)
Returns distance between the specified two vectors where vector elements are weighted by elements of ...
Definition: VectorBase.cs:720
virtual bool IsGradientDefined
Whether function gradient is defined for the represented function.
Definition: ScalarFunctionDto.cs:95
static readonly PhysicalConstant SunFlattening
Sun flattening, 9e-6. (a-s)/a.
Definition: Constants.cs:1715
int TextLoggerWriteLine(string str)
Similar to TextLoggerWrite(), except that a newline is added at the end of the string.
static void InternalGetReferencedAssembliesRecursive(Assembly assembly, bool recursive=true)
Internal recursive method to get all referenced assemblies, and all dependent assemblies of dependent...
Definition: UtilSystem.cs:2606
OutputMappingDefinitionElement(int originalElementIndex, int mappedElementIndex, string originalName, string originalTitle, string originalDescription)
Constructor.
Definition: NeuralMapData.cs:510
bool IsPenaltyDerivativeDefined(int which)
Returns true if the penalty function derivative can be calculated for the specified constraint,...
static int DefaultNumHiddenNeuronsSecondMin
Default value for number of hidden neurons in second hidden layer in neural networks.
Definition: NeuralTrainingParameters.cs:1275
void NewDocument()
Creates a new Xml document.
Definition: XmlUtilities.cs:2306
bool CopyReferences
Indicates whether just references can be copied when setting optimization parameters or results or au...
Definition: OptimizationInputData.cs:44
static char AssemblySeparator
Gets the character that is used to separate resource from the assembly.
Definition: UtilSystem.cs:3608
LogRecord Create(ReportType messagetype, Exception ex, string location)
Creates and returns a log record initialized according to parameters.
Definition: LoggerMsg.cs:158
HyperboloidTwosheetedLowerParametric()
Construct a rotationally symmetric hyperboloid.
Definition: Function3d2d.cs:1051
IVector _lengthScales
Definition: DistanceComparer.cs:315
bool IsKeyComment(string str)
Whether the specified string is a keyword introducing a comment in the line that contains it.
Definition: SampledDataCsv.cs:520
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntArray3DToIntListObjectToIntArray()
Definition: CollectionTypeConverterTests .cs:335
string host
Definition: PortScanner.cs:19
virtual void PrepareResultStorage(int numParameters, int numConstraints)
Prepares data storage for results (allocates the appropriate vectors, matrices, lists,...
Definition: AnalysisResults.cs:1232
int TextWriterNumWriters()
Returns the current number of text writers used by the reporter's text logging module....
string EmbeddedCommandName
Command that was used to launch the current embedded application script.
Definition: LoadableScriptBase.cs:96
List< String > readconf
Definition: ReporterMsg.cs:2206
override MatrixBase GetNewMatrixBase(int rowCount, int columnCount)
Creates and returns a new 3D matrix with the specified dimensona, and of a type that is consistent wi...
Definition: Vector3Dclass.cs:137
virtual void AppendCommandArgumentPlain(string value)
Appends a plain string argument (without decoration such as double quotes) to the command argument bl...
Definition: InterfaceInterpreterBase.cs:622
void LinearCombinationSecondDerivative(IVector parameters, IVector coefficients, ref IMatrix res)
Calculates second derivatives of the linear combination of components of vector functions and stores ...
Definition: FunctionVectorBaseGeneral.cs:491
override double f1(double u, double v)
Definition: Function3d2d.cs:1612
SI[] _unitsabove
Definition: Constants.cs:110
AnalysisResults AnResults
Analysis reaults whae analysis request data and analysis results ar stored.
Definition: OptFileManager.cs:660
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealWeight.cs:692
abstract void Execute(CommandLineInterpreter interpreter, string command, string[] arguments)
Executes the current command. Warning: whenever the data on command object (i.e. this) or interpreter...
static PointCloudVector ExampleClosestPointsDummy(int numPoints, int spaceDimension, int numClosestPoints)
Creates rabndomly an example cloud of points, calculates the specified number of closest neighbors by...
Definition: PointCloud.cs:1366
ScalarFunctionBase()
Default constructor for scalar functions of affine transformed parameters. Constructs untransformed r...
Definition: FunctionScalarBase.cs:25
double LearningRateMin
Minimum limit for learning rate.
Definition: NeuralTrainingParameters.cs:1310
static string GetStringHashSha1Hex(string stringToHash)
Computes and returns the SHA1 hash string of the specified string.
Definition: UtilCrypto.cs:817
const string CryptoAddCertificate
Definition: ScriptAppBase.cs:1527
bool _isReadOnly
Definition: StringTable.cs:91
void AddHeading4(string headingText, params string[] attributeNameValuePairs)
Adds a new level 4 heading with the specified text to the HTML document.
Definition: HtmlWriter.cs:730
string Name
Definition: ToStringTypeConverterViaJsonTests.cs:144
string AsymKeyFileXml
Asymmetric key file path in XML format.
Definition: UilCryptoAux1.cs:225
const string KeyTextWriterIntroText
Definition: ReporterMsg.cs:2322
Struct representing a 3D vector.
Definition: vec2.cs:9
int FindTW(List< TWClass > lwriters, TextWriter writer)
Returns the first object on the list that contains a specific TextWriter.
Definition: ReporterMsg.cs:3825
MatrixStore(int rowCount, int columnCount)
Constructs a new matrix store for matrices with the specified dimensions.
Definition: MatrixBase.cs:7721
double CoordinateFirst
Gets or sets coordinate of the first generated node (usually the minimal generated coordinate).
Definition: GridGenerator1dBase.cs:24
static readonly PhysicalConstant psi
Pound per square inch (psi), a deprecated non-SI unit of pressure, psi = 6894.76 Pa (Pa = kg/(numrows...
Definition: Constants.cs:1326
string _msg
Definition: UtilIdRegistration.cs:258
override string RunThis(string[] arguments)
Runs action of the current object.
Definition: LoadableScriptExamnple.cs:64
static ScalarFunctionQuadratic ExampleFunctionPureQuadratic2d()
Creates and returns quadratic scalar function with only quadratic terms.
Definition: FunctionScalarExamples.cs:374
TraceSwitch LoggingSwitch
Gets or sets the TraceSwitch that is synchronized with LoggingLevel. IMPORTANT: State of the object o...
Definition: ReporterMsg.cs:2994
bool _convergenceRmsEnabled
Definition: NeuralApproximatorBase.cs:608
void LinearCombinationSecondDerivative(IVectorFunctionResults evaluationData, IVector coefficients, ref IMatrix res)
Definition: FunctionVectorBaseGeneral.cs:389
void LinearCombinationDerivative(IVectorFunctionResults evaluationData, IVector coefficients, ref IVector res)
Returns gradient of linear combination of functions contained in this vector function,...
Definition: FunctionVectorBaseGeneral.cs:350
override bool DerivativeDefined
Definition: FunctionRealBasic.cs:415
virtual void SpecificTypeConverter_CollectionDifferentTypesRoundTripConversion_IntIListToStringArrayObjectToIntIList()
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:63
virtual string AppAsymTest(string appName, string[] args)
Executes command-line action - a couple of custom asymmetric encryption-related tests.
Definition: UilCryptoAux1.cs:4013
CryptoFlags Flags
Flags for cryptographic operations performed.
Definition: UtilCryptoAux.cs:175
int[] _numHiddenNeuronsThirdValues
Definition: NeuralTrainingParameters.cs:1893
Cartesian and cylindrical parameterization of a cylindrical billiard knot in 3D.
Definition: CylindricalBilliardKnot.cs:80
static double Arsinh(double x)
Inverse hyperbolic sine.
Definition: UtilMath.cs:1289
static void ToByteArray(Int64 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1615
const string ConstNumerics
Name of the command for the numerics-related embedded applications.
Definition: ScriptAppBase.cs:336
SerializationTestArrayMember _singleElement
Definition: SerializerBase.cs:753
virtual bool TryConvertTyped(TSource source, out TTarget target)
Converts the parameter source to the target type (TTarget , or equivalently, TargetType),...
Definition: SingleTypeConverterBaseGeneric.cs:83
virtual double OutputDistance(PointContainerType pt1, PointContainerType pt2)
Returns output distance between two point containers.
Definition: DistanceComparer.cs:499
IVector InitialStep
Gets or sets initial step used in optimization.
Definition: Optimizer.cs:65
CommandStackFrameBase()
Definition: CommandlineApplicationInterpreterBase.cs:899
int NumNodes
Gets or sets teh number of nodes to be generated.
Definition: GridGenerator1dBase.cs:30
string CreateResponseOrRequestString(string originalResponseOrRequestString, bool multiLine)
Generates request and response string in such a way that it can not be mixed up with a message.
Definition: IpcStreamClientServerBase.cs:352
override double StartParameter
Definition: CylindricalBilliardKnot.cs:120
bool IsAutoExtend
Whether or not data storage automatically extends when a value is set on the position that is out of ...
Definition: StringTable.cs:104
ConicalSpiralHyperbolic3D(double alpha, double a)
Constructor.
Definition: ConicalSpiralHyperbolic3D.cs:24
StreamWriter _outputStream
Definition: IpcPipes.cs:682
override int GetHashCode()
Gets the hashcode of this Counter.
Definition: Scalar.cs:501
virtual string AppFile(string[] arguments)
Runs one of the file system - related embedded applications.
Definition: ScriptAppBase.cs:1064
string xxxfjafjkasjflajfla
Definition: SimKosecFileManagerBase.cs:282
readonly string _categoryName
Definition: TestBase.cs:95
const string DataStructuresHelpTestCsvWriteDefinitionAndData
Definition: ScriptAppBase1.cs:83
CharType
Represents a character type, supports bitwise flag combination.
Definition: UtilString.cs:16
static int _numNotifyExportPrivateKey
Definition: UilCryptoAux1.cs:84
void AppendSetVariable(StringBuilder sb, string varName, object value, int numIndents)
Appends to the apecified string builder the C# statements that sets the specified variable to the spe...
Definition: RealFunctionScriptLoader.cs:377
bool IsFlagsSet(params CryptoFlags[] whichFlags)
Returns true if ALL the specified flags are set, or false if some of them are unset.
Definition: UtilCryptoAux.cs:180
A RealFunction class representing bell like polynomial weighting function with finite support,...
Definition: FunctionRealWeight.cs:655
virtual void Init(byte[] password, byte[] salt, int numIterations)
Definition: UtilCryptoAux.cs:710
static int maxErrInitialIndent
Definition: ReporterMsg.cs:2510
string Message
Message string.
Definition: LoggerMsg.cs:112
UnStructuredMesh2d(int dimx, int dimy, string fieldName, string fieldDescription, double minx, double maxx, double miny, double maxy)
Constructs a 2D regular grid with grid directions parallel to coordinate axes, with specified name an...
Definition: test_to_delete.cs:71
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:971
double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
static PasswordAlgorithmType GetPasswordAlgorithmType(string typeString)
Returns a PasswordAlgorithmType value corresponding to the specified string representation.
Definition: UtilCrypto.cs:136
TempFileStream(FileAccess access)
Definition: UtilSystem.cs:38
vec2 Vec
Gets the struct representation of this 2D vector.
Definition: Vector2Dclass.cs:340
abstract bool HasVolumes
Gets a value indicating whether the mesh has volumes.
Definition: Mesh.cs:72
void ResetResults()
Sets all calculated flags to false, error code to 0 (no error) and error string to null.
void GetRelativeCoordinates(IVector absoluteCoordinates, ref IVector relativeCoordinates)
Calculates relative coordinates, with respect to the current bounding box, that correspond to the spe...
bool Exit
Whether the exit flag is set, usually causing interpreter to stop.
Definition: CommandlineApplicationInterpreter.cs:302
double MinValue
Lower bound for values for which color scale is defines.
Definition: ColorScale.cs:277
Matrix3d(double[][] A)
Initializes a 3D matrix with elements of a jagged array.
Definition: Matrix3DClass.cs:100
static void GetArguments(string commandLine, ref List< string > ret, ref List< string > aux)
Parses a command line and extracts arguments from it. Arguments can be separated according to usual r...
Definition: UtilString.cs:262
virtual object DefaultValueObject
Definition: ModelParameter.cs:26
static string ToString(this IVector vec)
Returns a string representation of the current vector in a standard IGLib form. Extension method for ...
Definition: VectorBase.cs:225
static Matrix2d Create(Matrix2d mat)
Creates and returns a 2D matrix that is a copy of another 2D matrix.
Definition: Matrix2DClass.cs:138
static string DecorationFrameDoubleAsterisk(List< string > lines, int indent, int padLeft, int padRight, int padTop, int padBottom)
Returns a string containing the specified text lines in a double frame made of asterisks.
Definition: App.cs:1989
static string DefaultServerAddress
Default server address. Setting to null sets it to "." (i.e. the local machine).
Definition: IpcPipes.cs:554
static readonly PhysicalConstant MoonEscapeVelocity
Moon escape velocity, 2380 numrows/result. Speed where the kinetic energy of an object is equal to th...
Definition: Constants.cs:1620
string ScriptGroupChoice
Main selector for script that is run.
Definition: ApplicationCommandLineBase.cs:52
static void ExportHelixTubularMeshToGLTF()
Definition: ExampesGraphics3D.cs:14
static xdouble Abs(xdouble a)
Absolute value.
Definition: UtilMath.cs:1594
ThreadType _interpreterThread
Definition: CommandlineApplicationInterpreterBase.cs:874
override bool DerivativeDefined
Definition: FunctionRealWeight.cs:893
override string AppCustomApp(string[] arguments)
Custom application.
Definition: ScriptAppBase.cs:533
virtual IVector Parameters
Optimization parameters. If CopyReferences=true (false by default) then only the reference is copied ...
Definition: FunctionScalarResults.cs:185
SimpleFunctionDelegate< InputType, ResultType > EvaluationDelegate
Evaluation delegate that is by default used for calculation of results from input data of the paralle...
Definition: ParallelJobContainerGen.cs:204
bool KeepBestGuess
Whether best results are kept or not.
Definition: OptimizationResults.cs:48
void Set(double comp)
Sets components of the vector to the specified value.
Definition: Matrix3D.cs:62
int _originalElementIndex
Definition: NeuralMapData.cs:317
ParallelJobState
Job states.
Definition: ParallelJobContainerBase.cs:18
Converts an object of any type to its JSON string representation using System.Text....
Definition: ToStringTypeConverterViaJson.cs:11
static bool TestMatrixProducts(double tolerance, bool printReports)
Tests various matrix and vector products.
Definition: MatrixBase.cs:7560
ScalarFunctionOneParametric(double parameter)
Constructor. Does not define affine transformation of the function.
Definition: FunctionScalarParametric.cs:154
void ClearMessages()
Clears all messages for neural approximation client and server.
Definition: NeuralFileManager.cs:1151
XmlNode MoveRelative(string path)
Moves the current position to the first node that satisfies the relative path specified as an XPath s...
Definition: XmlUtilities.cs:1940
abstract StreamWriter OutputStream
Output stream reader of the server's named pipe.
Definition: ClientServerStreamBase2_Copy.cs:179
const string MsgFunctionOutputReadyFilename
Default file name for function output parameters results ready flag.
Definition: NeuralFileConst.cs:103
static HashType GetHashType(string typeString)
Returns a HashType value corresponding to the specified string representation.
Definition: UtilCrypto.cs:402
Generalzed multivariate RosenBrock function for Dim >= 2.
Definition: FunctionScalarExamples.cs:853
ScriptLoaderBase _loader
Definition: RealFunctionScriptLoader.cs:529
string KeyMaximalValues
A keyword string that introduces variable maximal values in the CSV file containing sampled data and ...
Definition: SampledDataCsv.cs:731
A 2D bounding box.
Definition: BoundingBox.cs:1651
@ Base
Base block of the thread.
ParallelJobContainerGen(SimpleFunctionDelegate< InputType, ResultType > evaluationDelegate, InputType inputData, object clientData)
Creates a new parallel job container with inptu data assigned.
Definition: ParallelJobContainerGen.cs:84
override double Derivative(IVectorFunctionResults evaluationData, int which, int component)
Calculates and returns the particular component of the vector function derivative.
Definition: FunctionVectorFromScalar.cs:159
static Quadratic GetQuadraticInterpolation(double x1, double y1, double d1, double x2, double y2)
Creates and returns quadratic interpolation function with specified two function values and one deriv...
Definition: FunctionRealInterpolation.cs:295
static string DefaultMessagePrefix
Definition: ClientServerStreamBase_Copy.cs:80
static RealFunction GetConstant(double constantValue)
Creates and returns a new real identity (or linear) function object.
Definition: FunctionRealBasic.cs:507
double _c
Definition: FunctionScalarExamples.cs:415
virtual string AnalysisOutputFileNameStandard
Standard analysis output file name.
Definition: InterfaceInv.cs:162
void Main(string[] args)
Entry point of the application.
Definition: ApplicationCommandLineBase.cs:363
static xdouble Log10(xdouble a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:1718
void RemoveIndexField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh2dGeneric.cs:213
SimKosecFileManagerConv3(string dataDirectory)
Definition: SimKosecFileManager.cs:311
void SetRandom()
Sets the current vector such that it contains random elements on the interval (0,1].
static bool IsBeginningOfNewLineAndIndentionLevel(JsonPPStrategyContext context)
Definition: OpenBracketStrategy.cs:26
virtual string ExitBlock(CommandThread cmdThread)
Exits the current code block.
Definition: CommandlineApplicationInterpreter.cs:773
int Id
Returns counter's ID.
Definition: UtilTime.cs:304
FieldCollection< TTensorField, TTensor > _tensorFields
Definition: UnstructuredMesh1dGeneric.cs:528
virtual void SetScriptNumArguments(int numArguments)
Sets the number of script run method's arguments to the specified number. Reallocates argument arrays...
Definition: ApplicationCommandLineBase.cs:227
void GetMax(ref IVector max)
Gets the vector of upper bounds on co-ordinates of the current bounding box and stores it in the spec...
Definition: BoundingBox.cs:1058
string _fileOrDirectoryPath
File or directory name.
Definition: WaitConditionFile.cs:308
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealBasic.cs:467
override bool Condition()
Function that returns true if unblocking condition is satisfied, and false otherwise....
Definition: WaitCondition.cs:206
string _location
Definition: LoggerMsg.cs:101
string _neuralInputFilename
Definition: NeuralFileManager.cs:139
int _imageNum
Definition: HtmlWriter.cs:838
int SubSubVersion
Gets or sets the sub-subversion number of the program.
Definition: App.cs:1045
static readonly PhysicalConstant ElectricConstant
Electric constant ε0, vacuum permittivity.
Definition: Constants.cs:418
readonly ThreadStart _start
Start delegate (nonparameterized), executed on the thread when it starts.
Definition: TracedThread.cs:100
static double ThirdDerivative4Point(DlgFunctionValue f, double x, double h)
Calculates the third order derivative of a function with a 5 point formula. Error is O(h^2).
Definition: FunctionNumeric.cs:284
virtual string CmdGetVariable(CommandThread cmdThread, string cmdName, string[] args)
Command. Gets the specified variable and returns its value (or null if the variable does not exist)....
Definition: CommandlineApplicationInterpreter.cs:3091
static void RegisterAssemblyResolveHandler()
Registers tis class' event handler for resolving assembly load failures.
Definition: UtilSystem.cs:2667
static void DecryptPlain(Stream inputStream, Stream outputStream, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, int numSaltBytes=0, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false)
Decrypts the data from the specified input stream by a symmetric encryption algorithm and writes decr...
Definition: UtilCrypto.cs:2779
double NumericalDerivative(double x, double stepsize)
Calculates numerical derivative of this function. Central difference formula is used.
InputOutputDataDefiniton _dataDefinition
Definition: NeuralMapData.cs:1077
static int DefaultMaxEpochs
Default value for maximal number of epochs.
Definition: NeuralTrainingParameters.cs:50
double EndParameter2
Typical end value of the second parameter of the parametric surface.
Definition: IParametricSurfaceWithBounds.cs:52
double MaxZero
Maximal value for which penalty function is zero.
Definition: FunctionRealPenalty.cs:42
double TrainingTime
Time spent for training.
Definition: SerializationDtoNeural.cs:272
int[] NumHiddenNeuronsFirstValues
Values of number of hidden neurons in the first layers that will appear in the table.
Definition: NeuralTrainingParameters.cs:1709
override void InitializeExternalAlgorithm()
Initializes eventual external algorithm used as proxy object to perform operations.
Definition: UtilCryptoAux.cs:972
double _a1
Definition: FunctionRealInterpolation.cs:111
override double Norm
Gets the Forbenius norm of the matrix, the square root of sum of squares of all elements.
Definition: Matrix.cs:1058
static MappingDefinition CreateExample(int inputLength, int outputLenght)
Creates and returns an example mapping data definition.
Definition: NeuralMapData.cs:905
Type ValueType
The actual type of the captured entity's value.
Definition: ICapturedVar.cs:46
bool IsEnabled(LogLevel logLevel)
StringParser(String str)
Definition: StringParser.cs:53
Matrix2d(Vector2d rowx, Vector2d rowy)
Initializes 2D matrix structure with the specified components.
Definition: Matrix2DClass.cs:60
string MsgResponseBegin
Message that begins any multiline response (only when multiline responses are allowed).
Definition: IpcStreamClientServerBase.cs:531
override bool IsEligible(T mat)
Returns true if the specified matrix is eligible for storage in the current store,...
Definition: MatrixBase.cs:7800
virtual string ToCodeName(string Name)
Converts a module or program name to a valid code name.
Definition: App.cs:959
DataColumnDefinition GetDataColumnDefinition(int dataColumnIndex)
Returns the specified data column definition by its sequential number on the list of columns DataColu...
Definition: SampledDataCsv.cs:2038
BoundingBoxDtoBase OutputNeuronsRange
Definition: SerializationDtoNeuralApproximator.cs:132
Implements blocking until the specified file is deleted (becomes nonexistent). File is specified in c...
Definition: WaitConditionFile.cs:1461
static void KillFirstProcess(string processName, bool caseSensitive, bool isFullString)
Kills the first running process found that has the specified process name.
Definition: UtilSystem.cs:851
void IterateThroughMultidimensionalTable(List< NeuralTrainingParameters > tableResults, List< int > tableDimensions, bool createTable, bool createDimensions, DoForParameters doOnElement)
Iterates through all elements of the table of training results defined by the current object,...
Definition: NeuralTrainingParameters.cs:2173
List< DataColumnDefinition > _inputColumnDefinitions
Definition: SampledDataCsv.cs:1222
@ K
Kelvin, an SI unit for thermodynamic temperature.
static DataMapperIdentity Aux
Initialize DataMapperIdentity object for identity copying.
Definition: NeuralFileManager.cs:884
const string CustomPrintArguments
Definition: ScriptAppBase.cs:148
IdProxy _idPproxy
Proxy object that implements the IIdentifiable interface for this object.
Definition: UtilIdRegistration.cs:322
double Parameter
Gets or sets the (only) parameter that defines the current function out of parametric family of funct...
Definition: FunctionScalarParametric.cs:67
double MinZ
Gets the lower bound in the third coordinate.
Definition: BoundingBox.cs:1580
const string DefaultApplicationName
Definition: App.cs:834
override IVector Parameters
Parameters that define the specific function out of parametric familiy of functions.
Definition: FunctionRealParametric.cs:110
MatrixDtoBase ObjectiveHessian
Hessian of the objective function.
Definition: AnalysisResultsDto.cs:285
static Vector3d operator+(Vector3d v)
Unary plus, returns the operand.
Definition: Vector3Dclass.cs:500
double InputSafetyFactorMax
Maximum limit for input safety factor value.
Definition: SerializationDtoNeural.cs:753
ICharacterBuffer _buffer
Definition: StringParser.cs:63
string StoppedResponse
Stopped response that is sent back to the client after the server stops on its request.
Definition: IpcStreamClientServerBase.cs:698
Assembly _assembly
Definition: Loader.cs:1380
string GetVariableValue(CommandThread commandThread, string varName)
Returns the value of the specified variable of the current command line interpreter....
void Load(Stream inStream)
Loads data store'result XML Doc from an input stream. An exception is thrown if the there is modified...
Definition: XmlUtilities.cs:142
void CopyFrom(NeuralApproximatorBase nn)
Copies current data from the specified neural network approximator.
Definition: NeuralTrainingParameters.cs:684
static string TableToString(string[][] values, string valueSeparator)
Returns a string that represents a table of string values. Each value is embedded in double quotes,...
Definition: UtilCsv.cs:330
static Matrix2d CreateFromColumns(IList< IVector > columnVectors)
Construct a complex matrix from a set of real column vectors.
Definition: Matrix2DClass.cs:168
int N
Definition: CylindricalBilliardKnot.cs:83
string _msgOptInputReadyPath
Definition: OptFileManager.cs:155
Comparer that compares two data elements of type SampledDataElement according to the distance of thei...
Definition: SampledData.cs:867
ParallelJobCallback OnAborted
Delegate that is executed on started event.
Definition: ParallelJobContainerBase.cs:364
virtual int Count
Gets total number of elements.
Definition: MatrixBase.cs:345
IAnalysisResults Results
Optimization results.
Definition: Optimizer.cs:81
void RemoveTensorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: UnstructuredMesh1dGeneric.cs:671
void GenerateCoordinates(int dimx, double minxRef, double maxxRef, IRealFunction fx, IRealFunction fy)
Generates coordinates of an (unconnected) unstructured grid of points based on coordinates of a struc...
Definition: UnstructuredMesh1d2d.cs:145
virtual IAnalysisResults BestGuess
The best results so far.
Definition: Optimizer.cs:355
Interface for direct analysis classes used in optimization problems.
Definition: Analysis.cs:16
XmlNode Discard()
Discards the newly created node and returns it if it exists.
Definition: XmlUtilities.cs:2387
ExpressionEvaluatorJs _evalutorJs
Definition: CommandlineApplicationInterpreter.cs:1477
override double[] GetParameters()
Returns parameters of the current parametric function as an array. Since this class is for one parame...
Definition: FunctionRealParametric.cs:198
virtual void MinSimplex(IVector initialGuess, IVector stepSizes, int maxIt, IVector tolX, double tolF, int printLevel)
Runs the unconstaint nonlinear (modified Nelder-Mead) simplex minimization algorithm.
Definition: InterfaceInv.cs:705
bool Formatted
Definition: SerializerJson.cs:56
Vector_MathNetNumerics _vectorRighthandSides_MathNetNumerics
Definition: MatrixDecompositions.cs:157
abstract double Value1(double x, double y)
Calculates and returns value of the first component of the current function.
override string TypeName
Definition: Vartypes.cs:105
double ScalarTerm
Scalar additive constant.
Definition: Function2d.cs:468
IVector ToleranceMaxRelativeToRange
Relative tolerances on max. abs. errors of outputs over training points, relative to the correspoindi...
Definition: NeuralApproximatorBase.cs:1079
virtual bool ValueDefined
Tells whether value of the function is defined by implementation.
Definition: FunctionVectorBaseGeneral.cs:130
string _certificateName
Definition: UilCryptoAux1.cs:239
override bool Equals(object obj)
Overrides object.equals method. Returns true if obj is also Complex and it has the same value,...
Definition: Complex.cs:829
Container class that contains a single point plus all the data that are necessary for searching and r...
Definition: PointContainer.cs:113
ReportLevel
Defines the level of output when launching reports.
Definition: ReporterMsg.cs:84
static void SaveRequestMath(IAnalysisResults anres, string filePath)
Saves the specified analysis request to a file. If the file already exists then it is overwritten.
Definition: AnalysisResults.cs:1832
Base comparer class (implementation of the IComparer<NeuralTrainingParameters> interface) for conmpar...
Definition: NeuralTrainingParameters.cs:2873
double _momentum
Definition: NeuralApproximatorBase.cs:604
TTensorField _activeTensorField
Definition: StructuredMesh3dGeneric.cs:557
Provides identity for assembly resolution attempts.
Definition: UtilSystem.cs:2701
Example quadratic polynomial in 3D. f(x,y,z) = x*x + 2*y*y + 4*z*z + x*y + 2*y*z + 4*z*x + x + y + z ...
Definition: FunctionScalarExamples.cs:1230
SampledDataSet SampledData
Definition: SampledDataCsv.cs:950
string KeyTargetValues
A keyword string that introduces variable target values in the CSV file containing sampled data and /...
Definition: SampledDataCsv.cs:857
static void WriteTriangle(BinaryWriter writer, vec3 v1, vec3 v2, vec3 v3)
Writes a single triangle to the STL file.
Definition: MeshExportExtensions_02.cs:105
void ReportWarning(string message, Exception ex)
Launches a warning report.
Definition: ReporterMsg.cs:3337
mat3 _m
Definition: Matrix3DClass.cs:283
Represents scalar functions of 2 variables.
Definition: Function3d.cs:17
This interface facilitates use of static helper methods for copying on the SerializationDtoBase class...
Definition: SerializationDtoBase.cs:56
bool DoTransform
Whether or not transformation (stretch/shift) is applied to the reference function,...
Definition: FunctionReal.cs:816
static void ToByteArray(Int32 val, ref byte[] bytes)
Converts a value to byte array.
Definition: Utils.cs:1523
static double arsh(double x)
Inverse hyperbolic sine.
Definition: UtilMath.cs:521
static double Root3(double a)
Returns the cubic root of a specified number.
Definition: UtilMath.cs:1098
Vector3d GetNewVectorThis(int length)
Creates and returns a new 3D vector with the specified dimension (which must be null),...
Definition: Matrix3DClass.cs:553
static void RetrieveUserName()
Retrieves and stores information about current user name.
Definition: UtilSystem.cs:90
static void MapCoordinates1d(Field< vec2 > referenceField, Field< vec2 > targetField, IRealFunction fx, IRealFunction fy)
Generates coordinates of a set of unstructured 2D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:770
static int DefaultEpochBundle
Default value for number of epochs in bundle in neural networks.
Definition: NeuralTrainingParameters.cs:1291
virtual void SetCalculateGradObjective(bool flagValue)
Sets the flag for calculation of objective function gradient.
Definition: InterfaceInv.cs:389
virtual int[] NumHiddenNeurons
Gets or sets the numbers of neurons in each hidden layer. When setting, contents of array are copied,...
Definition: NeuralApproximatorBase.cs:708
int _indentation
Definition: SampledDataCsv.cs:1425
int NumCommandlineArguments
Number of command-line arguments.
Definition: App.cs:277
const double cDefault
Default valur of c.
Definition: Ellipsoid.cs:35
T GetEligible()
Returns a non-null object that is eligible for storing in this object store. If the store itself does...
Definition: UtilObjectStore.cs:238
JsonFormatter _formatter
Definition: SerializerJson.cs:58
int _version
Definition: App.cs:700
static ColorScale CreateBlueYellow(double minValue, double maxValue, int numCells)
Creates and returns a discrete color scale that ranges from dark blue to yellow.
Definition: ColorScale.cs:966
new Type SourceType
Source type, the type of values FROM which the current converter converts. Should correspond to TSour...
Definition: ISingleTypeConverter.cs:36
int NumParameters
Number of parameters.
Definition: Optimizer.cs:39
virtual int NumInequalityConstraints
Returns number of inequality constraints.
Definition: AnalysisResults.cs:335
Unstructured mesh in 3D.
Definition: UnstructuredMesh3d.cs:16
double _objective
Definition: AnalysisResults.cs:196
static int _defaultSleepTimeMs
Definition: ParallelJobServerBase.cs:126
IAnalysis Analysis
Definition of the direct problem (direct analysis that calculates the response functions).
Definition: Optimizer.cs:55
static void TestSerializationJSON(string filePath, object serObject)
Test serialization performed by the specified serialization helper class. This function creates a tes...
Definition: SerializerBase.cs:480
T GetEligible()
Returns a non-null object that is eligible for storing in this object store. If the store itself does...
void ReportWarning(string message)
Launches a warning report.
Definition: ReporterMsg.cs:3371
IVector ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: NeuralApproximatorBase.cs:983
const string VarNameFunctionArgumentHessianName
Definition: ScalarFunctionScriptLoader.cs:76
Generates 1D grids with equidistant or geometrically grown intervals.
Definition: GridGenerator1dFunc.cs:15
static string ToString(IVector vec)
Returns a string representation of the specified vector in a standard IGLib form.
Definition: VectorBase.cs:2906
double yx
Definition: Matrix2D.cs:351
ValueType _value
Definition: ModelParameterTyped.cs:115
List< string > _storedPrompts
Definition: CommandlineApplicationInterpreterBase.cs:1868
XUnitLogger(ITestOutputHelper testOutputHelper, string categoryName)
Definition: TestBase.cs:97
static ? bool _isAnnDllTestMode
Definition: App.cs:2267
void StandardSpeedTestPreparationGeometric_ComparingDifferentNumbersOfExecutioin(int n, double a0, double k, double tolerance)
Performs calculation of geometric series at the same parameters as UtilSpeedTesting....
Definition: UtilSpeedTestingTests.cs:528
void GetMin(ref IVector min)
Gets the vector of lower bounds on co-ordinates of the current bounding box and stores it in the spec...
Definition: BoundingBox.cs:1033
static TubularMeshGenerator Global
Global lazily initialized instance of the mesh generator.
Definition: TubularMeshGenerator.cs:20
static double StandardSpeedTestGeometricSeries_HpLaptop24(bool writeToConsole=true)
Similar as StandardSpeedTestGeometricSeries_HpLaptop24(out SpeedTestInfo, bool), which it calls to do...
Definition: UtilSpeedTesting.cs:343
IBoundingBox _inputParameterBounds
Definition: SimKosecFileManagerBase.cs:1284
string TypeName
Gets the standard name of the type.
Definition: Vartypes.cs:153
static void EncryptFilePlain(string inputFilePath, string outputFilePath, byte[] key, byte[] IV, SymmetricAlgorithmType algorithmType=SymmetricAlgorithmType.None, SymmetricAlgorithm algorithm=null, byte[] saltBytes=null, int bufferSize=ConstCrypto.FileBufferSize, bool useLargestKey=false, bool useLargestBlock=false)
Encrypts the data from the specified input file by a symmetric encryption algorithm and writes encryp...
Definition: UtilCrypto.cs:2905
bool IsPenaltySecodDerivativeDefined(int which)
Returns true if the penalty function's second can be calculated for the specified constraint,...
virtual bool IsDefaultValueDefined
Definition: ModelParameter.cs:159
static int DefaultNumHiddenLayersNum
Default value for number of hidden layers in neural networks.
Definition: NeuralTrainingParameters.cs:1265
mat3 MultiplyRight(mat3 b)
Right-multiplies the current 3D matrix with the specified matrix and returns the product.
Definition: Matrix3D.cs:789
Definition: SettingsRreader.cs:13
bool _isWithinArgumentBlock
Definition: InterfaceInterpreterBase.cs:102
bool _checkOptimizationDirectoryExistence
Whether to check existence of optimization directory when set. Also applies to working directory.
Definition: LoadableScriptOpt.cs:92
string AsymAlgorithmTypeString
String that represents asymmetric algorithm type.
Definition: UilCryptoAux1.cs:207
virtual void SetIdentity()
Sets the current matrix to identity matrix. WARNING: Exception is thrown if a matrix is not square....
Definition: MatrixBase.cs:587
static void Transpose(IMatrix a, ref IMatrix result)
Stores transpose of the matrix operand in another matrix. Can be done in-place. Resulting matrix is a...
Definition: MatrixBase.cs:1870
static string[][] LoadCsv(string filePath, string separator)
Reads contents of a CSV file and returns a 2D jagged array of strigg values contained in the file.
Definition: UtilCsv.cs:361
static bool IsPathEmbeddedResource(string resourcePath)
Returns a flag indicating whether the specified resource path represents an embedded resource (a reso...
Definition: UtilSystem.cs:3681
List< IVector > _errorsVerificationRmsList
Definition: NeuralTrainingParameters.cs:503
virtual void LaunchInitNotice()
Launches initialization notice.
Definition: App.cs:2174
const string NeuralNetworkFilename
File where trained network is stored.
Definition: NeuralFileConst.cs:37
string LastErrorMessage
Returns the last error message.
Definition: IpcStreamClientServerBase2.cs:225
const string ArgBinaryOutputFormatLongInt1
Binary output format (and possibly input, if not specified separately) used is long integer.
Definition: UtilCryptoAux.cs:521
static bool _defaultIsKeysCaseSensitive
Definition: SampledDataCsv.cs:47
virtual IMatrix T
Returns a new matrix that is transpose of the current matrix.
Definition: MatrixBase.cs:436
Matrix2d NormalizedEuclidean()
Returns this matrix normalized with Euclidean norm.
Definition: Matrix2DClass.cs:556
void SetMark()
Marks the current state of the XmlParser. The mark set is not named. Position is stored on a stack su...
Definition: XmlUtilities.cs:1679
string ConstAttributeLanguageXml
The xml language attribute. Specifies the language of the element's content (for XHTML documents).
Definition: HtmlWriter.cs:101
double Intensity
Intensity (brightness of the light). Default = 1.0
Definition: LightSource.cs:42
static bool CheckStringHashSha512Hex(string stringToCheck, string hashValue)
Checks whether the specified SHA-512 hash value matches the actual hash value of the specified string...
Definition: UtilCrypto.cs:1119
VectorFunctionBaseGeneral()
Definition: FunctionVectorBaseGeneral.cs:23
LightType_05
Repredents different light types used in 3D rendering.
Definition: LightingDefinition_05.cs:13
vec3 Curve(double t)
3D vector function of scalar argument, which gives a 3D representation of the knot....
SpeedTestInfo(string testId, string referenceMachineId=null)
Definition: SpeedTestInfo.cs:18
static IComparer< KeyValueSortable< Tkey, Tvalue > > CompareKey
Comparison of keys.
Definition: Utils.cs:3157
static readonly PhysicalConstant EarthSurfaceArea
Earth surface area, 510,072,000 km^2.
Definition: Constants.cs:1416
static readonly PhysicalConstant l
Litre, non-SI unit of volume, l = dm^3 = 0.001 numrows^3.
Definition: Constants.cs:1147
Cylindrical parameterization of a curve in 3D. Beside the CurveCylindrical and (optional) CurveDeriva...
Definition: ICurve2DPolarParameterization3D.cs:10
virtual int NumOutputValues
Number of optimization output values produced by the simulator.
Definition: SimKosecFileManagerBase.cs:190
int OutputLength
Gets or sets the number of output values.
Definition: IVectorApproximator.cs:23
const string FileHelpWaitCreation
Definition: ScriptAppBase.cs:796
string _resultMark
Definition: ExpressionEvaluatorCompiled.cs:332
void IEnumerableElementTypeIsRetrievedCorrectlyForNestedGenericCollectionsOfArrays()
Definition: IGLibCoreReflectionTests.cs:132
int MaxAnalyses
Gets or sets maximal number of analyses.
Definition: Optimizer.cs:74
Vector(int n)
Constructs an n-dimensional vector of zeros.
Definition: Vector.cs:57
static void TransposePlain(IMatrix a, IMatrix result)
Stores transpose of the operand in another matrix. Can be done in-place. This is a plain version of t...
Definition: MatrixBase.cs:1782
Complex Absolute(Complex a)
Definition: NumberOperationsComplex.cs:65
void Inverse(ref IMatrix inv)
Calculates inverse of the decomposed matrix represented by the current object, and stores it in the s...
Definition: MatrixDecompositions.cs:1245
override MatrixBase GetNewBase(int rowCount, int columnCount)
Creates and returns a new matrix with the specified dimensions, and of the same type as the current m...
Definition: Matrix.cs:827
bool _flag
Definition: SerializerBase.cs:579
const string MutexGlobalName
Name of the global mutex.
Definition: Utils.cs:80
abstract void Analyse(IAnalysisResults anRes)
Performs direct analysis for optimization problems. This method must be overridden in derived classes...
void RoundTripConversion_ShouldWorkForGuid()
Definition: ToStringTypeConverterViaIConvertibleTests.cs:92
object Convert(object source, Type targetType)
Definition: FromStringTypeConverterViaParseReflection.cs:74
static string DefaultResponseMethod(string request)
The deefault method that returns response to the specified request.
Definition: IpcStreamServerBase.cs:99
static ILoadableScript CreateScriptObject(string scriptClassFullName)
Creates and returns a new script obect of the specified type.
Definition: Loader.cs:184
string CommandName
name of the command to be executed.
Definition: CommandlineApplicationInterpreterBase.cs:159
static RandomGaussian Global
Global Gaussian random generator.
Definition: RandomGaussian.cs:37
int OutputLevel
Level of output to console produced by some operations of the current object.
Definition: LoadableScriptBase.cs:299
double _re
Underlying field for the property Re
Definition: Complex.cs:157
double MaxX
Gets the upper bound in the first coordinate.
Definition: BoundingBox.cs:1727
int[][] functionDefinitions
Definitions of basis functions. Each definition is an array of at most 2 indices specifying the produ...
Definition: ApproxBasis.cs:337
void ReportAndClear(IReporter reporter)
Reports all logs contained in this logger by the specified reporter, then clears the logger (removes ...
Definition: LoggerMsg.cs:360
void CopyFrom(IParserState state)
Copies internal parser state from the specified state.
Matrix(int dim, double elementValue)
Constructs a d*d square matrix with specified diagonal value.
Definition: Matrix.cs:158
IVector OutputLengthScales
Sets the vector of OUTPUT vector's length scales that are used for calculation of distances and relat...
Definition: DistanceComparer.cs:405
InputFieldDefinition GetDefaultInputValue(int id, string name)
Finds and returns the specified deefault input value definition. GetDefinition
Definition: SimKosecFileManagerBase.cs:742
static Matrix2d Create(double[,] A)
Constructs a 2D matrix from a copy of a 2-D array by deep-copy.
Definition: Matrix2DClass.cs:162
virtual string CmdAbout(CommandThread cmdThread, string cmdName, string[] args)
Execution method that prints some information about the application.
Definition: CommandlineApplicationInterpreter.cs:6248
bool IsNaN
Indicates whether the current Counter is not a number.
Definition: Scalar.cs:458
bool IsInputDataConsistent()
Definition: NeuralMapData.cs:713
string TypeFullName
Full name of the type of object whose data is contined by the current DTO.
Definition: SerializationDtoBase.cs:762
static void SetZero(IMatrix mat)
Sets all components of the specified matrix to 0.
Definition: MatrixBase.cs:827
string Compile()
Compiles the code that contains dynamically loadable definition of a real function of one variable.
Definition: ScalarFunctionScriptLoader.cs:1055
object _mainLock
Definition: StringParser.cs:78
void SetNull(bool isNull)
Sets a flag indicating whether the object represented by the current DTO is null.
void Gradient(double x, double y, out double gradx, out double grady)
Calculates gradient of the current 2D scalar function and returns its components through the specifie...
static bool TestIndices(int dim1=3, int dim2=4, IMatrix providedMatrix=null)
Performs test of converson between double indexing and flat indexing of matric elements,...
Definition: MatrixBase.cs:7654
virtual string RunTryCatch(CommandThread cmdThread, int outputLevel, string[] args)
Runs command in a try-catch block, where first argument is command name. Extracts command name and ru...
Definition: CommandlineApplicationInterpreter.cs:1750
static IReporter _defaultReporter
Definition: App.cs:2220
vec3 SurfaceDerivative2(double u, double v)
Defines the derivative of Surface with respect to the second parameter. In each point on the surface ...
Definition: Torus.cs:62
void MakeUniformUnscaled()
Resets the parameters in such away that the generated grid is uniform (equidistant intervals) and wit...
Definition: GridGenerator1d.cs:127
string _className
Definition: Loader.cs:634
string _name
Definition: CommandlineApplicationInterpreter.cs:288
virtual void Remove(params string[] keys)
Removes parameter objects at the specified keys. If any of the specified keys is not contained in the...
Definition: ModelParameterSetBase.cs:96
ArrayAccessor(ElementType[] array)
Constructor, initializes the current array accessor with the underlying array object.
Definition: ArrayAccessors.cs:78
const string CryptoGetFileHash
Definition: ScriptAppBase.cs:1125
ReportType
Defines the type of a report.
Definition: ReporterMsg.cs:50
LogRecord CreateError(string location, string message, Exception ex)
Creates and returns an error log record initialized according to parameters.
Definition: LoggerMsg.cs:197
virtual void WriteAndRunCommandFile()
Writes interpreter command file and runs it. After this method is called, ResetCommands() should be c...
Definition: InterfaceInterpreterBase.cs:728
BasicTypeConverterTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: BasicTypeConverterTests.cs:29
VariableFlags
Flags that specify interpreter variable type and behavior.
Definition: CommandlineApplicationInterpreterBase.cs:341
CharacterBufferInterface wrapper for StringBilder.
Definition: StringParserBuffer.cs:117
VectorDtoBase ToleranceMax
Tolerance on maximal error of outputs over training points. Training will continue until error become...
Definition: SerializationDtoNeural.cs:796
virtual void AppendCommandVariableReference(string variableName)
Appends a variable reference to the contents of the interpreter command file.
Definition: InterfaceInterpreterBase.cs:546
string[] _arguments
Temporary storage of command arguments for execution in a new thread.
Definition: InterpreterCommandLine.cs:148
virtual List< String > ReferencedAssemblies
List of assemblies that are referenced when compiling the code. Contains names of files containing re...
Definition: Loader.cs:1015
virtual string AnalysisInputFileNameStandard
Standard analysis input file name.
Definition: InterfaceInv.cs:158
virtual bool IsUserIgor
Returns true if the current user logged on the computer is Igor, or false otherwise.
Definition: ApplicationCommandLineBase.cs:171
static Vector3d Create(double[] components)
Constructs a vector from a 1-D array.
Definition: Vector3Dclass.cs:265
ScalarFunctionResults()
1 parameter, no constraints, 1 objective function. No gradients required
Definition: FunctionScalarResults.cs:28
EventLogEntryType
Specifies the event type of an event log entry.
Definition: ReporterMsg.cs:54
double StartParameter
Definition: HelixCurve3D.cs:59
List< IMatrix > _hessians
Definition: FunctonVectorResults.cs:101
const double Pi
Archimedes' constant or Ludolph'result number, the ratio of any circle'result circumference to its di...
Definition: Constants.cs:312
HyperboloidTwosheetedUpperParametric(double a, double b, double c)
Constructs parametric definition of an origin-centered hyperboloid with the specified parameter-stret...
Definition: Function3d2d.cs:1017
const string ArgStringOutputFormat
String output format (and possibly input, if not specified separately) is used.
Definition: UtilCryptoAux.cs:504
int NumConstraints
Number of constraints.
Definition: Analysis.cs:38
static Exception ReviseException(Exception ex, string messageaddition, Type newtype)
Takes an existing exception and returns a modified exception based on it. Original message is appende...
Definition: ReporterMsg.cs:1734
override bool GradientDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarRadial.cs:142
StructuredField3d(int dim1, int dim2, int dim3, string fieldName, string fieldDescription)
Constructs a new 3D field with the specified dimensions, name and description. Table of elements is a...
Definition: StructuredField3dGeneric.cs:107
static double cosh(double a)
Returns the hyperbolic cosine of the specified angle.
Definition: UtilMath.cs:1266
List< LogRecord > _logs
Definition: LoggerMsg.cs:328
void ExpandOrShrinkInterval(int componentIndex, double factor)
Symmetrically expands or shrinks the interval between the bounds for the specified component for the ...
Definition: BoundingBox.cs:896
void ReadDoubleData(ref double[] dataArray)
Reads double values from the CSV-like string table, from the current position on (inclusively),...
Definition: SampledDataCsv.cs:2514
static int GetHashLengthHex(HashType hashType)
Returns length of the HEXADECIMAL hash string for the specified hash algorithm.
Definition: UtilCrypto.cs:368
const string ArgSkipOverwrite1
If files are to be wasOverwritten, this is wasSkipped without asking whether to overwrite.
Definition: UtilCryptoAux.cs:571
bool IsDeleteEncrypted
Specifies whether the encrypted files should be deleted.
Definition: UilCryptoAux1.cs:409
override bool SecondDerivativeDefined
Definition: FunctionRealBasic.cs:580
List< string > _documentComments
Definition: HtmlWriter.cs:200
Interface that must be satisfied by penalty functions. Penalty functions have small values where argu...
Definition: FunctionRealPenalty.cs:15
PortScannerSimple(string host, int portStart, int portStop)
Definition: PortScannerSimple.cs:26
LogRecord CreateWarning(string message)
Creates and returns a warning log record initialized according to parameters.
Definition: LoggerMsg.cs:290
bool HasMaximum
Returns true if this quadratic function has a strict maximum.
Definition: FunctionRealInterpolation.cs:601
virtual string ReadResponse()
Reads response from the server and stores it.
Definition: ClientServerStreamBase2_Copy.cs:1053
virtual void InitAppSystem()
Initializes commands for file system related utilities (embedded applications).
Definition: ScriptAppBase.cs:3773
bool _wasBlockEnterCommand
Definition: CommandlineApplicationInterpreterBase.cs:1846
static Linear GetLinearInterpolation(double x1, double y1, double x2, double y2)
Creates and returns linear interpolation function with specified two values.
Definition: FunctionRealInterpolation.cs:30
override bool IsConnected()
Returns true if server pipe is connected, .
Definition: IpcNamedPipes.cs:191
static void LoadJson(string filePath, ref List< NeuralTrainingParameters > trainingParametersRestored)
Restores (deserializes) a list of training parameters objects from the specified file in JSON format.
Definition: NeuralTrainingParameters.cs:988
AnalysisScript(LoadableScriptOptBase script)
Direct analysis class used in optimization problems, modified such that it is connected with a loadab...
Definition: LoadableScriptOpt.cs:236
color[] _fillColors
Definition: GraphicalObjectsBase.cs:126
ConicalSpiralArchimedean3D(double alpha, double a)
Constructor.
Definition: ConicalSpiralArchimedian3D.cs:23
int Position
Current parser position.
Definition: IParserState.cs:21
const string ConstHelpDefaultUniversal
Universal name of the help command.
Definition: LoadableScriptBase.cs:413
bool CanSetBarrierLength(int which)
Returns a flag that tells whether characteristic barrier length can be set for the penalty function o...
MatrixBase_MathNetNumerics _inverse
Definition: MatrixDecompositions.cs:1536
abstract int NumCoordinates
Get or set the co-ordinate No. i of this graphic primitive.
Definition: GrObjects.cs:308
static bool Read(ref IVector vec)
Reads a vector from a console and assigns it to the specified vector variable.
Definition: UtilConsole.cs:430
static void SaveJson(NeuralTrainingTable trainingResults, string filePath, bool append)
Saves (serializes) the specified training results object to the specified JSON file.
Definition: NeuralTrainingParameters.cs:2822
WeightGauss(double Kx, double Sx, double Ky, double Sy)
Definition: FunctionRealWeight.cs:76
List< double > _constraints
Definition: FunctionScalarResults.cs:93
HtmlWriter(string filePath, string cssPath)
Creates a new HTML generator and connests it with the specified file.
Definition: HtmlWriter.cs:71
bool _determinantCalculated
Definition: MatrixDecompositions.cs:1513
NamedPipeServerStream ServerPipe
Named pipe used for communication by the server.
Definition: IpcNamedPipes.cs:121
vec2(vec2 v)
Copy constructor. Initializes components of a 2D vector with components of the specified vector.
Definition: Matrix2D.cs:28
int IComparer< IVector >. Compare(IVector a, IVector b)
Definition: NeuralTrainingParameters.cs:2850
abstract void Hessian(double x, double y, out double dxx, out double dyy, out double dxy)
Calculates Hessian of the current 2D scalar function and returns its component through the specified ...
bool ModuleInitializationAfterCalled
Definition: App.cs:794
static readonly PhysicalConstant An
Ångström, non-SI unit of length, An = 0.1 nm = 10^-10 numrows. Use is not encouraged.
Definition: Constants.cs:1214
static byte[] GetValidSymmetricAlgorithmKey(byte[] key, SymmetricAlgorithm algorithm)
For the specified symmetric encryption algorithm, this function takes the specified key and checks if...
Definition: UtilCrypto.cs:1822
static void AntisymmetricPart(IMatrix a, ref IMatrix result)
Stores antisymmetric part of a square matrix operand in another matrix. Antisymmetrization is perform...
Definition: MatrixBase.cs:2231
int NumActiveJobServers
Gets number of active job servers assigned to the dispatcher.
Definition: ParallerJobDispatcherBase.cs:232
XmlDocument extended by additional functionality for managing complex data units. In applications,...
Definition: XmlUtilities.cs:329
double SquaredNorm
Squared Euclidean norm, sum of squared components.
Definition: VectorBase.cs:60
double Norm1
Gets an 1 norm of the current 2D vector - sum of absolute values of components.
Definition: Matrix2D.cs:132
void Load(string filepath)
Loads data store'result XML Doc from a file. An exception is thrown if the there is modified and unsa...
Definition: XmlUtilities.cs:84
void FromString_ShouldConvertToDouble(string input, double expected)
Definition: ToStringTypeConverterViaParseReflectionTests.cs:36
bool IsForceOverwrites
If true then eventual file overwtires are automatically performed by the relevant operation without a...
Definition: UilCryptoAux1.cs:422
abstract double double double zDerivative CurveDerivativeCylindrical(double t)
static double max(double a, double b, double c, double d, double e)
Largest of five numbers.
Definition: UtilMath.cs:214
override void InstallInputFields()
Installs data about input fields that can be queried and set in the input file.
Definition: SimKosecFileManager.cs:106
string ConstAttributeId
The id attribute. Specifies a unique id for an element.
Definition: HtmlWriter.cs:86
int OrderParameter
Order prameter that enable additional sorting when other fields are equal.
Definition: Utils.cs:3154
virtual void GetIntervalLengthsList(ref List< double > result)
Stores a table of interval lengths between the generated nodes into the specified list....
Definition: GridGenerator1dBase.cs:1027
string _Directory
Definition: App.cs:719
virtual void ReadNeuralOutput(ref IVector outputValues)
Reads neural approximator output values from the file at standard location.
Definition: NeuralFileManager.cs:659
string _valueDefinitionString
Definition: ScalarFunctionScriptLoader.cs:148
Matrix3d MultiplyRight(Matrix3d b)
Right-multiplies the current 3D matrix with the specified matrix and returns the product.
Definition: Matrix3DClass.cs:690
virtual TVectorField CreateVectorField(string fieldName, string fieldDescription)
Creates and returns a new vector field of dimensions that match dimensions of the current structured ...
Definition: UnstructuredMesh1dGeneric.cs:458
double Momentum
Momentum. Specifies how much changes of weight in the previous iterations affect changes in the curre...
Definition: SerializationDtoNeural.cs:32
string _helpCommandLineHeading
Definition: ExpressionEvaluatorCompiled.cs:376
static Matrix Random(int d1, int d2, IRandomGenerator rnd)
Creates and returns a d1*d2 matrix with uniformly distributed random elements.
Definition: Matrix.cs:519
override void InitExpressionEvaluator()
Contains initializations for the particular class.
Definition: ExpressionEvaluatorJint.cs:45
string NeuralVerificationDataPath
File path of the verification data file. Setter takes only pure file name, without path information....
Definition: NeuralFileManager.cs:249
Definition: TubularMeshGenerator_04.cs:11
bool TryConvert(object source, out object target, Type targetType)
Definition: FromStringTypeConverterViaIConvertible.cs:48
virtual void ReadAnalysisOutputMath(string filePath, ref AnalysisResults anpt)
Reads analysis output data (request) from the specified file in the standard IGLib format,...
Definition: OptFileManager.cs:1094
static void LoadJson(string filePath, ref AnalysisResults anResultsRestored)
Restores (deserializes) analysis results from the specified file in JSON format.
Definition: AnalysisResults.cs:1963
double Distance(IVector v)
Returns distance in the output values space between the specified vector and the reference point of t...
Definition: SampledData.cs:1021
static void Example_02()
Definition: TubularSurfaceExamples.cs:90
static double ArithmeticSeriesNumerical(int n, double a0, double d)
Analytically calculates and returns the specified finite arythmetic series (from the sequence: a_i = ...
Definition: UtilSpeedTesting.cs:70
XmlNodeList GetNodes(string xpath)
Returns a list of all _gridCoordinates in the current document that satisfy the specified XPath expre...
Definition: XmlUtilities.cs:357
static string DefaultFunctionsSeparator
Default functions separator, separates string definitions of functions when stated in a single string...
Definition: ScalarFunctionScriptController.cs:387
bool _doExecute
Definition: CommandlineApplicationInterpreterBase.cs:1208
double Im
Gets the imaginary part of the current complex number.
Definition: Complex.cs:174
static SampledDataSet CreateExample(int inputLength, int outputLength, int numElements, IBoundingBox region, IScalarFunctionUntransformed[] functions, IRandomGenerator rand)
Craates and returns a sample data set object where input parameters are calculated randomly in the sp...
Definition: SampledData.cs:2637
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:1061
static double Ceiling(double a)
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Definition: UtilMath.cs:859
override bool DerivativeDefined
Definition: FunctionRealInterpolation.cs:172
static void ToByteArray(bool val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1255
void CalculateTrainingVerificationOutputs(bool calculateTrainingOutputs, bool calculateVerificationOutputs)
Calculates outputs in training points contained in training set, either in training points,...
Definition: NeuralApproximatorBase.cs:2035
static volatile int DefaultOutputLevel
Default output level for objects of this and derived types.
Definition: ParallelJobContainerBase.cs:196
bool _appNumericsCommandsInitialized
Definition: ScriptAppBase.cs:609
override void RepairCommand(ref string command)
Repairs the specified command and returns the repaired command string.
Definition: ExpressionEvaluatorJs.cs:405
static int Read(ref Scalar result, string str)
Reads a scalar from a string, starting at the beginning and skipping any leading spaces....
Definition: Scalar.cs:239
List< SampledDataElement > GetElementListCopy()
Returna a copy of the list of data elements.
Definition: SampledData.cs:133
TestClassDerived(string name, string description, double value)
Definition: SerializerBase.cs:606
static XmlNode GetTextNode(XmlNode basenode, string xpath)
Returns the (first) text node of the first ELEMENT node in the XML sub-tree whose root is basenode th...
Definition: XmlUtilities.cs:663
static string DecorationFrameDoubleDashed(List< string > lines, int indent, int padLeft, int padRight, int padTop, int padBottom)
Returns a string containing the specified text lines in a frame made of a double layers of dashes ('-...
Definition: App.cs:2122
virtual void SetHessian(int rowIndex, int columnIndex, double value)
Sets the specified component of the function's Hessian.
Definition: FunctionScalarResults.cs:352
Client to the pipe server (classes derived from ClientServerStreamBase2).
Definition: NamedPipes_Copy.cs:378
PortList portList
Definition: PortScannerSimple.cs:24
static Lazy< ParametricSurfaceMeshGeneratorNotImplemented > _global
Definition: ParametricSurfaceMeshGenerator.cs:151
virtual BaseType CreateInstance(string derivedTypeName, bool throwIfCannotCreate=true)
Attempts to create and return an instance of the type specified by its name (derivedTypeName )....
Definition: DerivedTypesRegistry.cs:154
MappingDefinitionElement(string name, string title)
Constructor. Element index is unknown.
Definition: NeuralMapData.cs:295
override string Name
Server name. The same as pipe name.
Definition: IpcNamedPipes.cs:83
SortedUniqueItemList()
Creates an empty sorted list of items with the default capacity.
Definition: SortedUniqueItemList.cs:23
void RemoveTensorField(string fieldName)
Removed the field with the specified name from the current field collection.
Definition: StructuredMesh2dGeneric.cs:677
override bool IntegralDefined
Definition: FunctionRealWeight.cs:380
mat2 _m
Definition: Matrix2DClass.cs:281
void ClearinputFieldDefinitions()
Clears all input fielddefinitions.
Definition: SimKosecFileManagerBase.cs:1101
Partial class definition containing tests of CSV utilities.
Definition: ScriptAppBase1.cs:19
static byte[] ToBytes(List< float > list)
Definition: MeshExportExtensions.cs:305
int Position
Definition: ParserStateStruct.cs:27
static color ScaleYellow(double minValue, double maxValue, double value)
Returns a color corresponding to the specified value (from the specified range) where color scale beg...
Definition: Color.cs:683
static void AnnAdd()
Appends list of assemblies for dynamic testing of software.
Definition: App.cs:2285
Vector3d Solve(Vector3d b)
Returns solution of system of equations with the current system matrix and the specified right-hand s...
Definition: Matrix3DClass.cs:675
void Wait()
Blocks until the specified condition gets satisfied. See class description for details.
override string ToString()
Returns standard string representation of a scalar, with decimal point and e for exponent,...
Definition: Scalar.cs:213
static void MultiplyTranspMatTranspPlain(IMatrix a, IMatrix b, IMatrix c, IMatrix result)
R=A^T*B*C^T. Multiplies three matrices (transposed first argument, second argument,...
Definition: MatrixBase.cs:3249
string MissingAssemblyNameParent
Definition: UtilSystem.cs:2543
bool IsEligible(T obj)
Returns true if the specified object is eligible for storing in this object storage,...
Cubic(double a3, double a2, double a1, double a0)
Creates a cubic function, coefficients are specified in the descending order.
Definition: FunctionRealInterpolation.cs:873
color GetContinuousColor(double value)
Returns the CONTINUOUS color from the current color scale that corresponds to the specified value.
void Json_InitOnlyClas_WithReferenceHandler_Serialize_Performance_And_Size_Benchmark()
Definition: ToStringTypeConverterViaJsonBenchmarkTests.cs:349
virtual IVector GetParameters()
Returns vector of optimization parameters.
Definition: FunctonVectorResults.cs:233
static bool IsScriptingInitialized
Whether scripting system is initialized or not.
Definition: Loader.cs:113
virtual double MapFromNeuralInput(int componentIndex, double value)
Inverse maps (scales and shifts) and returns specific input value back from the neural input to the a...
Definition: NeuralApproximatorBase.cs:1842
void AddCommandMt(string appName, ApplicationCommandDelegateMt appMain)
Adds command with the specified name.
override double CurvePolar(double t)
Planar curve (in XY plane) in polar form (of the form r = r(φ)).
virtual void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
Definition: FunctonVectorResults.cs:239
abstract TTarget ConvertTyped< TSource >(TSource source)
PortScannerSimple()
Definition: PortScannerSimple.cs:37
object Lock
Object used for thread locking.
Definition: StringTable.cs:61
static new object _lock
Definition: App.cs:65
VectorBase< ElementType > CreateThisVectorType(int dim)
Creeates and returns a new vector of dimension dim , whose actual type is the same as the type of the...
Definition: VectorBase.cs:489
const string ArgBinaryOutputFormatHex1
Binary output format (and possibly input, if not specified separately) used is hexadecimal.
Definition: UtilCryptoAux.cs:511
double DY
Step in Y direction.
Definition: SimKosecFileManager.cs:97
virtual void SpecificTypeConverter_CollectionRoundTripConversion_IntIListToIntArrayObjectToIntIList()
Definition: CollectionTypeConverterTests .cs:62
double fi1
Definition: LissajousKnot3D.cs:48
virtual vec3 Curve(double t)
3D vector function of scalar argument, which represents a parameterization of the curve in 3D Euclide...
Definition: Curve3DParameterizationFromCylindricalWithBounds.cs:48
static void Resize(ref IMatrix mat, IMatrix template, int rowCount, int columnCount)
Resizes, if necessary, the specified matrix according to the required dimensions. If the matrix is in...
Definition: MatrixBase.cs:1447
static MaterialProperties MaterialProperties WireframeMaterial GetMeshMaterialsLightSkyBlueWAndDarkRed()
Definition: MaterialGallery.cs:19
override double f3(double u, double v)
Definition: Function3d2d.cs:1339
virtual void SetHessiansReference(List< IMatrix > reference)
Sets functios' Hessians. Only the list reference is copied.
Definition: FunctonVectorResults.cs:456
static string _defaultKeyDescriptions
Definition: SampledDataCsv.cs:171
SampledDataCsv()
Construct a new CSV representation of sampled data and data definitions.
Definition: SampledDataCsv.cs:24
static double Log(double a, double logBase)
Returns the logarithm of a specified number in a specified base.
Definition: UtilMath.cs:1153
void ToStringIConvertible_ShouldReturnFalseForUnsupportedType()
Definition: ToStringTypeConverterViaIConvertibleTests.cs:56
UnstructuredMesh1d3d(int length, string fieldName)
Constructs a new 1D (unconnected) unstructured grid with the specified size, name and description....
Definition: UnstructuredMesh1d3d.cs:45
string[] AuxStringArray
Auxiliary array for temporary storage of strings.
Definition: SampledDataCsv.cs:2651
bool _gradientDefined
Definition: Function2d.cs:139
void CopyFrom(IParserState state)
Copies internal parser state from the specified state.
Definition: ParserStateStruct.cs:20
static xdouble exp(xdouble a)
Returns e raised to the specified power.
Definition: UtilMath.cs:1694
ReportMessageDelegate ReportMessageDlgConsole
Delegate that assembles the eror message string for reporting via console.
Definition: ReporterMsg_Derived.cs:119
const string AssemblyInfoLoad
Definition: ScriptAppBase.cs:4300
virtual bool Calculated
Flag indicating whether the grid is generated ready to use. If true then node positions are contained...
Definition: GridGenerator1dBase.cs:297
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems...
Definition: AnalysisResultsDto.cs:28
InputType _input
Definition: ParallelJobContainerGen.cs:96
override vec3 Gradient(vec3 parameters)
Calculates and returns gradient of the current 3D linear function.
Definition: Function3d.cs:532
const string AttributeTabIndex
The tab index attribute. Specifies the tabbing order of an element.
Definition: HtmlWriter.cs:45
static INeuralApproximator CreateApproximator(string approximatorTypeName)
Creates and returns a new instance of the neural approximator type specified by approximatorTypeName ...
Definition: NeuralApproximatorBase.cs:564
int Extremes(ref double x1, ref double y1, ref double d1, ref double x2, ref double y2, ref double d2)
Calculates and returns extremes of the cubic function, and returns number of extremes.
Definition: FunctionRealInterpolation.cs:1247
Classes whose instances have unique string IDs.
Definition: IStringIdentifiable.cs:12
string _keyNumInputParameters
Definition: SampledDataCsv.cs:526
override DistanceComparer< PointContainerSampledDataElement, SampledDataElement > CreateDefaultDistanceComparer(PointContainerSampledDataElement referencePoint)
Creates and returnws a distance comparer of hte default type for the current type of point of clouds.
Definition: PointCloudSampledDataElement.cs:79
string _commentBegin
Definition: InterfaceInterpreterBase.cs:109
static string _defaultGenericResponse
Definition: IpcStreamClientServerBase.cs:619
PipeClientBase(string pipeName)
Constructs a new named pipe client with the specified pipe name, default server address (DefaultServe...
Definition: IpcPipes.cs:401
Definition: GrObjects.cs:14
void NotifyJobFinished()
Notifies this job data container that its job has finished.
Definition: ParallelJobContainerBase.cs:395
IMatrix _G
Definition: FunctionScalarExamples.cs:411
int _numParameters
Definition: VectorFunctionScriptController.cs:79
bool _isOutputFormat64
Definition: UilCryptoAux1.cs:499
readonly string _categoryName
Definition: TestBase.cs:61
bool AddTextLogger(TextWriter writer, bool writeintro, bool disposewriter)
Sets the basic text writer to which reporting is performed, but overrides the writeintro property by ...
Definition: ReporterMsg.cs:5038
virtual int NumCoordinates
Gets number of co-ordinates of the graphic primitive.
Definition: GraphicalObjectsBase.cs:142
RealFunctionLoader()
Constructor.
Definition: RealFunctionScriptLoader.cs:28
vec2 Normalize(double epsilon=1e-15)
Returns the normalized current vector.
Definition: vec2.cs:64
void Report(ReportType messagetype, string message)
Launches a report.
Definition: ReporterMsg.cs:3247
int GetIndentLevel()
Returns current indentation level of the document.
Definition: HtmlWriter.cs:154
static void Swap(ref int a, ref int b)
Swaps values of the two specified variables of type int.
Definition: UtilMath.cs:114
static void GetProcesses(string processName, bool caseSensitive, ref List< Process > processList)
Gets all processes with the specified name, and puts them to tehe specified list.
Definition: UtilSystem.cs:624
virtual void NullifyAll()
Sets all objects (parameters and result objects) to null. If the references are not assigned elsewher...
Definition: AnalysisResults.cs:809
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:521
int NumParameters
Gets number of parameters that define the specific function out of parametric family of functions.
Definition: FunctionRealParametric.cs:34
string _pipeName
Definition: IpcNamedPipes.cs:443
static void Negate(IMatrix a, ref IMatrix result)
Stores a negative matrix of the operand in another matrix. Can be done in-place. Resulting matrix is ...
Definition: MatrixBase.cs:1757
void Test()
Definition: NeuralTrainingParameters.cs:3333
bool WarnCommandReplacement
Specifies whether a wrning should be launched whenever an installed command is being replaced.
Definition: CommandlineApplicationInterpreterInterface.cs:74
static xdouble Sinh(xdouble a)
Returns the hyperbolic sine of the specified angle.
Definition: UtilMath.cs:1794
const string InvAnCommandFilename
Default file name for analysis command file for program Inverse (Inverse interface).
Definition: OptFileConst.cs:64
override void HessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian matrix) of this function at the specified parameters....
Definition: FunctionScalarExamples.cs:112
A set of model parameters of the specified type, where parameters can be added, removed or changed af...
Definition: IModelParameterSetBase.cs:14
void GetTrainingData(ref SampledDataSet trainingData)
Auxiliary function, returns network's training data.
Definition: NeuralApproximatorBase.cs:1501
int Capacity
Buffer current capacity.
Definition: StringParserBuffer.cs:26
virtual string ToStringLong(string indentation=" ")
Returns a detailed representation of the current object, including all the properties,...
Definition: CapturedVar.cs:149
FieldCollection3d< TScalarField, TScalar > ScalarFields
Gets the collection of scalar fields of the current mesh.
Definition: StructuredMesh3dGeneric.cs:236
override bool DerivativeDefined
Definition: FunctionRealBasic.cs:92
static void ResizeList< T >(ref List< T > list, int count, T defaultElement, bool reduceCapacity)
Allocates or re-allocates (resizes) the specified list in such a way that it contains the specified n...
Definition: Utils.cs:546
static readonly PhysicalConstant W
Watt, the SI derived unit of power, radiant flux. W = J/result = N numrows/result = numrows^2 kg/resu...
Definition: Constants.cs:942
override bool IntegralDefined
Definition: FunctionRealBasic.cs:130
TScalarField _activeScalarField
Definition: StructuredMesh2dGeneric.cs:239
double ScalarTerm
Scalar additive constant.
Definition: FunctionScalarExamples.cs:468
const string FileWaitCreation
Definition: ScriptAppBase.cs:794
List< IMatrix > GetHessians()
Returns the list of functions' Hessians.
NamedPipeClientStream _clientPipe
Definition: IpcPipes.cs:603
virtual void SetConstraintsReference(List< double > reference)
Sets the list of constraint function values. Only the list reference is copied.
Definition: AnalysisResults.cs:551
virtual double CoordinateFirst
Gets or sets coordinate of the first generated node (usually the minimal generated coordinate).
Definition: GridGenerator1dBase.cs:261
virtual string VarNameObjectiveMom
Definition: InterfaceInv.cs:138
virtual string CmdRunScriptFile(CommandThread cmdThread, string cmdName, string[] args)
Interpreter command. Dynamically loads (temporarily, just for execution of the current commad) a clas...
Definition: CommandlineApplicationInterpreter.cs:5996
override bool InverseDefined
Definition: FunctionRealWeight.cs:404
vec3 Surface(double u, double v)
Defines the parametric surface in 3D space.
PenaltyEvaluator(double barrierLength, double barrierHeight, double maxZero)
Construct penalty evaluator with penalty function (common for all constraints) initialized to the def...
Definition: AnalysisResults.cs:2375
bool _hessianDefined
Definition: Function2d.cs:677
string SecondDerivativeDefinitionString
Expression that defines function second derivative.
Definition: RealFunctionScriptLoader.cs:315
string RunCode(string code, string[] initializationArguments, string[] runArguments)
Creates and returns a loadable script object form code. Class name is extracted from code.
Definition: Loader.cs:1599
PasswordAlgorithmBase(bool publicParameters=false)
Definition: UtilCryptoAux.cs:673
FrameType _topFrame
Definition: CommandlineApplicationInterpreterBase.cs:1670
XmlNode InsertAfter()
Inserts the newly created node after the current node. The new node is set to null if the operation i...
Definition: XmlUtilities.cs:2679
virtual void Analyse(IVector param)
Command - runs a direct analysis at the specified parameters.
Definition: InterfaceInv.cs:487
double _determinant
Definition: MatrixDecompositions.cs:1511
Matrix(MatrixBase_MathNetNumerics A)
Construct a matrix from MathNet.Numerics.LinearAlgebra.Matrix. Only a reference of A is copied.
Definition: Matrix.cs:68
virtual int Compare(PointContainerType pt1, PointContainerType pt2)
Compares two points according to the current comparer definition.
Definition: DistanceComparer.cs:590
static readonly PhysicalConstant StandardGravity
Standard gravity acceleration, nominal acceleration due to gravity at the Earth'result surface at sea...
Definition: Constants.cs:594
bool CaseSensitive
Definition: CommandlineApplicationInterpreter.cs:194
virtual double NormForbenius
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:718
static int Compare(IMatrix m1, IMatrix m2)
Compares two matrices and returns -1 if the first matrix is smaller than the second one,...
Definition: MatrixBase.cs:1391
bool AddTextLogger(Stream stream, bool writeintro)
Creates a TextWriter from the stream and adds it to the list of TextWriters on which reporting is als...
Definition: ReporterMsg.cs:5068
virtual double OutputDistance(IVector outVec1, IVector outVec2)
Returns output distance between two output vectors.
Definition: DistanceComparer.cs:518
SI prefixes for producing multiples of the original units (such as kilo- or micro-).
Definition: Constants.cs:624
double _outputSafetyFactorMax
Definition: NeuralTrainingParameters.cs:1429
void GetFunctionDefinition(int which, out int numTerms, out int firstVariableIndex, out int secondVariableIndex)
Returns data about the specific function of this vector function containing quadratic basis....
Definition: ApproxBasis.cs:371
virtual int GetNodeNumber(int i)
Definition: Mesh.cs:28
@ DSA
Specifies the DSA asymmetric algorithm.
void FindClosestPointsGraph(IDistanceComparer< PointContainerType, PointType > comparer, int numClosestPoints)
Finds closest points by initializing with random neighbors and then gradually improving connections t...
Definition: PointCloud.cs:1334
ScalarFunctionRadial()
Definition: FunctionScalarRadial.cs:22
virtual String ErrorString
Error string indicating what went wrong.
Definition: FunctonVectorResults.cs:681
string ReturnedValueName
Name of variable (within functions in the loadable scripts) that temporarily holds the returned value...
Definition: ScalarFunctionScriptLoader.cs:193
static Color FromHtml(string htmlColorString)
Provides partial replacement for the class System.Drawing.ColorConverter, which is not available in ....
Definition: ColorScale.cs:26
static void LoadSampledDataJson(string filePath, ref SampledDataSet sampledData)
Restores sampled data from the specified file in JSON format.
Definition: SampledData.cs:1190
bool _enableArchitectureTest
Definition: NeuralTrainingParameters.cs:1608
bool _calculatedConstraintGradients
Definition: AnalysisResultsDto.cs:214
bool IsFeasible()
Returns true if the current analysis results represent a feasible point. Feasible point is one where ...
void TypeConversionHelper_RoundTripConversion_IntToDoubleObjectDouble_IsCorrect()
Definition: TypeConversionHelperTests_Obsolete.cs:118
EigenValueDecomposition(Matrix_MathNetNumerics A)
Constructor.
Definition: MatrixDecompositions.cs:1133
String ErrorString
Error string indicating what went wrong.
Definition: FunctionScalarResultsInt.cs:204
static void SetRandom(IRandomGenerator rand, int length, int upperBound, ref IndexList indices)
Creates a prescribed number of unique random indices in the specified range by using the specified ra...
Definition: IndexList.cs:184
static int _nextPointId
Definition: PointContainer.cs:210
void Sort()
Sorts the internal list of items. NOT thread safe.
Definition: SortedUniqueItemList.cs:185
virtual void SpecificTypeConverter_RoundTripConversion_StringWithUnderscoresToDoubleObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:136
static double RandGauss(double mean, double standardDeviation)
Returns a Gaussian distributed random number with the specified mean and standard deviation.
Definition: UtilMath.cs:1124
IVector Solve(IVector b)
Solves a system of linear equations A*x=b, and returns the solution.
Definition: MatrixDecompositions.cs:300
static Matrix3d operator/(Matrix3d a, double b)
Division of a 3D matrix by a scalar.
Definition: Matrix3DClass.cs:825
override double f3(double x, double y)
Definition: Function3d2d.cs:820
abstract VectorBase GetCopyBase()
Creates and returns a copy of the current vector. WARNING: This method should be overridden in the de...
void AddBindersInternal(params SerializationBinderBase[] binders)
Adds the specified binders at the end of the ordered set of contained binders (ContainedBindersPrivat...
Definition: SerializationBinderCascaded.cs:105
static readonly PhysicalConstant SunSurfaceTemperature
Sun temperature, 5778.0 K.
Definition: Constants.cs:1758
override int NumNodes
Returns the number of grid points.
Definition: Mesh.cs:247
override int RowCount
Gets the first dimension (number of rows) of the 3D matrix, i.e. 3.
Definition: Matrix3DClass.cs:287
delegate double DlgFunctionValue(double x)
Represents real function of real variable.
PointType Point
Point that is enclosed by the current point container object.
Definition: PointContainer.cs:21
int _stackLevel
Definition: CommandlineApplicationInterpreterBase.cs:412
string _outputBaseDirname
Definition: SimKosecFileManagerBase.cs:271
static object LockStatic
Locking object for static methods and properties of this class.
Definition: UtilCrypto.cs:55
2D structured mesh in 3D.
Definition: StructuredMesh2d3d.cs:15
void Append(string str)
Appends the specified string at the end of the buffer.
Cloud of points where each point is represented by the IVector object, contains a list of containers ...
Definition: PointCloudSampledDataElement.cs:14
static int NumLinearBasisFunctions(int dimension)
Returns number of basis functions in linear polynomial basis of the specified dimenson....
Definition: ApproxBasis.cs:35
static string GetDomainName()
Returns the network domain name associated with the current user.
Definition: UtilSystem.cs:239
virtual string CmdPipeServerInfo(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints and returns inormation on the installed named pipe servers. Optional command argument...
Definition: CommandlineApplicationInterpreter.cs:5594
const double DefaultExecutionTimeSeconds
Definition: SpeedTestInfo.cs:116
int ObjectId
Process-wide unique object ID. This ID is unique across all objects of classes inheriting from Global...
Definition: IGlooballyIdentifiable.cs:38
virtual void SetParameters(IVector value)
Sets the vector of optimization parameters. If CopyReferences=true (false by default) then only the r...
Definition: AnalysisResults.cs:416
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealBasic.cs:139
double InverseTransformedArgument(double x)
Definition: FunctionReal.cs:805
WaitCondition()
Creates event waiter with properties initialized to default values.
Definition: WaitCondition.cs:139
static NumberOperationsComplex Instance
Gets a global instance of NumberOperationsComplex that can be used anywhere it is needed....
Definition: NumberOperationsComplex.cs:96
static bool AsymEncryptionDecryptionTest(string testString, AsymmetricAlgorithm algEnc, AsymmetricAlgorithm algDec=null)
Tests whether the specified asymmetric algorithm(s) correctly encrypts/decrypts the specified string.
Definition: UtilCrypto.cs:4692
double x
Definition: vec3.cs:11
color(double r, double g, double b, double opacity)
Creates a new color with specified red, green and blue components and opacity.
Definition: Color.cs:33
bool _isStringInput
Definition: UilCryptoAux1.cs:281
void Read(string name)
Reads this 3D matrix components from a console.
Definition: Matrix3D.cs:1082
Example classes of type Func3dBase.
Definition: Function3d.cs:645
virtual string CmdNameSetVarDouble
Command name - setting a double variable.
Definition: InterfaceInv.cs:102
StreamReader _inputStream
Definition: IpcPipes.cs:261
override Type BindToType(string assemblyName, string typeName)
Specifies the mapping of assemblyName and typeName of the serialized object into a type of an objec...
Definition: SerializationBinderCascaded.cs:146
void CopyTo(ref Type obj)
Copies data from the current DTO to an object of type Type. Object is created anew if necessary by us...
void IEnumerableElementTypeRetriavalProducesNullForNullArgument()
Definition: IGLibCoreReflectionTests.cs:29
const ReportLevel DefaultLoggingLevel
Definition: ReporterMsg.cs:2612
GridGenerator1dFunc()
Creates a uniform 1D grid generator that generates two nodes at 0 and 1.
Definition: GridGenerator1dFunc.cs:20
string _genericResponse
Definition: IpcStreamClientServerBase.cs:645
virtual InputOutputDataDefinitonDto ZDataDefinition
Definition: VectorFunctionDto.cs:140
static bool IsTextFile(string filePath, out Encoding encoding)
Detects if the specified file is a text file and detects the encoding.
Definition: UtilSystem.cs:4325
override string ToString()
Definition: WaitConditionFile.cs:456
SerializationBinderCascaded Add(IEnumerable< SerializationBinderBase > binders)
Adds the specified binders at the end of the ordered set of contained binders, and returns the curren...
Definition: SerializationBinderCascaded.cs:51
static void CopyPlain(IMatrix a, Matrix_MathNetNumercs result)
Copies components of a matrix to another matrix. This is a plain version of the method that does not ...
Definition: MatrixBase.cs:1655
double ScalingFactor
Scaling factor by which the whole generated grid is scaled. This enables the generated grid to extend...
Definition: GridGenerator1d.cs:119
int InterpreterId
Gets ID of the interpreter where the command is registered.
Definition: Interpreter.cs:81
static string ToReadableString(this string str)
Converts a string to a readable string.
Definition: CollectionExtensions.cs:237
virtual double InputBoundsSafetyFactor
Safety factor by which interval lenghts of input data bounds are enlarged after bounds are automatica...
Definition: NeuralApproximatorBase.cs:1634
UnstructuredMeshGeometry2d(int numElements)
Creates a new unstructured grid with the specified number of elements.
Definition: UnstructuredMeshGeometry2dGeneric.cs:26
void StorePrompt(string prompt)
Stores a string (prompt) to the end of the list of stored prompts.
Definition: CommandlineApplicationInterpreterBase.cs:1885
string Description
Description of the parameter, usually a short one, as it may be used in documentation describing the ...
Definition: IModelParameter.cs:60
const string KeyTextLoggerIndentSpacing
Definition: ReporterMsg.cs:2334
virtual string Description
Scalar function description.
Definition: VectorFunctionScriptController.cs:72
IModelParameter ClearValue()
Clears the value of the current parameter, making it undefined (IsValueDefined becomes false).
static Assembly[] LoadAssemblies(string[] fullNames, int outputLevel=2, bool reflectionOnly=false)
Loads all the assemblies specified by arguments, and returns the array of loaded assemblies.
Definition: UtilSystem.cs:3004
List< string > AppCryptoHelpStrings
List of help strings corresponding to installed cryptographic commands.
Definition: ScriptAppBase.cs:1101
TScalarField _activeScalarField
Definition: UnstructuredMesh1dGeneric.cs:233
List< IGraphicPrimitive > _childPrimitives
Definition: GraphicalObjectsBase.cs:49
string _Release
Definition: App.cs:697
static void FromByteArray(byte[] bytes, out byte val, int startIndex=0)
Extracts the value stored in a byte array in the big-endian order.
Definition: Utils.cs:1937
static int GetLargestSymmetricAlgorithmKeySize(SymmetricAlgorithm algorithm)
Returns the largest possible key siye, in bits, for the spcified symmetric encryption algorithm.
Definition: UtilCrypto.cs:1873
abstract void CloseOutput()
Closes the outut stream.
static void Example()
A short example of how to use mat3 and vec3 structs.
Definition: Matrix3D.cs:1099
override double RefDerivative(double x)
Returns the first derivative of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:1457
ResultType Result
Result of the current job.
Definition: ParallelJobContainerGen.cs:116
void Init()
Definition: UtilTime.cs:52
virtual double MaxRelativeLatency
Maximal relative latency of waiting procedure. Sleeping time chosen between two successive condition ...
Definition: WaitCondition.cs:274
bool _throwExceptionsOnDataErrors
Definition: SampledDataCsv.cs:1450
List< SampledDataElement > GetElementList()
Definition: SampledData.cs:112
const string FileCurrentDirectory1
Definition: ScriptAppBase.cs:932
string _independentVariableName
Definition: ScalarFunctionScriptBase.cs:90
MatrixDtoBase _objectiveHessian
Definition: AnalysisResultsDto.cs:229
bool RemoveTextLogger(Stream stream)
Removes the first object from Loggers whose TextWriter has been created form the specified stream....
Definition: ReporterMsg.cs:5250
void GenerateCoordinates(int dimx, int dimy, double minxRef, double maxxRef, double minyRef, double maxyRef)
Generates an (unconnected) unstructured grid of nodes based on a 2D regular grid with grid directions...
Definition: UnstructuredMesh2d.cs:124
CylinderParametric(double a, double b, double h)
Constructs parametric definition of an origin-centered ellipsoid with the specified values of half-ax...
Definition: Function3d2d.cs:910
static void GenerateCoordinates(StructuredField2d< vec3 > field, double minxRef, double maxxRef, double minyRef, double maxyRef, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping nodes of a regular 2D structu...
Definition: StructuredField2dGeneric.cs:483
bool IsUniformJaggedArray(Array array)
Checks if all subarrays at each level of a jagged array have equal lengths.
Definition: CollectionTypeConverter.cs:271
FieldCollection2d< TTensorField, TTensor > _tensorFields
Definition: StructuredMesh2dGeneric.cs:534
Tests of the basic type converter (BasicTypeConverter, implementation of the ITypeConverter interface...
Definition: CollectionTypeConverterTests_DifferentElementTypes.cs:23
static long binomial(long n, long k)
Returns binomial coefficient n over k .
Definition: UtilMath.cs:624
void start(int threadCounter)
Definition: PortScanner.cs:40
ParallelJobServerGen()
Definition: ParallelJobContainerGen.cs:610
void Update(params vec3[] points)
Updates the bounding box in such a way that all specified points fit in it.
Definition: BoundingBox.cs:1600
static bool IsNumeric< ObjectType >(ObjectType obj)
Returns a flag indicating whether the specified object is of numeric type (such as int,...
Definition: Utils.cs:2720
PointContainerType _referencePoint
Definition: DistanceComparer.cs:278
bool ReqConstraintGradients
Indicates whether calculation of constraint functions gradient is/was requested.
Definition: AnalysisResutlsInt.cs:360
double _scaleY
Definition: FunctionReal.cs:842
override object ConvertToType(object value, Type targetType)
Converts a value to the specified target type, supporting collections. Conversion is bsed on the actu...
Definition: CollectionTypeConverter.cs:35
bool BreakTraining
Flags that signalizes (if true) that training should be broken on external request.
Definition: NeuralApproximatorBase.cs:2472
override string ToString()
Definition: SampleClasses.cs:78
virtual bool UseConsole
Gets or sets the flag specifying whether reporting using the system console is performed or not.
Definition: ReporterMsg_Derived.cs:103
bool _calcConstraintHessians
Definition: AnalysisResults.cs:238
IAnalysis Analysis
Optimization analysis object used to calculate response function (objective and constraint functions ...
Definition: OptFileAnalaysisServer.cs:84
virtual int OutputLevel
Level of output generated by operatins.
Definition: ClientServerStreamBase_Copy.cs:402
Vector3d RowY
Gets or sets the y-row of the 3D matrix.
Definition: Matrix3DClass.cs:460
override void Init()
Initializes internal variables. Called at the beginning of all constructors.
Definition: SimKosecFileManager.cs:201
static bool operator==(ImplicitlyConvertibleFromDerived lhs, ImplicitlyConvertibleFromDerived rhs)
Definition: SampleClasses.cs:310
List< KeyValueSortable< string, char > > _characterReferences
Definition: StringParser.cs:205
void SetParameter(int index, double value)
Sets the specified optimization parameter.
virtual void Script_PrintArguments(string messageString, string[] arguments)
Prints the specified array of string arguments (usually passed as command-line arguments).
Definition: LoadableScriptBase.cs:762
static new xdouble E
Natural logarithmic base.
Definition: UtilMath.cs:1563
IAnalysisResults CurrentGuess
Results of the current guess (usually last analysis that has been performed).
Definition: OptimizationResults.cs:45
const string CryptoHelpGetKey
Definition: ScriptAppBase.cs:1277
virtual void StartAnalysisBlock()
Appends beginning of analysis block to the interpreter file contents.
Definition: InterfaceInv.cs:253
int NumHiddenNeuronsFirstNum
Number of numbers of hidden neurons in first hidden layer.
Definition: SerializationDtoNeural.cs:834
static string GetAssemblyFileName(Assembly assembly)
Returns file name of the specified assembly.
Definition: UtilSystem.cs:3032
override double NormEuclidean
Get Forbenius (or euclidean) norm of the matrix - square root of sum of squares of components.
Definition: Matrix2DClass.cs:533
Vector2d GetNewVectorThis(int length)
Creates and returns a new vector with the specified dimension, and of the type that is consistent wit...
Definition: Matrix2DClass.cs:475
override string ToString()
Saves buffer contents to string and returns it.
Definition: StringParserBuffer.cs:229
Definition: TestBase.cs:8
double _defaultNeuronMinInput
Definition: NeuralApproximatorBase.cs:1432
static ThreadPriority ThreadPriority
Global thread priority.
Definition: UtilSystem.cs:2011
CommonType Coverted
Like TypeConverter_ConversionToObjectAndBackTest<OriginalType, TargetType, RestoredType>(OriginalType...
Definition: TypeConverterTestsBase.cs:42
static double Root2(double a)
Returns the square root of a specified number.
Definition: UtilMath.cs:1095
static color Mixture(double weight1, color color1, double weight2, color color2)
Returns additive mixture (linear combination) of two colors.
Definition: Color.cs:376
void SetGradientsReference(List< IVector > reference)
Sets function gradients. Only the list reference is copied.
string[] _oneCommandArgument
Definition: SimKosecFileManagerBase.cs:1455
override double StartParameter
Definition: ConicalSpiralLogarithmic3D.cs:49
string _functionInputPath
Definition: NeuralFileManager.cs:857
bool disposed
Definition: HtmlWriter.cs:865
byte[] _saltBytes
Definition: UtilCryptoAux.cs:752
IBoundingBox OutputNeuronsRange
Gets the range of the data output from output neurons, used for scaling from actual output to output ...
Definition: NeuralApproximatorBase.cs:358
virtual string CmdPipeClientGetServerResponse(CommandThread cmdThread, string cmdName, string[] args)
Command. Sends the specified command to the corresponding pipe serverr and reads and returns its resp...
Definition: CommandlineApplicationInterpreter.cs:5877
int NumErrors()
Returns number of error logs that logger contains.
Definition: LoggerMsg.cs:425
IVector _referencePoint
Definition: SampledData.cs:931
virtual color GetCellColor(int cellIndex)
Returns the (discrete) color corresponding to the specified cell index. If the index is out of range ...
Definition: ColorScale.cs:551
virtual TIndexField CreateIndexField(string fieldName, string fieldDescription)
Creates and returns a new index field of dimensions that match dimensions of the current structured m...
Definition: StructuredMesh3dGeneric.cs:159
TIndexField GetIndexField(int index)
Returns the index field with the specified index.
Definition: StructuredMesh2dGeneric.cs:134
Matrix2d Multiply(double b)
Multiplies the current 2D matrix with the specified scalar and returns the product.
Definition: Matrix2DClass.cs:636
const string ProcessHelpKillProcesses
Definition: ScriptAppBase.cs:4814
LoadableRealFunctionBase CreateRealFunction(double Kx, double Sx)
Creates and returns an instance of dynamically compiled real function object.
Definition: RealFunctionScriptLoader.cs:625
static Lazy< TubularMeshGenerator > _global
Definition: TubularMeshGenerator.cs:16
double StartParameter1
Definition: KleinBottle.cs:78
ILoadableScript CreateObjectFromFile(string filePath, string className, string[] initializationArguments)
Creates and returns a loadable script object form a file containing its code.
Definition: Loader.cs:1680
void SetConstraintHessianReference(int which, IMatrix reference)
Sets the specified constraint function's Hessian. Only the reference is copied.
static string GetNameSpaceUri0(XmlElement element, string NamespaceAttributeName)
Gets the namespace URI introduced by a particular attribute, if defined, for the specified Xml elemen...
Definition: XmlUtilities.cs:951
virtual void SpecificTypeConverter_RoundTripConversion_DoubleToDoubleObjectToDouble_IsCorrect()
Definition: BasicTypeConverterTests.cs:68
static void ExportMaterial(string filePath, MaterialProperties material)
Exports a material file based on the provided material properties.
Definition: MeshExportExtensions.cs:113
void MultiplyByScalar(ElementType s, IVector< ElementType > result)
Definition: VectorBase.cs:315
virtual IModelParameter UpdateDefaultValue(object newDefaultValue)
Updates the default value of the current parameter object, setting it to newDefaultValue ....
Definition: ModelParameter.cs:235
virtual void SetGetGlobalVariableValue(string varName, string varValue)
Assigns value to the specified global variable, if such a global variable exists.
Definition: CommandlineApplicationInterpreter.cs:511
virtual double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionReal.cs:924
VectorDtoBase _parameters
Definition: AnalysisResultsDto.cs:49
bool TryConvertTyped(TSource source, out TTarget target)
Converts the parameter source to the target type (TTarget , or equivalently, TargetType),...
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:636
string _msgNeuralInputReadyPath
Definition: NeuralFileManager.cs:155
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: SerializationDtoNeural.cs:806
virtual string CmdBlock(CommandThread cmdThread, string cmdName, string[] args)
Command. Enters a new command block. Optional arguments specify whether commands in the block are rea...
Definition: CommandlineApplicationInterpreter.cs:3460
int NumParameters
Number of parameters.
Definition: OptimizationInputData.cs:91
static void MapCoordinatesReferencePlain(StructuredField2d< vec3 > referenceField, StructuredField2d< vec3 > targetField, IFunc2d fx, IFunc2d fy, IFunc2d fz)
Generates coordinates of a 2D structured grid embedded in 3D by mapping first two coordinate componen...
Definition: StructuredField2dGeneric.cs:283
static bool operator==(ImplicitlyConvertibleToDerived lhs, ImplicitlyConvertibleToDerived rhs)
Definition: SampleClasses.cs:187
static void KillAllProcesses(string processName)
Kills all running process have the specified process name.
Definition: UtilSystem.cs:900
WeightPol5()
Definition: FunctionRealWeight.cs:849
static void LoadBinary(string filePath, ref SampledDataSet dataDefRestored)
Restores sampled data from the specified file in binary format.
Definition: SampledData.cs:1067
Various vector function examples.
Definition: FunctionVectorExamples.cs:14
void EnterArrayScope()
Definition: JsonPPStrategyContext.cs:126
int NumParameters
Number of parameters of an optimization problem.
Definition: AnalysisResultsDto.cs:65
double MaxZ
Gets the upper bound in the third coordinate.
Definition: BoundingBox.cs:1583
virtual string CmdRead(CommandThread cmdThread, string cmdName, string[] args)
Command. Reads value of the specified variable from console. Variable name must be the first argument...
Definition: CommandlineApplicationInterpreter.cs:4167
VectorFunctionScriptController(int numParameters, int numValues)
Constructor, prepares the current object for storing a vector function definition of the specified di...
Definition: VectorFunctionScriptController.cs:944
int OutputLevel
Level of output for some of the interpreter's functionality (e.g. asynchronous command execution).
Definition: CommandlineApplicationInterpreterInterface.cs:69
string _keyNumOutputValues
Definition: SampledDataCsv.cs:551
void NullProperties_ShouldRoundTrip()
Definition: ToStringTypeConverterViaJsonEdgeTests.cs:185
void Sort(List< PointContainerType > list)
Sorts a list of point containers with the current comparer.
IVector ErrorsTrainingRms
RMS errors calculated on training data.
Definition: NeuralTrainingParameters.cs:453
static IndexList CreateRandomPermutation(int length)
Creates and returns a random permutation of the specified length.
Definition: IndexList.cs:56
override int NumCoordinates
Definition: GrObjects.cs:373
virtual vec2 Gradient1(vec2 parameters)
Calculates and returns gradient of the first component of the current function.
Definition: Function3d2d.cs:345
const string NeuralTrainingDataFilename
Training data.
Definition: NeuralFileConst.cs:49
static double cth(double x)
Hyperblic cotangent, 1/Math.Tanh.
Definition: UtilMath.cs:513
VectorDtoBase ErrorsVerificationRms
RMS errors calculated on verification data.
Definition: SerializationDtoNeural.cs:209
static IMatrix LdltExtractDiagonal(IMatrix matLdlt, ref IMatrix result)
Extracts the diagonal part of the specified LDLT decomposition and stores it in the specified result ...
Definition: MatrixBase.cs:6323
override StreamReader InputStream
Input stream of the server.
Definition: NamedPipes_Copy.cs:250
override bool ValueDefined
Definition: FunctionVectorFromScalar.cs:92
Linear function, f(x) = a1*x + a0. Specific properties: Zero - returns a zero. HasZero - either the f...
Definition: FunctionRealInterpolation.cs:61
double Inverse(double y)
Returns Inverse of the current function applied to function argument. Throws an exception if the inve...
static readonly PhysicalConstant f
femto- (f), SI prefix for 10^-15.
Definition: Constants.cs:769
int Dim1
Returns the first dimenson of the structured mesh (number of mesh points in the first direction).
Definition: StructuredField3dGeneric.cs:166
int _numHiddenNeuronsFirstMax
Definition: NeuralTrainingParameters.cs:1664
virtual string WorkingDirectory
Working directory. This directory is a base directory for data used by the script....
Definition: LoadableScriptOpt.cs:130
override bool ValueDefined
Tells whether the first derivative is defined for this function (by implementation,...
Definition: FunctionScalarExamples.cs:1071
string DerivativeDefinitionString
Expression that defines function derivative.
Definition: RealFunctionScriptLoader.cs:308
bool AsyncIsCompleted(int id)
Returns true if the asynchronous command execution identified by id has completed,...
Definition: CommandlineApplicationInterpreter.cs:2523
void InitControllable()
Initialiyes the control flags of the script.
Definition: LoadableScriptOpt.cs:296
static readonly PhysicalConstant MoonEarthDistance
Moon Earth distance - average distance to Earth (cent. mass), 384,400 km.
Definition: Constants.cs:1671
GraphicPrimitiveType _type
Definition: GraphicalObjectsBase.cs:127
double GetParameter(int index)
Returns specific optimization parameter. Throws exception if not defined or index out of bounds.
static byte[] FromHexString(string hex)
Returns a byte array that is represented by a hexadecimal string.
Definition: Utils.cs:2417
XmlNode NextOrCurrentNode(XmlNodeType NodeType)
Moves the current node to the current or the first sibling node after the current node that is of the...
Definition: XmlUtilities.cs:2206
static VectorBase()
Static constructor. Registers vector factories for many known vector types, including for the generic...
Definition: VectorBase.cs:536
List< IScalarFunction > ScalarFunctions
Definition: FunctionVectorFromScalar.cs:34
double Det
Gets matrix determinant.
Definition: Matrix2D.cs:617
static void ExportMaterialFile(string mtlFilePath, string materialName)
Creates a simple MTL file for OBJ materials.
Definition: MeshExportExtensions_02.cs:61
virtual void Test()
Performs numerical tests with parameters adjusted for specific function. This function can be be over...
Definition: FunctionReal.cs:389
static ProcessPriorityClass ThreadToProcessPriority(ThreadPriority threadPriority)
Converts the specified ThreadPriority enum value to the approcimately equivalent ProcessPriorityClass...
Definition: UtilSystem.cs:1967
static void SaveJson(IMatrix mat, string filePath, bool append)
Saves (serializes) the specified matrix to the specified JSON file.
Definition: MatrixBase.cs:5073
static string _defaultServerAddress
Definition: NamedPipes_Copy.cs:462
Type TargetType
Definition: ToStringTypeConverterViaParseReflection.cs:15
ReportSource MsgSource
Indicates the source of the message (such as client, server, web service, etc.)
Definition: ReporterMsg.cs:5677
object _mainLock
Definition: DistanceComparer.cs:268
IAnalysis _analysis
Definition: OptFileManager.cs:1221
void CopyFrom(Type obj)
Copies data to the current DTO from an object of type Type.
virtual void ParseCommandlineParameters(string appName, string[] args)
Reads parameters for cryptographic operations to be performed from the specified command line.
Definition: UilCryptoAux1.cs:524
bool DebugMode
Indicates that reporting suitable for debugging mode should be performed. A standard flag that can be...
Definition: ReporterMsg.cs:2465
vec3 CurveDerivative(double t)
3D vector function of scalar argument, which represents the derivative of Curve with respect to param...
void AddCommandFromFile(string commandName, string filePath, string className, string[] initializationArguments)
Adds a new command whose execution is perfomed by an instance of a class that is dynamically compiled...
Definition: LoadableScriptInterpreter.cs:158
static IVectorFactoryRegistry< IVector > Factories
Registry of vector factories for different types of vectors.
Definition: VectorBase.cs:524
int NumParam
Gets number of parameters.
Definition: Function3d2d.cs:441
Jint.Engine JsEngine
JavaScript execution engine.
Definition: ExpressionEvaluatorJint.cs:107
virtual double MegaExecutionsPerSecond
Result: number of millions of executions per second measured in the test, easier to read for most tes...
Definition: SpeedTestInfo.cs:144
static double DeterminantSlow(IMatrix A)
Simpler but slower (compared to Determinant) implementation of determinant calculation of an arbitrar...
Definition: MatrixBase.cs:5265
static void CholeskyInverse(IMatrix CholeskyMatrix, ref IVector auxX, ref IMatrix res)
Calculates inverse of the matrix from its specified Cholesky decomposition.
Definition: MatrixBase.cs:6738
VectorDtoBase[] _constraintGradients
Definition: AnalysisResultsDto.cs:227
string _cssPath
Definition: HtmlWriter.cs:157
bool _isModule
Definition: App.cs:690
Uniform random number generator.
Definition: Random.cs:20
static void DividePlain(IVector a, double scal, IVector result)
Division of a vector by a scalar. This is a plain version of the method that does not perform any con...
Definition: VectorBase.cs:1818
static string ToStringMathRequest(this IAnalysisResults anres)
Returns a string representation of the current analysis request object in a standard IGLib form (Math...
Definition: AnalysisResults.cs:44
void AsyncRunCallback(IAsyncResult ar)
Callback method for asynchronous command executions.
Definition: CommandlineApplicationInterpreter.cs:2636
virtual GrPrimitiveSettings EffectiveSettings
Definition: GrObjects.cs:348
string _mappingDefinitionFilename
Definition: NeuralFileManager.cs:853
string SimulationDataDefinitionPath
File path of the input and output data definition file for simulator. Setter takes only pure file nam...
Definition: NeuralFileManager.cs:222
void xxxx_to_delete()
Definition: Utils.cs:3304
Class that represents a scalar function of 2 variables that is the first component of the specified 3...
Definition: Function3d2d.cs:549
static readonly NoopDisposable Instance
Definition: TestBase.cs:84
override bool HigherDerivativeDefined(int order)
Tells whether the derivative of the given order is defined for this function (by implementation,...
Definition: FunctionRealInterpolation.cs:211
virtual void TabAn2d(IVector pont0, IVector point1, IVector point2, int numPoints1, bool centered1, double factor1, double scaling1, int numPoints2, bool centered2, double factor2, double scaling2)
Definition: InterfaceInv.cs:613
static xdouble atan2(xdouble a, xdouble b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1646
static xdouble Max(xdouble a, xdouble b)
Returns the larger of two numbers.
Definition: UtilMath.cs:1750
List< IAsyncResult > _asyncCommandResults
List of asynchronous results objects from individual asynchronous executions.
Definition: CommandlineApplicationInterpreter.cs:2397
static Quadratic GetQuadraticInterpolation2der(double x1, double y1, double d1, double x2, double y2, double d2)
Creates and returns quadratic interpolation function with specified two function values and two appro...
Definition: FunctionRealInterpolation.cs:313
static byte[] GetValidSymmetricAlgorithmIV(byte[] IV, SymmetricAlgorithm algorithm)
For the specified symmetric encryption algorithm, this function takes the specified initialization ve...
Definition: UtilCrypto.cs:1851
static Vector3d BasisVector(int i)
Generates an 3-dimensional unit vector for i-th coordinate.
Definition: Vector3Dclass.cs:320
static void ExampleCsv()
Example of using CSV format utilities.
Definition: UtilCsv.cs:656
vec3 Add(vec3 a)
Returns sum of the current vector and the specified vector.
Definition: Matrix3D.cs:230
double ToleranceMaxRelativeToRangeScalar
Scalar through which all components of the Relative tolerances on max. abs. errors of outputs can be ...
Definition: SerializationDtoNeuralApproximator.cs:117
int start
Definition: PortScanner.cs:407
static void Run(string[] args)
A Console type Multi Port TCP Scanner Author : Philip Murray
Definition: PortScanner.cs:230
void GetErrorsVerificationRms(ref IVector errors)
Calculates the RMS (root mean square) of the errors of output values for the verification elements of...
Definition: NeuralApproximatorBase.cs:2335
const string SystemMACAddress
Definition: ScriptAppBase.cs:3747
ModelParameterTests(ITestOutputHelper output)
Calling base constructor initializes things like TestBase<TestClass>.Output and TestBase<TestClass>....
Definition: ModelParameterTests.cs:26
virtual void AllocateConstraintHessian(int which)
Allocates space for the specified constraint fucnction's Hessian.
Definition: AnalysisResults.cs:956
void Update(Vector3d coordinates)
Updates the bounding box in such a way that the specified co-ordinates fit in it.
Definition: BoundingBox.cs:1612
int IndexOf(T item)
Definition: SampleClasses.cs:483
override void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
Definition: FunctionScalarExamples.cs:804
List< KeyValueSortable< char, char > > _escapeSequences
Definition: StringParser.cs:202
string _asymAlgorithmTypeString
Definition: UilCryptoAux1.cs:211
virtual Matrix_MathNetNumerics CopyMathNetNumerics
Gets the internal MathNet.Numerics representation of the current matrix. Representation is created on...
Definition: Matrix.cs:757
double[] Params1
Definition: StructuredMesh3D_04.cs:20
override string Name
Client name. The same as pipe name.
Definition: IpcPipes.cs:523
SerializationTestArrayMember[,] _rectangularArray2d
Definition: SerializerBase.cs:762
void TestSpeedBlockCreateRemove(string filePath)
Test of speed of reaction of file/directory creation and removal blocking waits. A specified number o...
Definition: WaitConditionFile.cs:1303
static void ExampleBlockCreateRemove(string filePath)
Monitors the specified file and successively blocks until it is created and then until it is removed....
Definition: WaitConditionFile.cs:521
bool PrintNotes
If true then various events and actions will be notified by console output (for testing purposes only...
Definition: WaitConditionFile.cs:47
static void SaveCsv(string filePath, string[][] values, string separator, bool append)
Saves a 2D jagged array of string cell values into a CSV file.
Definition: UtilCsv.cs:394
static bool operator!=(Complex a, Complex b)
Complex comparison.
Definition: Complex.cs:591
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealWeight.cs:1094
int _numx
Definition: Mesh.cs:223
static string GetAssemblyVersion(Assembly assembly, int numLevels=2)
Returns version (from the file info) of the specified assembly.
Definition: UtilSystem.cs:3065
override void Wait()
Waits for condition to be fulfilled.
Definition: WaitConditionFile.cs:679
static int CombineHashes(params int[] hashes)
Definition: HashCodeHelper.cs:70
static void KillAllApplications(string processName, bool caseSensitive, bool isFullString)
Kills all running applications that have the specified process name.
Definition: UtilSystem.cs:1440
override void GetBytesInternal(int numBytes, ref byte[] outputBytes)
Returns the next generated key of the specified length.
Definition: UtilCryptoAux.cs:1042
static void MultiplyInverseDiagonal(IVector diag, IMatrix a, IMatrix result)
Right-multiplies a matrix with inverse of a diagonal matrix, and stores the result in the specified r...
Definition: MatrixBase.cs:4542
bool _calculateVerificationErrors
Definition: NeuralApproximatorBase.cs:2477
static xdouble lg(xdouble a)
Returns the base 10 logarithm of a specified number.
Definition: UtilMath.cs:1726
string getDefinitionString(string[][] definitions, int ind1, int ind2)
Returns the specific definition string out of a 2D jagged array of definitions, or null if the specif...
Definition: ScalarFunctionScriptLoader.cs:768
static void SaveCsv(IVector vec, string filePath, string separator)
Saves the specified vector to a CSV file. It the specified file already exists then it is overwritten...
Definition: ScalarFunctionScriptController.cs:1019
static void MapCoordinates1dPlain(Field< vec2 > referenceField, Field< vec2 > targetField, IRealFunction fx, IRealFunction fy)
Generates coordinates of a set of unstructured 2D points (point cloud) from a reference set according...
Definition: FieldGeneric.cs:736
int _epochInBundle
Definition: NeuralTrainingParameters.cs:160
Ellipsoid(double a=aDefault, double b=bDefault, double c=cDefault)
Constructor - ellipsoid with half-axes a , b and c , which define ptoperties a, b and c.
Definition: Ellipsoid.cs:20
VectorFunctionResults()
1 parameter, 1 function. No gradients required
Definition: FunctonVectorResults.cs:35
int _numConstraints
Definition: AnalysisResults.cs:189
void Dummy()
Definition: App.cs:916
Constants for standard tests based on numerical calculation of finite geometric series.
Definition: UtilSpeedTesting.cs:183
Surface that is a graph of the function z/c=x^2/a^2-y^2/b^2.
Definition: Function3d2d.cs:828
CommandStackFrame _globalAuxiliaryFrame
Definition: CommandlineApplicationInterpreter.cs:225
virtual int InputLength
Returns number of input parameters of the current sampled data element.
Definition: SampledData.cs:60
bool IsDefinitionKey(string str)
Returns a value indicating whether the specified string is a keyword for a field that is a part of th...
Definition: SampledDataCsv.cs:386
List< TextWriter > TextWriterWriters()
Returns a list of all text writers that are currently used by the reporter's text writer....
Definition: ReporterMsg.cs:4457
void AddScalarField(string fieldName, string fieldDescription)
Creates a new scalar field of dimensions that match dimensions of the current 3D structuredmesh,...
Definition: UnstructuredMesh3dGeneric.cs:319
static int _nextId
Definition: ParallelJobServerBase.cs:108
object _lockObj
Definition: GridGenerator1dBase.cs:250
virtual void SetGridCoordinate(int i, vec3 coordinates)
Sets coordinates of the specified grid point to the provided values. Indices run contiguously from 0 ...
Definition: Mesh.cs:114
override double f2(double u, double v)
Definition: Function3d2d.cs:1617
void Add(Type[] items)
Adds the specified table of items to the current list. Items are added one by one,...
Definition: SortedUniqueItemList.cs:290
static VectorRetType operator-(VectorBase< ElementType, VectorRetType > a)
Definition: VectorBase.cs:817
Definition: ParserBase.cs:9
override int NumParameters
Gets number of parameters that define the current function out of parametric family of scalar functio...
Definition: FunctionScalarParametric.cs:220
abstract TTarget ConvertTyped< TTarget >(TSource source)
int NumCells
Number of cells in discrete color scale.
Definition: ColorScale.cs:113
Definition: JsonExtensions.cs:17
static Type GetEnumerableElementType(Type enumerableType)
Definition: TypeConversionHelperObsolete.cs:147
virtual string ValueDefinitonString
Definition of function value.
Definition: ScalarFunctionScriptController.cs:104
SortedList< string, TField > _fields
Definition: FieldCollectionGeneric.cs:170
double a
Definition: Function3d2d.cs:1125
const string AutoGlobalName
Definition: CommandlineApplicationInterpreter.cs:283
override bool IsServerPipelineConnected()
Returns true if server pipe is connected, .
Definition: NamedPipes_Copy.cs:187
static void ToByteArray(UInt64 val, byte[] bytes, int startIndex=0)
Converts a value to sequence of bytes and stores these bytes int the specified byte array at the spec...
Definition: Utils.cs:1676
delegate void ParallelJobCallbackGen< InputType, ResultType >(ParallelJobContainerGen< InputType, ResultType > jobContainer)
Callback delegate that can be assigned to job container for execution at various notification events ...
bool IsNonSingular
Indicates whether the matrix of coefficients of a linear system is nonsingular.
Definition: MatrixDecompositions.cs:639
virtual double NormEuclidean
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Definition: MatrixBase.cs:733
void SetNumValues(int num)
Sets number of values of the vector function to the specified value.
Definition: FunctionVectorBaseGeneral.cs:87
LoadableScriptInterpreterBase _loadableScriptInterpreter
Definition: CommandlineApplicationInterpreter.cs:2859
abstract CommandStackFrameBase GetStackFrameBase(int level)
Returns the stack frame of the specified level for the current thread.
Definition: IParserHelper.cs:10
override double f3(double t, double r)
Definition: Function3d2d.cs:1476
virtual string CommandDirectory
Gets or sets the directory where command file will be located.
Definition: InterfaceInterpreterBase.cs:154
static string CreateFunctionDefinitionsString(string[] definitionsArray, string separator, bool insertNewLines=false, bool insertSpaces=true)
Construct a delimited string cotaining function definitons, from the specified array of individual st...
Definition: ScalarFunctionScriptController.cs:543
void IEnumerableElementTypeIsRetrievedCorrectlyForNestedArraysOfGenericCollections()
Definition: IGLibCoreReflectionTests.cs:139
TTensorField _activeTensorField
Definition: UnstructuredMesh1dGeneric.cs:543
double _doubleNumber
Definition: SerializerBase.cs:680
double Determinant
Returns the determinant.
Definition: MatrixDecompositions.cs:1222
override void ReferenceGradientPlain(IVector parameters, IVector gradient)
Calculates the first derivative (gradient) of this function at the specified parameter in the referen...
Definition: FunctionScalarExamples.cs:1186
virtual string FileFunctionStandardPath(string appName, string[] args)
Executes embedded application - writing to the console information about file events for the specifie...
Definition: ScriptAppBase.cs:902
virtual void SetLineColor(int which, Color color)
Sets the specified line color of the graphic primitive.
Definition: GraphicalObjectsBase.cs:205
void AddVectorField(TVectorField field, string name)
Adds the specified vector field to the collection of vector fields under the specified name.
Definition: UnstructuredMesh1dGeneric.cs:486
virtual string CmdTryRun(CommandThread cmdThread, string cmdName, string[] args)
Command. Runs another command in a try-catch block, such that if command throws an exception executio...
Definition: CommandlineApplicationInterpreter.cs:4330
static double arctan2(double a, double b)
Returns the angle whose tangent is the quotient of two specified numbers.
Definition: UtilMath.cs:1245
override int GetHashCode()
Returns the hash value (hash function) of the current matrix.
Definition: Matrix2DClass.cs:508
void PrettyPrintCharacter(char curChar, StringBuilder output)
Definition: JsonPPStrategyContext.cs:85
string Name
Definition: SampleClasses.cs:26
Matrix2d Normalized1()
Returns this matrix normalized with 1 norm.
Definition: Matrix2DClass.cs:564
string AnOutMathPath
File path of the analysis output file in standard IGLib format. Setter takes only pure file name,...
Definition: OptFileManager.cs:326
void ReferenceHessianPlain(IVector parameters, IMatrix hessian)
Calculates the second derivative (Hessian) of this function at the specified parameters in the refere...
virtual string RunFile(CommandThread cmdThread, string filePath)
Runs all commands that are written in a file. Each line of a file is interpreted as a single command,...
Definition: CommandlineApplicationInterpreter.cs:1242
string TypeAssemblyQualifiedName
Definition: SerializationDtoBase.cs:745
XmlNode _new
Definition: XmlUtilities.cs:2321
Interface for real functions.
Definition: FunctionReal.cs:43
void ClearDataColumnDefinitions()
Clears data column definitions.
Definition: SampledDataCsv.cs:1252
static string GetIglibVersion(int numLevels=2)
Returns version (from the file info) of the IGLib assembly.
Definition: UtilSystem.cs:3280
double _alphaMin
Definition: NeuralTrainingParameters.cs:1364
void AppendIndexComment(StringBuilder sb, string coponentBaseName, int index)
Appends comment that denotes the componenent index.
Definition: ScalarFunctionScriptLoader.cs:555
string CompleteCode
All valid user code inserted up to this point. Only code that compiled and executed without errors is...
Definition: ExpressionEvaluatorCompiled.cs:130
int NumIterations
Number of iteration used when generating keys.
Definition: UtilCryptoAux.cs:762
const string SystemHelpDomainName
Definition: ScriptAppBase.cs:3649
virtual int Id
Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual ...
Definition: UtilIdRegistration.cs:328
override int NumVolumes
Definition: Mesh.cs:161
void ClearResults()
Clears the results of grid generation (releases internal structures). The Calculated flag is set to f...
static Vector2d Create(double[] components)
Constructs a vector from a 1-D array.
Definition: Vector2Dclass.cs:266
const string NullString
String that is used to output null objects.
Definition: CollectionExtensions.cs:52
double[] Params2
Parameter values in the second coordinate direction of the mesh (only defined if the mesh is regular,...
Definition: StructuredSurfaceMesh3D.cs:37
string _initFunctionName
Definition: Loader.cs:638
bool _isInitialized
Definition: UtilCryptoAux.cs:730
override void CloseInput()
Closes the inpt stream.
Definition: ClientServerStreamBase2_Copy.cs:497
virtual void RespondToRequest()
Reads a single request from the client and sends back the response.
Definition: ClientServerStreamBase2_Copy.cs:733
Func2dBase _comp2
Definition: Function3d2d.cs:449
void LoadTrainingDataJson(string filePath)
Restores training data from the specified file in JSON format.
Definition: NeuralApproximatorBase.cs:1555
Script_CommandAdapter()
Definition: LoadableScriptBase.cs:485
string CssPath
Path to the associated CSS file (Cascaded Style Sheets).
Definition: HtmlWriter.cs:162
static X509Certificate2 GetCertificate(string privateKeyPassword=null, string certificateFilePath=null, string certificateName=null, string storeName=null, int storeLocation=(int) StoreLocation.CurrentUser|(int) StoreLocation.LocalMachine)
Obtains and returns the certificate specifid by parameters.
Definition: UtilCrypto.cs:4329
@ kg
Kilogram, an SI unit for mass.
Field()
Constructs a new empty field (no elements contained) with no name and no description.
Definition: FieldGeneric.cs:18
string _referencedVariableName
Definition: CommandlineApplicationInterpreterBase.cs:556
virtual string CmdUseJint(CommandThread cmdThread, string cmdName, string[] args)
Command. Prints and returns or sets and returns value of the flag that specifies whether the Jint eng...
Definition: CommandlineApplicationInterpreter.cs:4046
override StreamWriter OutputStream
Output stream of the server's named pipe.
Definition: IpcNamedPipes.cs:287
SampledDataSet(int inputLength, int outputLength)
Definition: SampledData.cs:101
void DoForParameters_CreateTable(List< NeuralTrainingParameters > trainingParameters, List< int > dimensions, int which)
Definition: NeuralTrainingParameters.cs:2033
void TrainNetwork()
Trains neural network until stopping criteria are met (in terms of errors and number of epochs perfor...
Definition: ColorScale.cs:45
Definition: UnitTest1.cs:5
virtual object FromXmlElement(XmlElement source, ref object initial)
Creates a new object and initializes it from an XML element.
Definition: Vartypes.cs:53
void AppendIndexComment(StringBuilder sb, string coponentBaseName, int index1, int index2)
Appends comment that denotes the componenent index.
Definition: ScalarFunctionScriptLoader.cs:567
virtual int NumConstraints
Number of constraints.
Definition: AnalysisResults.cs:295
void StoreDefinitionAndData(bool clearFirst)
Stores data definitions AND sampled data to the data table.
Definition: SampledDataCsv.cs:1921
PipeClientBase(string pipeName, string serverAddress, string requestEnd, string responseEnd, string errorBegin)
Constructs a new named pipe client with the specified pipe name, server address (DefaultServerAddress...
Definition: IpcPipes.cs:426
Interface for members of arrays in classes for testing serialization.
Definition: SerializerBase.cs:621
static void SaveRequestMath(this IAnalysisResults anres, string filePath)
Saves the current analysis request to a file. If the file already exists then it is overwritten....
Definition: AnalysisResults.cs:56
bool CheckOutputNameConsistency
Gets true if names in mappingdata file and names in definitiondata file are consistent.
Definition: NeuralMapData.cs:620
virtual bool GetCommandDelegate(string commandName, ref ApplicationCommandDelegateMt appDelegate)
Obtains and stores the delegate that is used for execution of the specified command,...
Definition: CommandlineApplicationInterpreter.cs:1598
void Report(ReportType messagetype, Exception ex)
Launches a report. Predominantly for error and warning reports.
Definition: ReporterMsg.cs:3228
int NumActualConstants
Gets the number of constants that define the current function. If e.g. the matrix coefficient or the ...
Definition: FunctionScalarExamples.cs:430
vec3[] _coord
Definition: GrObjects.cs:446
static IndexList CreateRandom(IRandomGenerator rand, int length, int upperBound)
Creates and returns an index list with the specified number of unique random indices in the specified...
Definition: IndexList.cs:118
static double Product(params double[] sampleElements)
Calculates and returns proudct of its arguments (or elements of the specified double array).
Definition: UtilMath.cs:698
static char _assemblySeparator
Definition: UtilSystem.cs:3580
int TextLoggerWrite(string str)
Writes a string to all text writers of the Writer's TextLogger subsystem.
Definition: ReporterMsg.cs:5431
MathNet.Numerics.LinearAlgebra.Factorization.QR< double > QRDecomposition_MathNetNumerics
Definition: MatrixDecompositions.cs:24
void Reset()
Resets all components of vector of minimal coordinates to BoundingBoxBase.UndefinedMin,...
mat2 Normalized1()
Returns this matrix normalized with 1 norm.
Definition: Matrix2D.cs:597
const string CryptoCheckSum
Definition: ScriptAppBase.cs:1153
void AppSettingsReadWarning(string groupname)
Launches an internal warning that the configuration settings belonging tot he specified group have al...
Definition: ReporterMsg.cs:2259
override double RefInverse(double x)
Returns inverse of the reference (untransformed) function.
Definition: FunctionRealWeight.cs:591
Surface that is a graph of the function z/c=x^2/a^2+y^2/b^2.
Definition: Function3d2d.cs:851
static void LoadJson(string filePath, ref NeuralTrainingLimits trainingLimits)
Restores (deserializes) an array of training parameters objects from the specified file in JSON forma...
Definition: NeuralTrainingParameters.cs:2579
static double Sum(params double[] sampleElements)
Calculates and returns sum of its arguments (or elements of the specified double array).
Definition: UtilMath.cs:673
static void MultiplyTranspMat(IMatrix a, IMatrix b, IMatrix result)
R=A^T*B Multiplies two matrices and stores the result in the specified result matrix....
Definition: MatrixBase.cs:2781
void SetMaxToleranceRelstiveToRange()
Updates the tolerances on max. abs. errors of outputs according to the relative tolerances (defined b...
Definition: NeuralApproximatorBase.cs:1134
int IntOpacity
Gets or sets the Opacity as integer in the range 0 to 255. Getter clips the returned value if it woul...
Definition: Color.cs:181
static void SetRandomPermutation(int length, int upperBound, ref IndexList indices)
Creates a random permutation of the specified length and stores them it the specified index list.
Definition: IndexList.cs:76
RealFunction[] _functions
Definition: FunctionReal.cs:1398
override int NumFaces
Returns the number of faces that the mesh has.
Definition: Mesh.cs:261
const double ConstE
Double constant E, the basis of natural logarithm (the same as Math.E).
Definition: Complex.cs:402
Simple command-line application interpreters, holds a set of commands that can be executed by name....
Definition: CommandlineApplicationInterpreter.cs:38
static void ReadPwd(ref byte[] passwordBytes, ref string passwordString, string passwordName="password", bool isStringForm=false, bool isByteform=false, bool isHexForm=false, bool isBase64Encoded=false, bool verify=true)
Reads a password, a key, or any other key - related string form the console.
Definition: UtilConsole.cs:696
MapImputElementDefinitionDto()
Definition: NeuralMapData.cs:98
static void Example()
Example for this class, just runs examples form the LinearBasis class.
Definition: ApproxBasis.cs:516
static void LdltInverse(IMatrix ldltMatrix, ref IVector auxX, ref IMatrix res)
Calculates inverse of the matrix from its specified LDLT decomposition.
Definition: MatrixBase.cs:6192
string Description
Definition: ModelParameterSetFixedBase.cs:134
static int numWarnCpu
Definition: UtilTime.cs:129
void AllocateConstraintsList()
Allocates space for list of constraint functions.
void Read()
Reads 3D vector components from a console.
Definition: Vector3Dclass.cs:562
virtual void AllocateRequested()
Allocates space for all requested result objects.
Definition: AnalysisResults.cs:846
Parameterized scalar functions with affine transformation of coordinates.
Definition: FunctionScalarParametric.cs:21
string[] _emptyCommandLine
Definition: CommandlineApplicationInterpreter.cs:1962
static void ExampleVectorArray(string filePath)
An example of using the ArrayDto<ElementType, ElementDtoType> for storing an array of vecctors into a...
Definition: ArrayDto.cs:128
virtual double Norm
Gets Euclidean norm of the vector.
Definition: VectorBase.cs:405
static bool operator>(Scalar a, Scalar b)
Definition: Scalar.cs:164
bool _isTestMode
Definition: ParallerJobDispatcherBase.cs:1034
IVector Max
Sets the vector of maximal values point coordinates. Needed for calculation of relative coordinate ve...
Definition: DistanceComparer.cs:59
Provides implementation of register of objects of the specified type. Also generates unique IDs for o...
Definition: ObjectRegister.cs:19
virtual TElement[] Values
Array of field values.
Definition: FieldGeneric.cs:70
string[] _independentVariableNames
Definition: ScalarFunctionScriptLoader.cs:153
virtual void EnterIf(CommandThread cmdThread, bool condition)
Enters the If block.
Definition: CommandlineApplicationInterpreter.cs:1009
static TypeConversionHelper TypeConversionHelperInstance
Definition: TypeConversionHelperObsolete.cs:26
override void WaitForConnection()
Waits until a client connects to the specified server pipe.
Definition: IpcNamedPipes.cs:198
SkipWhileNotInStringStrategy(char selectionCharacter)
Definition: SkipWhileNotInStringStrategy.cs:7
XmlNode NextElement(string NodeName)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2242
static bool IsTextFile(string filePath)
Detects if the specified file is a text file and detects the encoding.
Definition: UtilSystem.cs:4304
static void AddAssemblyResolutionPath(string path)
Adds a new directory where assemblies to be loaded are looked for.
Definition: UtilSystem.cs:2737
bool UseTrace
Definition: ReporterMsg.cs:156
Base class for graphic sets that contain groups of graphic primitives.
Definition: GraphicalObjectsBase.cs:22
int GetNewId()
Returns a new unique command ID (process-unique over all objects of this type and its subtypes).
Definition: IdGenerator.cs:56
char ForWhichCharacter
Definition: SingleQuoteStrategy.cs:14
override double ReferenceValue(IVector parameters)
Returns the value of this function at the specified parameter in the reference coordinate system.
Definition: FunctionScalarExamples.cs:739
SortedList< string, string > _script_CommandHelpStrings
Definition: LoadableScriptBase.cs:538
virtual void AddChildObject(GraphicObject grobject)
Adds a child object to the graphic object.
Definition: GrObjects.cs:218
static void GetApplications(string processName, bool caseSensitive, ref List< Process > processList)
Gets all applications with the specified proces name, and puts them to tehe specified list.
Definition: UtilSystem.cs:1077
override CommandLineApplicationInterpreter CreateInterpreter()
Creates and returns application's command-line interpreter.
Definition: LoadableScriptBase.cs:788
virtual string SystemFunctionMACAddress(string appName, string[] args)
Executes embedded application - writing to the console and returning the current domain name.
Definition: ScriptAppBase.cs:3755
static void Copy(long a, ref Counter res)
Copies a number to an (existing) counter in place.
Definition: Scalar.cs:438
int NumLogs()
Returns number of logs (of any type) that logger contains.
Definition: LoggerMsg.cs:406
virtual string GetCode()
Generates and returns script code for dynamically loadable function definition.
Definition: ScalarFunctionScriptLoader.cs:845
static string DefaultDescription(string name, Type type)
Generated default description of the parameterr object when it is not defined, using parameter's name...
Vector function containing quadratic basis in a n-dimensional vector space. Composed of (n+1)*(n+2)/2...
Definition: ApproxBasis.cs:270
string _msgResponseEnd
Definition: IpcStreamClientServerBase.cs:536
static double FifthDerivative7Point(DlgFunctionValue f, double x, double h)
Calculates the fifth order derivative of a function with a 7 point formula.
Definition: FunctionNumeric.cs:327
object ConvertRectangularArray(object value, Type targetArrayType)
Converts rectangular arrays to other arrays or flat collections.
Definition: CollectionTypeConverter.cs:452
static bool _defaultIsMultilineRequest
Definition: IpcStreamClientServerBase.cs:735
double _a1
Definition: FunctionRealInterpolation.cs:987
string _language
Definition: ExpressionEvaluatorCompiled.cs:79
bool ReqConstraints
Indicates whether calculation of constraint functions is/was requested.
Definition: AnalysisResutlsInt.cs:357
virtual int Index
Index of the current point in the original list of points where it can be accessed.
Definition: PointContainer.cs:239
string _templateInputPath
Definition: SimKosecFileManagerBase.cs:266
virtual double StartParameter
Definition: LissajousKnot3D.cs:74
virtual void SetScriptArgument(int whichArgument, string argumentValue)
Sets the specified script argument; updates array of arguments for running script directly as well as...
Definition: ApplicationCommandLineBase.cs:261
string TypeName(Type type)
Returns name of the specified type type , dependent on the property OutputFullTypeNames: if it is tru...
Definition: BasicTypeConverter.cs:100
IVector GetPointCoordinates()
returns vector coo-rdinates (or input parameters) of the point contained in the current container.
FieldCollection2d< TVectorField, TVector > _vectorFields
Definition: StructuredMesh2dGeneric.cs:379
vec2 _b
Definition: Function2d.cs:552
UnstructuredMesh3d(int numElements)
Creates a new unstructured mesh with the specified number of elements.
Definition: UnstructuredMesh3dGeneric.cs:41
XmlNode NextNode(string NodeName, string NodeValue)
Moves the current node to the first sibling node after the current node that satisfies the specified ...
Definition: XmlUtilities.cs:2168
string _simulationDataDefinitionFilename
Definition: NeuralFileManager.cs:132
Vector3d(double comp)
Initializes all component of a 3D vector with the specified value.
Definition: Vector3Dclass.cs:199
IVector _tolRmsRelative
Auxiliary properties for defining tolerances in a relative way:
Definition: NeuralTrainingParameters.cs:1532
ParametricSurface()
Base class for classes that define various parametric surfaces.
Definition: Function3d2d.cs:712
void ExecutePrintyPrint(JsonPPStrategyContext context)
bool CompareSumResiduals
Whether sum of constraint residuals is compared.
Definition: AnalysisComparer.cs:134
virtual bool BFlag
Definition: SerializerBase.cs:751
Definition: HashCodeHelper.cs:37
override string ToString()
Definition: UtilIdRegistration.cs:352
virtual TScalarField CreateScalarField(string fieldName, string fieldDescription)
Creates and returns a new scalar field of dimensions that match dimensions of the current structured ...
Definition: StructuredMesh3dGeneric.cs:315
const string AnInMathFileName
Default file name of analysis input file in standard IGLib format.
Definition: OptFileConst.cs:33
VectorDtoBase ToleranceRmsRelativeToRange
Relative tolerances on RMS errors of outputs over training points, relative to the correspoinding ran...
Definition: SerializationDtoNeural.cs:91
static string DefaultKeyNumOutputValues
Default key for introduction of number of output parameters.
Definition: SampledDataCsv.cs:131
bool _mathNetNumericsConsistent
Definition: Vector.cs:364
int _d1
Definition: StructuredField3dGeneric.cs:160
CommandLine GetCommand(string commandName)
Returns the command that is registered under the specified name, or null if there is no such command.
Definition: InterpreterCommandLine.cs:315
static bool TestMatrixProducts(double tolerance)
Tests various matrix and vector products, without printing reports.
Definition: MatrixBase.cs:7543
virtual String ErrorString
Error string indicating what went wrong.
Definition: FunctionScalarResults.cs:470
Definition: ExampleTestClass.cs:20
string[] GetCommands()
Returns an array of installed commands.
Definition: CommandlineApplicationInterpreter.cs:1573
object _mainLock
Definition: Optimizer.cs:108
override double RefSecondDerivative(double x)
Returns the second derivative of the given order of reference (untransformed) function.
Definition: FunctionRealInterpolation.cs:181
virtual int Id
Returns unique Id (in the scope of a given type) of the current object. Method is defined as virtual ...
Definition: InterpreterCommandLine.cs:66
double _minY
Definition: Function3d2d.cs:724
Constants used in definition of optimization servers and clients working through file system.
Definition: OptFileConst.cs:20
bool _isExportPrivateKey
Definition: UilCryptoAux1.cs:180
void StandardSpeedTestGeometricSeries_DirectElementCalculation_HpLaptop24()
Performs the stanard speed test with calculation of a finite geometric series, with standard paramete...
Definition: SpeedTests.cs:63
TIndexField ActiveIndexField
Gets active index field. Has protected setter.
Definition: StructuredMesh2dGeneric.cs:90
double Z
3rd component.
Definition: Vector3Dclass.cs:366
virtual int MappedElementIndex
Specifies the mapped index of the element described by the current definition, within the data vextor...
Definition: NeuralMapData.cs:379
virtual void SetConstraint(int which, double value)
Sets the specified constraint function value.
Definition: AnalysisResults.cs:563
string _mappingDefinitionPath
Definition: NeuralFileManager.cs:854
override double RefValue(double x)
Returns the value of reference (untransformed) function.
Definition: FunctionRealBasic.cs:398
string ToGltfJson(int index)
Generates a GLTF-compatible JSON snippet for the light.
Definition: LightSource.cs:57
mat3 Inv
Gets inverse of the current matrix.
Definition: Matrix3D.cs:756
abstract void DestroyNetwork()
Destroys the neural network.
string MsgOptBusyPath
File path of the optimization busy flag file. Setter takes only pure file name, without path informat...
Definition: OptFileManager.cs:487
void SetInputFieldValue(string fieldName, string fieldValue)
Sets the sepcified input field to the specified value. This is done by appending a corresponding text...
Definition: SimKosecFileManagerBase.cs:1124
int _numPasswordIterations
Definition: UilCryptoAux1.cs:343
static mat3 operator*(mat3 a, mat3 b)
Matrix multiplication in 3D.
Definition: Matrix3D.cs:1002
override VectorBase GetNewBase(int length)
Creates and returns a new vector of the specified dimension in such a way that the type of the return...
Definition: Vector.cs:474
static int Read(ref Scalar result, string str, int startpos, bool skipspaces)
Reads a scalar from a string, starting at a specified position. Returns the position of the first cha...
Definition: Scalar.cs:264
bool IsRunnable
Either or not the script can be run (some scripts only support other tasks).
Definition: LoadableScriptBase.cs:133
static xdouble Tan(xdouble a)
Returns the tangent of the specified angle.
Definition: UtilMath.cs:1830
void AddPlainTextLine(string text)
Adds a line of plain text to HTML (without any markup, unless contained in the text string),...
Definition: HtmlWriter.cs:489
const string ArgBinaryOutputFormatHex
Binary output format (and possibly input, if not specified separately) used is hexadecimal.
Definition: UtilCryptoAux.cs:509
const string FileHelpCurrentDirectory1
Definition: ScriptAppBase.cs:937
string Run(CommandThread commandThread, string commandName, string[] args)
Runs the command with specified name, installed on the current application object.
vec3[] _coord
Definition: GrObjects.cs:418
const double UndefinedMin
Definition: BoundingBox.cs:396
bool HasGenericConverter< SourceType, TargetType >()
bool SetWriter(string filename, bool append, bool writeintro, bool disposewriter)
Creates a TextWriter upon a file and sets it as the text writer to which reporting is also performed....
Definition: ReporterMsg.cs:3687
static string CsvSeparator
Definition: UtilCsv.cs:26
bool RequestedObjectiveHessian
Flag indicating whether calculation of objective function Hessian is required or not.
Definition: AnalysisResultsDto.cs:102
MatrixDtoBase()
Default constructor, sets IsNull to true.
Definition: MatrixDto.cs:36
object Convert(object source)
IBoundingBox InputNeuronRange
Bounding box from actual inputs.
Definition: NeuralTrainingParameters.cs:250
Definition: Complex.cs:17
IParserState Clone()
Returns a clone of the current parser state.
Definition: ParserStateStruct.cs:13
int _numValues
Definition: VectorFunctionScriptController.cs:96